thank you!
does the title: value:
create the title of the tile, and select the option for the input_select? In which case that might be a bit troublesome since the options aren’t necessarily the same as the title of the tile… as you can see in my setup below title is Arctic (to fit the tile) while the option is ‘Arctische dageraad’
for now Ive replaced the input_select with an extra script calling the input_select:
type: custom:tiles-card
legacy_config:
columns: 4
text_uppercase: false
# column_width: 50px #minmax(75px, 75px)
# icon_size: 50px
row_height: 50px
entities:
- entity: script.tiles_set_hue_scene
label: Arctic
data: {option: 'Arctische dageraad'}
style_template: >
if (entities['input_select.hue_scenes'].state === 'Arctische dageraad') return '--tiles-label-color: black;background-size: contain;background-color: #00d0a0';
return '--tiles-label-color: grey;background-size: contain; background-color: #555B65';
image: /local/hue_scenes/arctic.png
with script:
tiles_set_hue_scene:
alias: Tiles set Hue scene
sequence:
service: input_select.select_option
entity_id: input_select.hue_scenes
data_template:
option: >
{{ option }}
was a bit of a search to find the way to colorize the text, but I’ve reached this result:
will see what the new code will do.
thanks again!