I seem to be having some issues where the sidebar card will not load after i click on links unless i refresh the page.
if i click via the normal HA side bar its fine.
is this a common issue or am i missing something in my code?
thanks
sidebar:
active: true
width:
mobile: 0
tablet: 25
desktop: 20
breakpoints:
mobile: 768
tablet: 768
desktop: 1024
style: |
:host {
--sidebar-background: #1C1C1C;
--sidebar-text-color: #FFF;
--face-color: #FFF;
--face-border-color: #FFF;
--clock-hands-color: #FFF;
--clock-seconds-hand-color: #FF4B3E;
--clock-middle-background: #FFF;
--clock-middle-border: #000;
}
.sidebarMenu li.active {
background-color: rgba(0, 0, 0, 0)!important;
icon-size: 255px;
}
.digitalClock {
font-weight: 400!important;
text-align: center;
padding-bottom: 1px;
padding-top: 20px
font-size: 205px;
line-height: 95px;
}
.date {
text-align: center;
}
.title h1{
text-align: center;
}
.bottomCard {
icon-size: 185px;
}
.template {
font-weight: 400!important;
text-align: center;
}
digitalClock: true
twelveHourVersion: true
hideHassSidebar: false
hideTopMenu: false
date: true
dateFormat: dddd DD MMM
clock: false
sidebarMenu:
- action: navigate
navigation_path: /dashboard-home
name: Home
active: true
icon: mdi:home-account
- action: navigate
navigation_path: /dashboard-climate
name: Climate
active: true
icon: mdi:home-thermometer-outline
- action: navigate
navigation_path: /daceboard-lights
name: Lights
active: true
icon: mdi:lightbulb-group
- action: navigate
navigation_path: /dashboard-music
name: Music
active: true
icon: mdi:music
- action: navigate
navigation_path: /dashboard-media
name: Media
active: true
icon: mdi:play-box-outline
- action: navigate
navigation_path: /dashboard-misc
name: Misc
active: true
icon: mdi:alpha-m-circle
template: |
<li>
{% if now().hour < 5 %} Good Night {{'\U0001F634'}}
{% elif now().hour < 12 %} Good Morning {{'\u2615\uFE0F'}}
{% elif now().hour < 18 %} Good Afternoon {{'\U0001F44B\U0001F3FB'}}
{% else %} Good Evening {{'\U0001F44B\U0001F3FB'}}{% endif %}
</li>
bottomCard:
type: grid
cardOptions:
columns: 1
square: false
cards:
- type: picture
image: https://i.imgur.com/PDgpYWg.jpeg
- type: weather-forecast
show_current: true
show_forecast: true
entity: weather.forecast_home
secondary_info_attribute: humidity
cardStyle: |
:host {
width: 100%;
}
views:
- title: ' Music'
cards: []
theme: back1
type: sections
sections:
- type: grid
cards:
- type: custom:sonos-card
sections:
- player
- volumes
- groups
- grouping
- media browser
heightPercentage: 110
topFavorites:
- ''
dynamicVolumeSlider: false
title: Sonos Panel
- type: grid
cards:
- type: media-control
entity: media_player.kitchen
theme: back1
- type: media-control
entity: media_player.living_room
- type: media-control
entity: media_player.bailey_bedroom
- type: media-control
entity: media_player.ryan_bedroom
- type: media-control
entity: media_player.theatre_room
- type: media-control
entity: media_player.outside
- type: media-control
entity: media_player.toy_room
- type: media-control
entity: media_player.garage
title: Zones
- type: grid
cards:
- type: custom:spotify-card
hide_top_header: false
hide_currently_playing: false
hide_playback_controls: false
grid_show_title: false
always_play_random_song: true
display_style: grid
limit: 12
playlist_type: featured
spotify_entity: media_player.wohnzimmer
style: |
#footer {
display: none !important;
}
- type: custom:spotify-card
hide_top_header: false
hide_currently_playing: false
hide_playback_controls: false
grid_show_title: false
always_play_random_song: true
display_style: grid
limit: 15
playlist_type: default
spotify_entity: media_player.wohnzimmer
style: |
#footer {
display: none !important;
}
title: Spotify