github Nerwyn/android-tv-card 2.2.0

latest releases: 4.1.2, 4.1.2-alpha.001, 4.1.1...
8 months ago

Nothing major, just some refactors and QOL improvements.

  • Reduce padding on rows and columns, add gap between cards in rows, and remove dpad spacers to improve dpad appearance
  • Accept the data and target fields for custom keys and sources, allowing users to easily copy service YAML from the Home Assistant service developer tool.
    • The service_data field has been soft deprecated in the documentation but still works, and so should existing custom keys and sources.
    • target, data, and service_data all get merged into one object due to how hass.callService works, so you can put all of the data into one object with any of these names if you wish.
  • Refactor
    • Use static get styles instead of including in render.
    • User Record<string, IKey | ISource | ICustomAction> instead of creating separate interfaces for keys and sources objects.
    • setConfig logic improved which should help prevent some issues such as incorrect volume icons being used when alt_volume_icons is enabled or the volume slider not rendering (I hope).

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

NewReleases is sending notifications on new releases.