I’m trying to invoke a Hue Scene via Alexa with a Hass.io script, but with no success. The script appears to run successfully (Alexa chimes happily) but the lights don’t change. I’ve tried executing the script from Alexa (verbally), Alexa’s iOS app (manually executing the respective ‘routine’), and from Home Assistant’s Overview page, where there’s a slider (presumably, to enable execution of the script) and an Execute button. None produce any change in the lights.
This is my first script, but comes from various examples published in these forums and elsewhere. Here’s my cloud.yaml file:
alexa:
filter:
include_entities:
- light.den_accent_1
- light.den_accent_2
- light.den_accent_3
- light.den_aquarium_1
- light.den_aquarium_2
- light.den_couch_1
- light.den_couch_2
- light.den_couch_3
- light.den_couch_4
- light.den_couch_5
- light.den_path_1
- light.den_path_2
- light.den_path_3
- light.den_path_4
- light.den_path_5
- light.den_path_rear_1
- light.den_path_rear_2
- group.den
- script.judo
And here’s my scripts.yaml file:
judo:
sequence:
- service: hue.hue_activate_scene
data:
group_name: "Den"
scene_name: "Judo"
I have verified that all of the Hue lights specified in cloud.yaml appear in HA’s entities list. [There is also a light.den entity with is_hue_group = true. I’m guessing this can be ignored since it’s not a native HA entity and because the script sends the group name as a parameter.]
I have also verified that the Home Assistant Cloud page shows all of the aforementioned entities in the Alexa card.
In the Philips Hue iOS app, there is a room called “Den” with a scene called “Judo.”
In the Amazon Alexa iOS app, there is a routine called “Den Judo” with these parameters:
- When you say: “Alexa, den judo”
- Alexa will: turn on judo (chosen from the list of scenes at Smart Home > Control scene > judo)
Of course, the Alexa routine is sorta irrelevant because things still don’t work if I skip it and just say, “Alexa, turn on Judo” or execute it from the iOS app or HA.
What am I doing wrong? Any advice is appreciated.