#Create list of dropdown scenes

1 messages · Page 1 of 1 (latest)

hybrid falcon
#

I'm wanting to create a scene selector for different Hue scenes that I can see in my HA through the native integration, however I'm at a loss with out to create an input_select/select entity (helper?) to be able to give it a dropdown in a bubble card to select which scene. Thanks in advance!

topaz crow
#

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

hybrid falcon
#

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?

topaz crow
#

You can test your filter in developer tools

hybrid falcon
#

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