@rhysb is there anyway to customize the mushroom title card font type, font size, font color?
The font type or size does not match the rest of the mushroom cards. At least to me they donāt look the same. It would be great if it was possible to make them match with card-mod or in the future get them to match natively.
Yes exactly this!! However I already tried that but as far as I know, my slider card does not have a light color state property. So I switched to mushroom light card. Thank you very much.
How can I make this template card take up as much space and be the same size as this lights card, with the picture on top and primary/secondary below just as itās formatted in the second picture. Which is just the same code a as below but using a mushroom light card.
@rhysb - Iām using the css you posted earlier in this thread for applying background art to my room cards, and wondered if there is any way to resize the background width to around half and fade it out to blend into the text area in my screenshot below?
Iām thinking something that covers approximately the red squared area, then blends to the card background color to the left of that?
I tried a bunch of CSS after searching online, but canāt seem to get anything that looks nice.
Sure, here you go! Havenāt had the chance to put much time in to it recently so lots of things are still a work in progress hence why some cards may look offā¦
Mostly based off Minimalist with a bit of Mushy in there for good measure
I am curious if this is possible and surprised no one else has done it.
I am trying to display a person entity picture IF they are home. If they are not home, I donāt want anything to display.
I get the entity picture just fine using the code below. I tried setting up a template using a similar card for my garage covers where only if the garage cover is open will it display an mdi icon, if itās closed I donāt see anything. I canāt seem to figure out how to use a picture instead of an mdi icon and then associate that to a person (or even a device_tracker) being present.
type: custom:mushroom-template-card
primary: Hello, {{user}}
secondary: How are you?
picture: >-
{% if is_state('device_tracker.john', 'home') -%}
IMAGE
{% else %}
IMAGE
{%- endif %}
When you say you dont want anything to show, do you mean you dont want the image/icon to show or you dont want the card to show? If itās the latter, you can use a conditional card to show an entity card if the person is at home, or you can use my code above (without the condition for the picture).
Hello @rhysb I followed your example from a few weeks back to animate a fan. I used it to animate my hot tub pump (spins faster when the pump is on high etc) but now wanted a nice animation when the heater is on, I wanted to alternate between mdi:radiator-disabled and mdi-radiator in a pulsing red circle (think I can manage that bit) Any pointers gratefully received Thanks.