ljmerza / light-entity-card

Control any light or switch entity
MIT License
237 stars 40 forks source link

Add effect dropdown #3

Closed firstof9 closed 5 years ago

firstof9 commented 5 years ago

Would love to see the effect drop down tied to an input_select entity.

ljmerza commented 5 years ago

can you give an example of a use case for input_select with this card? I've never used that entity type before.

firstof9 commented 5 years ago

I have an input_select setup with a list of effects I've programmed into an LED strip. Basically just like in your picture, but a config option for using the input_select to populate the values.

image

aidbish commented 5 years ago

isnt the effect list already in the card

firstof9 commented 5 years ago

@aidbish not in the way i'm suggesting

ljmerza commented 5 years ago

I added this functionality in 1.3.0. See readme for details. Let me know if you have any issues thanks!

views:
  - type: custom:light-entity-card
    entity: light.downstairs
    effects_list: input_select.custom_effect_list