Please use proper code tag to show what you have and what should āhow to merge to cardā mean?
yes @RodgerDodger it is on. Iāve toggle the switch several times and nothing really happens. Iāve used with a different entity light and same thingā¦no badge.
Do you need anything in addition to the mushroom-card add on ?
I dont get it why itās not workingā¦
Sorry, buddy, but I have no clueā¦except maybe one last ideaā¦
Have you copy pasted the code into your card somewhere or were going via visual editor and are those fance new options already there? I had to delete browser cache after upgrading to the new mushroom version.
And one more last idea:
Is sthe state of your lights correctly reported in Developer Tools and have you tried with another light entity? What does the editor say if you pase in the code into a standalone manual card?
HereāS everything fine and no, mushroom-card is no add on? Have you installed the mushroom card repository correctly via HACS or manually as stated in the GitHub Repo?
Yes I did try with another entity, and Iāve check that the entity state changes. Iāve created the card manually with the āmanual cardāā¦ nothing. Deleted the cacheā¦nothingā¦ Mushroom card was installed via HACS and apparently all works but this (that I really really needed :))
Itās one of life great mysteries
Thanks for your time !!! Iāll let you and the community know when I find out whatās wrong!
Try like this:
type: custom:mushroom-template-card
primary: Test Light
secondary: testing badges
icon: mdi:face-man
entity: light.sink_light
badge_icon: |-
{% if is_state(entity, 'on') %}
mdi:lightbulb
{% endif %}
icon_color: disabled
badge_color: |-
{% if is_state(entity, 'on') %}
amber
{% endif %}
Now that we have icon badges:
If youāre using the Mail & Packages integration, you can use the badge to show the number of packages deliveredā¦
badge_icon: >
{% if states('sensor.mail_packages_delivered')|int > 0 %}
{{ 'mdi:numeric-' + states('sensor.mail_packages_delivered') + '-circle' }}
{% endif %}
badge_color: orange
Love your design Sean. Can you share where you got the images from please?
Thanks!
For me itās working with:
{% if is_state('group.light', 'on') %}
mdi:lightbulb
{% elif is_state('group.light', 'off') %}
{% endif %}
It is the third Dashboard i am building. It was never so easy and intuitive. Thanks a lot for your work!
I also tried to include some cards via yaml & minimalist but i canāt get it to work. Is there a guide how to add card (e.g. the room cards are cool) to the dashboard? Thanks in advance
Hey everyone,
I was wondering if anyone would know how to set up a separate device for audio control on the media card?
My current setup is an AppleTV with the HDMI audio output set to the AVR (which is it is plugged into). The card is currently set up for the AppleTV and I have had to set up a separate card below for the AVR to control the audio level. When I use the audio controls on the AppleTV card I receive the following error: āFailed to call service media_player/volumesetā. I have tried to define a second device in the code of the card itself but I only receive errors so Iām presuming I would need to edit the YAML for that card but I canāt seem to find it. Any help would be appreciated.
thank u for your interest i found the solution in valdorama post but how to increase font size in icon badges
Maybe you can create a media player which combines your 2 media player into one : Universal Media Player - Home Assistant ?
The cards are just a reflect on the HA entities. Front-end must not solve integration issues.
Awesome, that looks like a good solution. As long as I can link that back to the mushroom media card that should work great.
@RodgerDodger got it !! Today I got an update to version Mushroom cards 1.10.0.
Wasnāt available in HACS since today. All is working with your code. Thanks for the time and support!
Glad to hear that and youāre welcome!
That you havenāt already installed the needed update wasnāt on my possible-bug-list.
Hello
is possible use the mushroom chips card with type template and the entity binary sensor door?
Because the door is open but the icon dont change.
I have create another with the chips card with type entity binary sensor door is working.
@RodgerDodger do you know if there away to have an image instead of an icon in the mushroom-template-card ?
I do not but rhysb has a base for you:
@piitaya Feature request: I really would like the have a room card like this: Room Card - UI Lovelace Minimalist maybe this can be added to the probably already enormous todo list?
Thanks for considering this, and for the great work, this and the grid cart are probably the greatest editions in years to how we can build awesome dashboards!
Thanks for the awesome work you put in to this!
Kind regards