Merry Christmas / Happy Hanukkah.
A new CustomUI release is here with fixes and features.
A major new feature is that client-side templates are now evaluated when frontend receives state updates. This allows, for example, to implement auto-groups.
My own primary use-case for this is to make a group of all the lights that are βonβ.
Full release notes:
- New feature: Templates are now processed when states are fetched, so you can now template any state or attribute, not just in state cards. For example:
- Modify group members.
- Make your own translation of states.
- Improvements:
-
confirm_controls
will now protect the whole state card and not just the toggle control. - Context-aware and Device-aware attributes can now be defined as regular expression.
-
extra_badge
can now be a list if you want to put more than 1 badge into a state card.
-
- Bugfix: Improve detection of whether slider should be hidden in hide-slider mode.