Releases: mattieha/slider-button-card
Add lock option for 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 German and Korean translations
Add translations for:
- German, thanks to @frauhottelmann
- Korean, thanks to @JoshandNancy
Add Portuguese translation
Thanks to @red-machine95
Fix gradient on iOS and custom css vars
Fix background gradient rendered from red on iOS
Fix custom styles css vars required !important;
Add support for lock entities, examples added to readme
Lock entities are now supported.
Also the readme is updated with yaml examples.
Add support for climate entities
The climate
domain now supported.
min
value for slider = entitymin_temp
. Override manually via yamlslider.min
.max
value for slider = entitymax_temp
. Override manually via yamlslider.max
.
Add compact mode
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.
Possible fix for cover invert
v1.7.1-beta fix: cover invert
Add invert option for covers
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.
Add support for climate entities
v1.7.0-beta fix: correct label