android-tv-card
android-tv-card copied to clipboard
Massive Refactor - Custom Action Feature Types
Is your feature request related to a problem? Please describe. Only one slider and touchpad are allowed per remote. There are good use cases for multiple touchpads and sliders.
Describe the solution you'd like
- All custom actions should get a type field with possible values
button
,slider
, ortouchpad
. This should allow for the creation of multiple sliders and touchpads. - Deprecated field logic for touchpad and slider fields outside of custom actions, like touchpad style and slider ID.
- Add labels and icons to all features.
- Remove dependency on all HA custom elements except for
ha-icon
. - Need to move all internal value logic from slider to base class, like it is in service call tile feature.
- Touchpad actions (center, up, down, left, right) would have to be redefined within the touchpad custom action rather than using button actions
- Except for default
touchpad
option which would use button actions.
- Except for default
- A configuration UI.
Describe alternatives you've considered Multiple remote cards in a stack, but this doesn't work for multiple of the same element in a row.
Additional context I should be able to reuse and unify logic from/with service-call-tile-feature.