- Notifications
You must be signed in to change notification settings - Fork133
🔹 Add sliders to entity cards
License
NotificationsYou must be signed in to change notification settings
thomasloven/lovelace-slider-entity-row
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Add a slider to rows in lovelaceentities cards.
Install using HACS orsee this guide.
Add this to anentities card:
type:entitiesentities: -light.bed_light -type:custom:slider-entity-rowentity:light.kitchen_lights
entity can be an entity in one of the following domains:
light- set brightnessmedia_player- set volumeclimate- set temperaturecover- set positionfan- set speed (assumes first setting isoff)input_number- set value (only ifmode: slider)input_select- select optionnumber- set valuetimer- set number of seconds remaining
If you want to control more than one entity with the same slider, uselight group,cover group or a custom madetemplate entity.
Available options:
| Option | Values | Description | default |
|---|---|---|---|
min | number | Minimum value of slider | |
max | number | Maximum value of slider | |
step | number | Step size of slider selection | |
toggle | true/false | Show a toggle or mute button if possible | false |
hide_state | true/false | true: Do not display the current statefalse: Always display current state - even when the card is too narrow for it to be usable | none |
hide_when_off | true/false | true: Hide slider when state is offfalse: Always display slider | false |
grow | true/false | Make the slider as wide as possible (which is really just a little bit wider) | false |
full_row | true/false | Hide the icon and name and stretch slider to full width | false |
show_icon | true/false | Show an icon whenfull_row is true. This icon is NOT clickable | false |
attribute | (see below) | Which attribute the slider should control | |
colorize | true/false | Colorize the bar (only for some attributes) | false |
dir | ltr/rtl | Use this to override your languages Right-To-Left or Left-To-Right setting | language |
Most general Entities row options likename,icon andtap_action et.al. are also supported.
YAML code for screenshot above
type:entitiestitle:Optionsentities: -type:custom:slider-entity-rowentity:light.bed_lightname:Default -type:custom:slider-entity-rowentity:light.bed_lightname:toggletoggle:true -type:custom:slider-entity-rowentity:light.bed_lightname:hide_statehide_state:true -type:custom:slider-entity-rowentity:light.ceiling_lightsname:hide_when_offhide_when_off:true -type:custom:slider-entity-rowentity:light.ceiling_lightsname:hide_when_off + togglehide_when_off:truetoggle:true -type:sectionlabel:full_row -type:custom:slider-entity-rowentity:light.bed_lightname:hide_statefull_row:true
Currently, the following attribute settings are supported.
Forlight domain:
brightness_pct- defaultbrightnesscolor_temphuesaturationredgreenblueeffectwhite- for RGBW lights onlycold_white- for RGBWW lights onlywarm_white- for RGBWW lights only
Forcover domain:
position- defaulttilt
About
🔹 Add sliders to entity cards
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.



