2.0.7 bug; Maker API “toggle” option gone?

The toggle API option once worked, but no longer does.

I get this:
Device not found or not authorized to send that command

“commands” api call shows this, but toggle has always worked. The device type is a switch.

[
{
"command": "off",
"type": [
"n/a"
]
},
{
"command": "on",
"type": [
"n/a"
]
},
{
"command": "push",
"type": [
"n/a"
]
}
]

There have been no changes to Maker API. if you are sending the command toggle, the driver would have to support it. What driver is this?

Type is “Scene Activator”

I stand corrected. There was a small change to Maker API to only support commands available on the device. This did not make it into the release notes.

Toggle is not a valid command so it is not supported by the device.

I will put in a request to allow toggle back in to Maker API, since it is a simple on/off action.

3 Likes

Thanks! Not sure if toggle was an advertised feature but I use it to turn a button into controlling a switch.

Was this ever actioned or was it decided not to be?

Issuing the command 'toggle' does work, but it seems to be undocumented.

1 Like