This repository is now on HACS 🎉 !
To commemorate this, I worked on another massive refactor/rewrite that I had been procrastinating on to make this project easier to maintain and add new features to.
- Rewritten so that all buttons, the slider, and the touchpad are their own lit elements.
- Greatly improves the stability and reliability of the slider as it is now native to the card.
- No longer requires another add-on.
- Slider is now animated.
- Slider range can be changed using the option
slider_range
. - Slider's purpose can be changed by creating a custom key for
slider
.
- Touchpad haptics can now be disabled separately from buttons.
- Additional convenience shorthands for special elements.
vol_buttons
,volume_buttons
.dpad
,d_pad
,direction_pad
,nav_buttons
,navigation_buttons
.slider
,volume_slider
.touchpad
,nav_touchpad
,navigation_touchpad
.
- Better styling options for everything.
button_style
for all buttons,slider_style
for the slider, andtouchpad_style
for the touchpad.style
within custom keys and sources for individual buttons.- Touchpad and slider colors now follow your Home Assistant theme.
- You can set them to static colors or other CSS variables with the above options.
Deprecated options:
touchpad_height
still works but gets copied totouchpad_style.height
.alt_volume_icons
has been completely removed.- The volume buttons now use the closest material icon equivalents as defined by Google Fonts.
- You can still change these icons by creating custom keys.
- Many card mod configurations no longer work since all buttons/slider/touchpad have been moved to their own lit elements, which places them in shadow doms.
- You should be able to make the same style changes using the above style options, and the README examples have been updated to do so.
- If you find that you cannot, let me know so that I can help or improve the style options.
slider_config
has been completely removed.- Use
slider_style
instead.
- Use