Sub Button Heading Text #1222
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can use this code to change the text of the sub-button:
Or use this to display an entity's state:
If this solves your problem, mark this as solved and close the discussion. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tips works great! Question I have regarding hass.states['you_entity_here'].state, is there a way to get the state_translated(). Referring to: https://www.home-assistant.io/docs/configuration/templating/#state-translated That way I can show the nice friendly state vs. something like |
Beta Was this translation helpful? Give feedback.
You can use this code to change the text of the sub-button:
Or use this to display an entity's state:
If this solves your problem, mark this as solved and close the discussion.