Having gotten fed up of Alexa forgetting devices and routines stopping running, I’ve moved across to a HA Yellow and ported all of my devices across.
Activating lights via motion sensors, switching them off again after set times or lack of motions, etc works fine, as does asking Echo/Alexa to switch on or off a certain light or plug socket.
Previously, with Alexa, I had customer sentences set to trigger a sequence of events. For example: “Alexa, goodnight” would switch off all the downstairs lights, stop any music, switch on the staircase lights, and start the robot vacuum cleaner.
I cannot figure out how to recreate this functionality via HA, or if it is even possible.
I would like to create a custom sentence, which I can say to any Alexa device, have it passed to HA, and have HA trigger automations or scripts. Can this be done, currently?