remove state: templating #53
Replies: 4 comments 1 reply
-
I agree on this. And it currently broken as of the upgrade of HA 2022.4. I have created a PR which does not handle state templates, and warns the users that are using it with a console warning. Users that still have this in there config will not have any braking issues except that the state wont change as intendent anymore. |
Beta Was this translation helpful? Give feedback.
-
So this will no longer work? To get different colors depending on state (in this case temperatures): templates: |
Beta Was this translation helpful? Give feedback.
-
no, that will ofc still work. we stopped supporting customizing the state,
|
Beta Was this translation helpful? Give feedback.
-
So this should work?
I need to refresh page for the templates to take effect. |
Beta Was this translation helpful? Give feedback.
-
Since we we can still template/customize state: in custom-ui, I would suggest we take that out.
There a several reasons for that:
state:
is doing after all, please use custom:template-entity-row by Thomas Loven, or state_display options I custom:button-card by RomriderEven on the original custom-ui repo Andrey already said to be careful.
Beta Was this translation helpful? Give feedback.
All reactions