github Nerwyn/android-tv-card 3.2.0-beta.004
3.2.0 - Better Buttons With Home Assistant Actions - Beta 4

latest releases: 4.2.0, 4.2.0-beta.001, 4.2.0-alpha.031...
pre-release11 months ago

Do more with buttons!

This release is focused on improving buttons and custom actions. Custom actions now follow Home Assistant actions syntax, and supports a subset of actions defined there along with the key and source actions from this card. Confirmations are also supported.

The following actions are supported:

  • key
  • source
  • call-service
  • navigate
  • url
  • none

Buttons now support not only tap actions, but double tap and hold actions! Just like the touchpad center tap. The touchpad center double tap and hold actions are now configured in this way, and the old separate fields for enabling and remapping center taps have been deprecated. Also, double tap actions on buttons now work on iPhone!

custom_actions:
  light_color:
    icon: mdi:lightbulb{{ "-outline" if is_state("light.sunroom_ceiling", "off") }}
    style:
      color: rgb({{ state_attr("light.sunroom_ceiling", "rgb_color") }}
    tap_action:
      action: call-service
      service: light.turn_on
      data:
        entity_id: light.sunroom_ceiling
        color_name: red
    hold_action:
      action: call-service
      service: light.turn_on
      data:
        entity_id: light.sunroom_ceiling
        color_name: blue
    double_tap_action:
      action: call-service
      service: light.turn_on
      data:
        entity_id: light.sunroom_ceiling
        color_name: green

Other changes:

  • Remapped hold actions do not add hold_secs: 0.5 to remote.send_command service calls.
  • Deprecated options:
    • enable_double_click and double_click_keycode - touchpad double tap is now enabled and reassigned by creation a custom action for center and creating a double_tap_action.
    • long_click_keycode - now reassigned by creating a custom action for center and creating a hold_action.
    • custom_keys and custom_sources - are now just custom_actions.

Full Changelog: 3.1.3...3.2.0-beta.005

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

NewReleases is sending notifications on new releases.