Hi all,
I have read a lot on the Alexa announcement trigger from home assistant subject. A lot of it requires a lot of work around and custom scripts etc of which I could not get any of it working no matter what I tried. I am running home assistant on a raspberry pi running Raspbian Jesse and it is installed in a python virtual environment.
Over the weekend I stumbled upon something interesting. I created a template window sensor (opening device class) and triggered it based on whether I switch a particular light switch on or off. this works flawlessly. I imported the device into Alexa through home assistant cloud and what do you know? The device is there and also updating in the Alexa app as I switched the light on and off in home assistant. The sensor showed opening/closing in the app.
Here’s the kicker. When I created a new routine with the trigger set to this device, I COULD PICK THE DEVICE IN THE LIST!! Something that I gathered was not working through home assistant cloud. I created a new routine, and under “when this happens” I picked “device” and my dummy sensor. Under actions, I chose speak and entered a phrase.
So now we have a routine set up that is supposed to trigger on the working sensor in the Alex app. The problem is, the routine does not fire when the sensor state changes.
I do believe this is more of an issue in the Alexa app rather than with home assistant, the sensor or home assistant cloud. Thoughts?
Has anyone managed to get something like this working in the fashion outlined above without using custom scripts etc?
Looking forward to the responses.
Thanks
J