Awesome project! I’m trying to make a chip that can group multiple radiators and turn on and off (like a light group). Below action to show the problem. It does set preset_mode to “comfort” if the state_attr is “eco”. It does not set preset_mode to “eco” if the state_attr is “comfort”.
I have tried the if statement with “eco” too, but with same result. If I put the if statement in templates it returns the correct both comfort and eco.
Do I need to call a script instead or am I missing something?
What’s the url of the plex generated entity_pictures? When I looked at the ones coming from jellyfin I found I could filter out some characters with jinja to get a higher resolution picture. (jellyfin integration not working str the moment so can’t verify what was there).
Also try to use cover or fit for the background size:
background: url() center/cover ;
Or
background: url() center/contain;
SOLVED; the card was incerted in a swiper card and it seems inside that the “tap/hold” are no good friends with chrome, works fine on my Android-device
so why am I not able to use hold_action ??
newbie in Mushroom and not used stack-in-card, so don’t rule out the basics (or stupid stuff)
the config below “works”,
at least if i interchange “tap” with “hold”; then whatever is in tap_action works
but I don’t see why hold_action is not working?
Dumb question but I am using Music Assistant to import radio stations in via TuneIn Radio, but idk how to find the name or URI of the radio stations to select them as a source to be played. Please help, thanks.
Ok, first time posting but long time reading and using all the great ideas here! @rhysb you sir are a wizard!
Normally i always find the solution after searching and trying myself but in this case i’m kinda lost…
So i need a little help here, i want the template card icon to follow the light color…
Now this works, until i turn the light off, when i do that the icon shape disappears and the icon itself turns white instead of the normal disabled color.
type: custom:mushroom-template-card
primary: null
secondary: null
icon: mdi:lightbulb
entity: light.hue_argenta_color_spot_raam_1
icon_color: null
card_mod:
style: |
mushroom-shape-icon {
{% set r = state_attr(config.entity, 'rgb_color')[0] %}
{% set g = state_attr(config.entity, 'rgb_color')[1] %}
{% set b = state_attr(config.entity, 'rgb_color')[2] %}
--icon-color: rgb( {{r}}, {{g}}, {{b}} ) !important;
--shape-color: rgba( {{r}}, {{g}}, {{b}}, 0.2 ) !important;
}
Examples, on (like i want), off what i get, and off how i want it to look…