#Create list of dropdown scenes
1 messages · Page 1 of 1 (latest)
You're on the right track. I played around with this today.
If you go here: https://my.home-assistant.io/redirect/helpers/ You'll be able to create the dropdown helper, including a list of all of the scenes names. Important to note you're NOT linking anything to your lighting at this point.
Then you can make an automation with each of your drop down options as trigger actions with a trigger ID. Then you use an action of choose and have one choice for each scene you want to control. In my example code, I'm just turning lights on and setting a color, you could also just set a lighting scene.
Here's my example automation:
https://dpaste.org/Cw589
dashboard (tile card):
dropdown helper config
It appears this may be possible to be done dynamically to automatically pull in all scenes - https://community.home-assistant.io/t/creating-an-input-select-control-using-data-from-light/685846/7:
I created a (select) template with the options in screenshot 1
From there I can see the Scene list populated in screenshot 2
However, when I select a scene, I get the error, "Failed to perform the action select/select_option. must contain at least one of entity_id, device_id, area_id, floor_id, label_id." in screenshot 3. I'm assuming this means I'm gathering it correctly but maybe the formatting of the actions is incorrect?
You can test your filter in developer tools
I'm using the select template editor, how can I test this in developer tools? I can only see how to paste in YAML into a template editor