This is helpful, but it doesnāt appear to be in the nice, small āchipā size. Curious if you know of a way to shrink it up like that?
I think I have some options, but keeping that āchipā look is a goal.
This is helpful, but it doesnāt appear to be in the nice, small āchipā size. Curious if you know of a way to shrink it up like that?
I think I have some options, but keeping that āchipā look is a goal.
Looking for this as well!
very nice but have question iām very newbee so hope you can help I have this yaml
Is it possible to make the icon or the name red when selected and stay red untill another one is pushed
Feeling a bit stupid but canāt find the custom cards in Lovelaceā¦ I installed using HACS but when adding a card in Lovelace no Mushroom cards can be found, am I missing a step in the setup?
did you do a reboot? when you couldnāt find them?
Yes I did but didnāt help.
Also refreshed your browser?
Using the app but yes, I also tried another browser and in inkognito.
Below screenshot to show it is installed and canāt be found.
Edit:
Canāt remember, is downloading in HACS enough or do I need to register it or do anything else after download, like when registering modules under resources?
Hi @piitaya, hi all,
I just became aware of this beautiful card / card system through the latest video of Zack Barret.
Though I already have great dashboards, I really would like to include Mushroom cards. But to do so, I definitely need CSS control for fine-tuning or else my existing dashboard compositions will be blown apart.
So I started trying to tune a Mushroom Light Card with card-mod. One of my first goals is to reduce the bottom-margin of mushroom-state-item (the upper part of the card) and the height of div.actions (the brightness slider). But I really get lost in #shadow-root hell when I try to find selectors that access the mushroom-state-item and the div.actions.
=>
I just donāt get it working with card-mod.
Any help would be very much appreciated!
A big thank you goes to piitaya for all the work he has put into this!
Hi Paul,
I am sorry for my late reply, but I was not sure you message was for me? (still a bit unsure)
Well for your question, I am using horizontal/vertical cards to make sure I use 100% of the width of my āterminalā that is how I am showing 2 cards in with 1-card-view
Yes, I was able to do this using something like this:
card_mod:
style: >
{% if is_state('input_select.home_mode', 'Home') %}
:host {
--card-mod-icon-color: yellow;
}
{% else %}
:host {
--card-mod-icon-color: black;
}
{% endif %}
Did you find a solution? Iām in the same boat. I donāt see it in Lovelace. I can see other custom cards installed by HACS but not the mushroom card.
Your code will work. However it requires you to immediately reload the that page to actually apply the edit mode.
No, unfortunately not. I also have other custom cards working but canāt get Mushroom cards to show up.
Iām sorry for being late, but hereās my config for the conditional chip:
type: conditional
conditions:
- state: 'on'
entity: group.indoor_lights
chip:
type: entity
entity: group.indoor_lights
icon_color: amber
icon: mdi:lightbulb-on
tap_action:
action: more-info
hold_action:
action: call-service
service: light.turn_off
service_data: {}
target:
entity_id: group.indoor_lights
double_tap_action:
action: more-info
Hereās a template chip where you can put a template for the icon_color
(but I just picked ālight-blueā without a template):
type: template
content: '{{ states(entity) }} Ā°F'
icon: '{{ state_attr(''sensor.outside_temperature_trend_text'', ''icon'') }}'
tap_action:
action: fire-dom-event
browser_mod:
command: more_info
entity_id: sensor.outside_temperature
large: true
icon_color: light-blue
entity: sensor.outside_temperature
By the way, an idea for improving the visuals: I would go ahead and put a mandated spacing between separate columns in the UI. When thereās no space, everything looks too confusing on a screen wider than a cellphoneās. I managed this in custom CSS (and nicer headers that match the UI Lovelace Minimalist by making them bold) by doing this, though I donāt think any of it can be done using themes, but as an integration developer, you may have a way around that:
.columns {
flex-wrap: wrap; # (or flex-flow: row wrap;)
column-gap: 50px;
}
.column {
min-width: 360px;
}
.card-header {
font-weight: bold;
}
@Lunkobelix @Datwood2009 When I installed Mushroom a couple weeks ago, it wouldnāt work. I found out eventually that if I went to Settings ā Dashboards ā Resources, instead of saying /hacsfiles/lovelace-mushroom/mushroom.js?hacstag=xxxxxxxxxxx
, it said /hacsfiles/lovelace-mushroom/null?hacstag=xxxxxxxxxxx
(notice the null
there).
I had to manually replace it with mushroom.js
(and then clear my browser cache) for it to work. Maybe you guys have the same problem.
Thank you for your help! Was a bit surprised that I donāt have any reference at all to Mushroom under Resources. Shouldnāt that be added there automatically? I just today got an update notification for a new version to Mushroom so it is installed (and I have reinstalled it and rebooted).
Any way to fix the text āMaster Bedroomā? I would like it center it and have it on one line.
EDIT: Using a title card
Hmm it should, but itās flaky apparently. Try adding the one I showed in there, restart HA, clear browser cache, and see what happens.