gadgetchnnel/lovelace-header-cards

Header Cards disapears every night

Opened this issue · 0 comments

I used to see this on occasion, but now it has become a nightly occurrence. It happens each night some time after 10pm and 7am (when I am sleeping). Here is what my header card looks like when its functioning properly (This is a 7" RaspberryPi touch screen running chromium-browser). Does my kiosk_mode addon play into this somehow?

image

In the morning this is what it looks like, the header cards are missing:

image

My here is my relevant configuration:

kiosk_mode:
  hide_assistant: true
  hide_search: true
  hide_menubutton: false
  hide_sidebar: false
  hide_account: true
  hide_notifications: true
header_cards:
  replace_tabs: true
  justify_content: space-between
  cards:
    - type: markdown
      card_mod:
        style: |
          ha-card {
            background: rgba(0,0,0,0);
            font-size: 1.2em;
          }
      content: >
        {{ as_timestamp(states('sensor.date_time_iso'),default=None) |
        timestamp_custom('%-I:%M %p',default=None) }}
    - type: markdown
      card_mod:
        style: |
          ha-card {
            background: rgba(0,0,0,0);
            font-size: 1.2em;
          }
      content: >
        {{ as_timestamp(states('sensor.date_time_iso'),default=None) |
        timestamp_custom('%A,  %B %-d',default=None) }}
views: