How to make a voice command turn a relay on and off another command and another relay
Opened this issue · 2 comments
Guiimartinho commented
larryl79 commented
I can't read text on your picture, but I think you have to create your own device, only this is the way to make update to alexa.
Aircoookie commented
You can get a pointer to the other devices (ventilador 2 or 3) and turn them off in devFunc1Changed()
. For example, espalexa->getDevice(1)->setState(false)
will turn off ventilador 2.