I didn’t do a fresh install. It’s basically anything I change now. I changed a badge icon with card-mod, I changed icon size of a couple things in the picture with card mod, and I added the climate card when it finll became available with mushroom. I cleared the cache and all works perfect…
everyone once and a while I go back to my computer Or my iphone and its all the way it was before I cleared cache.
I cleare cache again in browser, or I simply pull down to refresh on my phone and everything looks perfect again. But it keep srevertting back randomly. Sometimes 5 minutes later. sometimes 2 hours later. The old cache seem sto still be there some how(at least thats my guess)
Ok. I guess it’s time to get your detective hat on.
Keen to know what you have tried. If I was trying to figure this out, bearing in mind I am a network guy and not software I would try
a few other browsers
from a different address, ie use the IP address instead of honeassistsnt.local or Vice versa
change the IP address of ha and try again
delete mushroom and reinstall
turn off any proxy’s like adguard or pihole
change ssid or network, if on wifi try on lan, and also if on lan try on wifi.
reboot everything including aps
make sure everything is on latest firmware in your network and devices
install cloudflared and try from a remote link
check in dev tools and see what files your browser are saying is missing and then go and download them again from GitHub and replace your ones
I am sure others will have other suggestions. Once your say what you have tried
Based on my questions you’d be able to figure out that I’m still struggling with my media setup. But I had another idea I wouldn’t mind getting your input.
Given mushroom is built on minimalist is it possible to use (any) minimalist code (Welcome to the UI-Lovelace-Minimalist wiki! - UI Lovelace Minimalist) in a mushroom dashboard. Why? I have asked in an earlier comment on this thread whether it’s possible to show a pop-up via a tap-hold function (select AVR source from source_list and sound from sound_mode_list). I just saw that minimalist has pop-ups.
If this is possible how can I use minimalist code in mushroom?
Probably using browser mod and a combo of conditional cards. You can add a drop down select to any card using card mod and layout card and then create helpers for all your sources.
it was already here, but wanted to share the FINAL dashboard of mine, i spent days and nights to work on the shadowing, borders, backgrounds etc, and I hope this is the final one!
PS please stop sharing new ideas in this topic !!! (joking of course)
Sure, it is not mine. I saw it in this thread (I believe) but cannot remember who did this. Thus credits go to John “Mushroom” Doe, kudos man (or woman )
type: custom:stack-in-card
cards:
- type: custom:mushroom-template-card
primary: Front Door
secondary: >-
{% if is_state('sensor.nuki_frontdoor_door_security_state','Opened &
Unlocked')%}
Open and Unlocked
{% elif is_state('binary_sensor.nuki_frontdoor_door_open','on') %}
Door Open
{% elif is_state('lock.nuki_frontdoor_lock','unlocked') %}
Unlocked
{% else %}
Closed & Locked
{% endif%}
icon: >-
{% if is_state('sensor.nuki_frontdoor_door_security_state','Opened &
Unlocked')%}
mdi:door-open
{% elif is_state('binary_sensor.nuki_frontdoor_door_open','on') %}
mdi:door-open
{% elif is_state('lock.nuki_frontdoor_lock','unlocked') %}
mdi:lock-open
{% else %}
mdi:door-closed-lock
{% endif%}
layout: vertical
icon_color: >-
{% if is_state('sensor.nuki_frontdoor_door_security_state','Closed &
Locked')%}
green
{% else %}
red
{% endif%}
badge_icon: >
{% set battery_level = (states(entity) | int / 10) | round(0) | int * 10
%} {% if battery_level == 100 %}
mdi:battery
{% elif battery_level > 0 %}
mdi:battery-{{ battery_level }}
{% else %}
mdi:battery-alert-variant-outline
{% endif %}
badge_color: |-
{% set battery_level = states(entity) | int %}
{% if battery_level > 90 %}
green
{% elif battery_level > 60 %}
light-green
{% elif battery_level > 50 %}
lime
{% elif battery_level > 40 %}
yellow
{% elif battery_level > 30 %}
amber
{% elif battery_level > 20 %}
orange
{% elif battery_level > 10 %}
deep-orange
{% else %}
red
{% endif %}
tap_action:
action: more-info
entity: sensor.nuki_frontdoor_battery
hold_action:
action: toggle
- type: custom:mushroom-lock-card
entity: lock.nuki_frontdoor_lock
name: Front Door
primary_info: none
secondary_info: none
icon_type: none
layout: vertical
card_mod:
style: |
ha-card {
{% if is_state('sensor.nuki_frontdoor_door_security_state','Closed & Locked')%}
background: rgba(101,170,91,0.2);
{% else %}
background: rgba(226,84,66,0.2);
{% endif %}
}
I use Nuki lock which have the door and lock status in one sensor but it should work with two sensors too.
Great how the albumart fades across the card. Noticed the entity media_player.currently_playing. You mind elaborating on this as this doesn’t look familiar?
Hi everyone, this is a great thread to get new ideas. I wanted to show a feature I made for my CCT LED strips. I wanted to have the ability to turn on/off, as well as select the colour temperature without fiddling with a slider. This is what I came up with. Uses a combination of stack-in card, grid cards, and mushroom templates.
Another option is to use the template card and media card (whiteout icon, primary info and secondary info) and use the stack card. Than you don’t need to use card mod and are flexible where what info is presented.
for example:
type: custom:stack-in-card
keep:
margin: true
cards:
- square: false
columns: 1
type: grid
cards:
- type: custom:mushroom-template-card
primary: |-
{% set s = state_attr(entity, 'source') %}
{% if s %} Spotify - {{s}}
{% else %} Spotify
{% endif %}
secondary: |-
{% set a = state_attr(entity, 'media_artist') %}
{% set t = state_attr(entity, 'media_title') %}
{% if a %} {{a}} - {{t}}
{% else %} Beschikbaar
{% endif %}
icon: mdi:spotify
entity: media_player.spotify_secondary
icon_color: |-
{% set s = state_attr(entity, 'source') %}
{% if s %} deep-orange
{% else %} disabled
{% endif %}
fill_container: true
tap_action:
action: more-info
- type: custom:mushroom-media-player-card
entity: media_player.spotify_secondary
fill_container: true
media_controls:
- shuffle
- previous
- play_pause_stop
- next
- repeat
collapsible_controls: true
icon_type: none
primary_info: none
secondary_info: none