Change name dynamically. #948
Unanswered
wallacesivirino
asked this question in
Questions about config, custom styles and templates
Replies: 1 comment
-
Hi! You can check in the Templates section in the GitHub documentation, this is this example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to dynamically change a button name based on an entity status, just like it can be done with an icon or color?
.bubble-icon {
color: ${hass.states['binary_sensor.statuspc'].state === 'on' ? 'rgb(252, 240, 110)' : 'rgb(41, 96, 111)'} !important;
}
Beta Was this translation helpful? Give feedback.
All reactions