[Disclaimer: I used the bug report template for this before I discovered I have an alternative. I am not 100% sure this is a bug. It could just be that I am not using it right. The template helps either way.]
Describe the bug
I have created a device of type Smart Switch and am trying to update its status from Node Red. But it doesn't seem to work.
The connection is sucesful and, when toggling the state from Google Home, I receive the changes in Node Red with the receiving node.
[Disclaimer: I used the bug report template for this before I discovered I have an alternative. I am not 100% sure this is a bug. It could just be that I am not using it right. The template helps either way.]
Describe the bug I have created a device of type Smart Switch and am trying to update its status from Node Red. But it doesn't seem to work. The connection is sucesful and, when toggling the state from Google Home, I receive the changes in Node Red with the receiving node.
To Reproduce
[{"id":"944a5492c614d998","type":"inject","z":"c569b4a789aacc8e","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":480,"y":260,"wires":[["529e95f20d5f9dcf"]]},{"id":"529e95f20d5f9dcf","type":"function","z":"c569b4a789aacc8e","name":"OFF State","func":" return { \"payload\" : { \"state\" : { \"power\" : \"OFF\" } }, \"acknowledge\" : \"true\"};","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":740,"y":260,"wires":[["9b91d17c7b6a0542","f7f61df33f02d819"]]},{"id":"9b91d17c7b6a0542","type":"debug","z":"c569b4a789aacc8e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1020,"y":360,"wires":[]},{"id":"4e41633f06ae663b","type":"alexa-smart-home-v3","z":"c569b4a789aacc8e","conf":"57de98a4496ba219","device":"<device>","acknowledge":true,"name":"Device1","topic":"","x":480,"y":360,"wires":[["9b91d17c7b6a0542"]]},{"id":"f7f61df33f02d819","type":"alexa-smart-home-v3-state","z":"c569b4a789aacc8e","conf":"57de98a4496ba219","device":"<device>","name":"Device1","x":1020,"y":260,"wires":[]},{"id":"57de98a4496ba219","type":"alexa-smart-home-v3-conf","username":"<hidden>","mqttserver":"mq-red.cb-net.co.uk","webapiurl":"red.cb-net.co.uk","contextName":"memory"}]
Expected behavior When I trigger the inject node, the state of the switch in Google Home should change (I think).
Log Output
Environment (please complete the following information):
Additional context Add any other context about the problem here.