Hi @Roflcopterer
How beautiful it is.
Good jobā¦
I have a small issue, have used your code, but as you can see, I get a white background on my weather map and my buttons and not the clean nice background you get, what could be the reason?
Does the latest version fix it? Did for me
Hi, is there any way to change the Icon color on the Mushroom Vaccum Card ?
Currently I do have this (the teal one), and it breaks my style :
Couldnāt figure out how to change the colorā¦no property either in UI nor in Yaml.
Did you install āCard modā as well? ( GitHub - thomasloven/lovelace-card-mod: š¹ Add CSS styles to (almost) any lovelace card )
Experiencing the same issue on an older iPad after the 2023.1 update I believe. Has worked for a year but now refuses to show any mushroom cards
Edit: Works after updating to the latest release of Mushroom carsd (2.5.2 released yesterday)
No, of course I havenāt, do I have to do thatā¦
Itās done now and thank you very much, it works
Great one!
I ve tried it but volume bar and volume buttons are not showingā¦Any idea?
Hi, i want to resize my entity card but when i resize it remain a space betwen the card, somene know ho to remove it?
The code that i use is this:
type: custom:mushroom-template-card
primary: Cucina
secondary: ''
icon: mdi:knife
entity: switch.cucina
icon_color: |
{% if is_state('switch.cucina', 'on') %}
amber
{% endif %}
tap_action:
action: toggle
badge_color: ''
fill_container: false
multiline_secondary: false
card_mod:
style: |
:host {
height: 90px;
--mush-icon-size: 25px;
--mush-icon-symbol-size: 0.7em;
--mush-spacing:10px;
}
thanks.
You are trying to adjust the height of the Shadow Host. You need to adjust the height of the Card, like this:
card_mod:
style: |
:host {
--mush-icon-size: 25px;
--mush-icon-symbol-size: 0.7em;
--mush-spacing:10px;
}
ha-card {
height: 90px !important;
}
Does your media player entity support volume?
You can change the Vacuum State Color for a specific card with card_mod like this:
card_mod:
style: |
:host {
--mush-rgb-state-vacuum: var(--rgb-deep-orange);
}
Or globally in your theme like this:
mush-rgb-state-vacuum: var(--rgb-deep-orange-color)
Oh nice !! didnāt think about card-modā¦
many thanks, greatly appreciated !!
There are Node-Red Companion and entities
been looking for this throughout the whole threadā¦ so possibly missed it
what I am looking for is a regular card (like a tile card) for toggle entities, and have it show a lock, so we can not accidentally toggle it. If actually clicking it I need a confirmation.
Ive tried something like:
- type: tile
entity: switch.espresso_keuken
name: Espresso
tap_action:
action: toggle
confirmation:
text: Are you sure you want to toggle?
service: switch.toggle
data:
entity_id: entity
in core frontend, but the is silly really. Forst of all, as you can see we need to declare the entity twice, but more importantly, the confirmation only works when you click the name. Clicking the icon simply toggles right away without warning.
compared to old school entities :
for switch (top entity) or script (bottom entity). thereās no way around confirmingā¦
can this be done using mushroom?
thx!
Is there a way on a:
mushroom-light-card to have āshow_color_controlā be dynamic based on an entity?
Like:
entity: light.wled
show_color_control: |
{% if is_state("input_boolean.someotherentity", "off") -%}
false
{%- else -%}
true
{%- endif %}
I have tried every combination of if/then and |, |+, >
to start it I can find and nothing works. Any help would be appreciated.
Thanks!
Did you look into restriction-card? However not sure if that can be combined with mushroom. Never tried
Yes, itās sonos device.It seems to be a graphical, if i click on the volume zone, itās changing the volume. But i canāt see the volume bar or volume button.
Iāll try a screenshot tomorrow
You can just do toggle
without specifying the service:
tap_action:
action: toggle
confirmation:
text: Are you sure you want to toggle?
You can disable the Tile Card icon action like this:
icon_tap_action:
action: none
Otherwise love-lock-card gives a lot more control.
You could try something like this:
card_mod:
style: |
.actions {
{{ 'display: none !important;' if not is_state(config.entity, 'on') }}
}
mushroom-state-item {
{{ 'margin-bottom: 0px !important;' if not is_state(config.entity, 'on') }}
}
Yes, both restriction-card and love-lock-card work with Mushroom.