ha-nunjucks
update
- More efficient label registry creation and has template check.
- New functions/filters
number_translated
,date_translated
,time_translated
, anddatetime_translated
.
Slider refactor
- Uses a separate thumb element with an active area instead of re-styling the underlying input range.
- Makes use of CSS translations and transformations instead of changing the value of the input range, making it much more efficient.
New platforms Philips TV
and Generic Remote
#192 #200
- Add
device
general text input forUnified Remote
andGeneric IR/RF
platforms.- Replaces using
remote_id
forUnified Remote
(⚠️ minor breaking change). - Used to provide
device
field forGeneric IR/RF
commands.
- Replaces using
New Remote Element - Circlepads #197
- Five large stylized buttons that look like the Google TV app navigation buttons.
- Each button is a remote button and can be customized as such.
Control remote elements using keyboard #198
- Buttons can be assigned a keyboard key, which will trigger the button when pressed.
- Arrow keys and space/enter will trigger the first circlepad or touchpad in the card if no button is triggered.
Ease of use
- Only show valid inputs for selected platform in general tab.
- Remove
keyboard_id
input for non ADB keyboard platforms. - Make element titles more human readable by converting underscores to spaces and capitalizing words #204.
- Add IDs to all elements with original element names.
- Add part attributes to all subelements so they can be more easily styled without creating custom elements using the ::part pseudo-element.
- More default keys for Android TV.
- Add
source
button to Sony BRAVIA default keys #207. globoplay
default source for Android TV and Sony BRAVIA #203 #206.- Custom element name field is now a dropdown which will show all default action names for the platform. Helps user overwrite default elements and prevents the custom element from prematurely autofilling.
TODO update README info and screenshots
Full Changelog: 4.4.3...4.5.0-alpha.013