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
Add keypress option to buttons #198
- Buttons can be assigned a keyboard key, which will trigger the button when pressed.
- The card must be in focus.
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 actions 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.
Full Changelog: 4.4.3...4.5.0-alpha.008