light-entity-card
                                
                                 light-entity-card copied to clipboard
                                
                                    light-entity-card copied to clipboard
                            
                            
                            
                        Control any light or switch entity
Light Entity Card
Control any light/switch entity through lovelace
Support
For help, visit the light entity support thread here
 
Features
- Works on any light and switch based entity
- Toggle on/off
- HS Color wheel
- Color temperature and white value support
- Support for configured language
- Compact card support for grouped entities
- use persist_features: trueto always show entity features
- use effects_listto add custom effects list or useinput_selectentity
- always show or hide header and each input
Installation
Add through HACS
Issues with the installation should be asked in the Home Asssitant forums
Configurations
type: custom:light-entity-card
entity: light.downstairs
type: custom:light-entity-card
entity: light.downstairs
effects_list:
  - effect1
  - effect2
type: custom:light-entity-card
entity: light.downstairs
effects_list: input_select.custom_effect_list
type: custom:light-entity-card
entity: light.downstairs
group: true
Options
| Name | Type | Requirement | Default valueDescription | 
|---|---|---|---|
| type | string | Required | custom:light-entity-card | 
| entity | string | Required | The entity name of the light entity to control | 
| shorten_cards | boolean | Optional | falseshow a compact version of the card | 
| consolidate_entities | boolean | Optional | falseif entity is a group you can consolidate all entities into one | 
| persist_features | boolean | Optional | falsealways show entity features | 
| effects_list | list/string/boolean | Optional | custom list of effects, an input_select entity, or set false to always hide | 
| header | string | Optional | custom header name | 
| hide_header | boolean | Optional | falsehides the entity header of the card including toggle | 
| show_header_icon | boolean | Optional | falseshows the entity icon of the card including toggle | 
| brightness | boolean | Optional | trueshow brightness slider if available | 
| color_temp | boolean | Optional | trueshow color temp slider if available | 
| white_value | boolean | Optional | trueshow white value slider if available | 
| color_picker | boolean | Optional | trueshow color picker wheel if available | 
| speed | boolean | Optional | falseshow speed slider if available | 
| intensity | boolean | Optional | falseshow intensity slider if available | 
| force_features | boolean | Optional | falseforce showing all features in card | 
| full_width_sliders | boolean | Optional | falsemakes slider the full width of card | 
| brightness_icon | string | Optional | weather-sunnychange the brightness slider icon | 
| white_icon | string | Optional | file-word-boxchange the white slider icon | 
| temperature_icon | string | Optional | thermometerchange the temperature slider icon | 
| speed_icon | string | Optional | speedometerchange the speed slider icon | 
| intensity_icon | string | Optional | transit-connection-horizontalchange the intensity slider icon | 
| show_slider_percent | boolean | Optional | falseshow percent next to sliders | 
| child_card | boolean | Optional | falseremove padding/margin to make this card within another card | 
Enjoy my card? Help me out for a couple of :beers: or a :coffee:!
