Defining a command in the device type metadata

What arguments are supported when defining a command in the metadata?

command <command_name>
command <command_name> [ "STRING | NUMBER | VECTOR3 | ENUM | JSON_OBJECT(?)", ... ]

For an enum, is there a way to define the values like there is for inputs? The capabilities doc lists values for some of the commands, but it’s not clear whether there’s an enum parameter type behind it, or if it’s just a list of strings that will work. That may be all that the enum type is anyway, but if it makes my code easier to read, I’ll go the enum route.



Well, at least I’m not missing something that’s obvious to everyone else.

Did you ever figure this out?

I think so. Sort of. It’s been a while since I messed with it (more than a year).

At that time, at least, it looks like the answer was no when it came to the command definition.