Toggle Device State
under review
s
schmidtzen@gmail.com
I have a button connected to home assistant that i'd like to use to turn on/off a light. The light is locked into the alexa echosystem, so no way to import it directly into home assistant unfortunately. I'd like to also be able to turn the light on/off with alexa voice commands. The issue I have is that there is no option in Alexa routines to toggle the current state of the device - a routine can only turn the device on or turn it off. Is there any way for voicemonkey to read the state of the bulb from alexa? Alternatively, is there a way to set up a routine to update voicemonkey when the bulb is turned on or turned off so voicemonkey can keep a record of the state?
C
Christian
Hi.
This is a tricky one...Voice Monkey can't read the state of the bulb unfortunately.
Neither HA or VM knows the state of the bulb at any time so it makes it very difficult.
VM variables could be used but at the moment we don't support a Toggle mode...you would need to specify the variable to be "on" or "off".
I'll need to have a think about this one, sorry it's not more straightforward.
Christian
C
Christian
marked this post as
under review