I'm playing with both the HA VoicePE and Alexa for voice control of my HA system. I would like to be able to trigger an HA automation to execute with an Alexa voice command. One way I've thought of doing this is to:
- Create a virtual HA switch and enable Alexa control of it
- Create an Alexa routine triggered by a specific phrase that turns the switch on/off
- Create an automation that is triggered when the switch turns on.
While this will work, the downside is that Alexa gets cluttered with a bunch of virtual switches that someone could accidentally trigger through a voice command (i.e. "turn on the virtual switch") or through the UI on an Echo Show.
I'm curious if anyone has a better way of accomplishing this?
Thanks in advance for your help