A button card with integrated slider
New feature to lock the button, requiring a click or touch to unlock the button/slider to prevent accidental touch or click. Use the visual editor or add the following in yaml:
slider:
lock:
enabled: true
duration: 5
Add translations for:
Thanks to @red-machine95
Fix background gradient rendered from red on iOS Fix custom styles css vars required !important;
Lock entities are now supported. Also the readme is updated with yaml examples.
The climate
domain now supported.
min
value for slider = entity min_temp
. Override manually via yaml slider.min
.max
value for slider = entity max_temp
. Override manually via yaml slider.max
.Add config option compact
which defaults to false
.
Display name and state inline with icon, this way the button has a compact height.
Mostly useful for full width cards.
Add slider.invert
config option. Default for cover
is true
, for all other domains false
.
Fixes problems with cover entities using different percentages for open / close state.
No Visual editor option yet, needs to be set via yaml for now.