ever since the addition of triggers_update to this lovely card, performance has been great. As of HA 115 templates will be updated on each state change the system derives automatically, see 0.115: B-Day release! Media browser, tags, automations & WTH
will/won’t this impact button-card negatively?
a ok, that 's correct of course… was holding back updating because if this (amongst a few other template worries)
still get to are assured the buttons wont be impacted. thanks
Is it possible to have an animation when the entity_picture changes? I use the entity_picture of a media_player (so it shows the artwork). When I switch media, I want it to transition smoothly with an animation when the picture_entity changes. So it doesn’t change based on state, but it updates when the media_player updates its artwork in this case.
Is this possible? I tried with the animation varibale, but I don’t think it’s that simple (doesn’t work that way).
color: auto
color_type: card
default_color: 'rgb(255, 233, 155)'
entity: light.yeelight
icon: 'mdi:lightbulb'
name: Front
size: 35%
type: 'custom:button-card'
This yeelight use for warnings (receive email on blue light, gate open on green light etc) and use for light in the evening too.
How can I do that if I click this button always turn this yeelight on fixed warm white color and another click turn it off.
Now when I click this button always turn on on last color, so this is not good for me.
Make it call a script that uses choose. If the light is currently on, turn it off. If the light is currently off, turn it on. Read the HA light docs to see how to set the color.
Okay. First of all, I’d like you to thoroughly read the docs. If you did read them, you might find your mistake. I don’t want to be mean though, and it’s always nice to help out, so I’ll explain.
First of all, button-card doesn’t support Jinja2. It supports JS templates.
Second, that isn’t really valid YAML. When you do use a Jinja template, it’s usually like
Can anyone help with this? This started happening 2-3 months ago. I thought it would just work it self out, but it has not. I think it’s the button card. When my color LED light strip is at 100% brightness and the color is white, the button card does not respect the icon color
If I use an entty card the icon shows “yellow” as it should. As I reduce the brighness it does become visible, just “grey”. Once I change the color to any other color it appears as it should