github Nerwyn/android-tv-card v3.0.4
v3.0.4 - Yet Another Massive Refactor That Adds Stability and Future Proofing

latest releases: 4.0.5, 4.0.5-alpha.009, 4.0.5-alpha.008...
10 months ago

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, and touchpad_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 to touchpad_style.height.
  • alt_volume_icons has been completely removed.
  • 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.

Patch version changes:

  • Better logic for copying deprecated field touchpad_height to new field touchpad_style.height.
  • Set fallback value to original color for touchpad background in case --secondary-background-color is unset by theme.
  • New custom sources with SVG icons:
    • videoland
    • skyshowtime
    • rakutentv
    • rakutenviki
  • Fix haptics toggles so haptics can now be disabled.

Don't miss a new android-tv-card release

NewReleases is sending notifications on new releases.