Unsure if I have messed up my configuration.. please help

hi all,

I’m running HA on a rasp Pi 3b+ installed using Hass.io

reciently I have noticed that some of my lovelace cards dont show up unless i do Ctrl - R and refresh the page. but now I am finding that even after that if I go to configure those cards they are not there, if I go into the raw editor then all is good but they dont show in the the front end, As well as this starting a week ago my config checker is taking ages to complete, it used to take about a min (which I thought was a long time for practically empty yaml files) but now it takes over 5 mins (i gave up at this point went to get a drink, came back 10 mins later and it was finished).

any idea if I have done/not done something to cause this? i havent altered my configuration.yaml in quite some time and I install the updates within a day of release (in most cases).

any help in finding out how to check things would be great.

thank you all

When you make a change to your lovelace config, reload the page using the 2 dots on top right of the page > Refresh.
If you think you may have issues, please your config, otherwise we just can’t tell you what’s (potentially) wrong if we can’t see it :wink:

Thank you for your reply.

I have tried to refresh the page as you say and still have the same issue so I am more convinced that I have done something wrong in my Yaml files (somewhere)

my configuration.yaml is below

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

automation: !include automations.yaml
anniversaries: !include anniversaries.yaml
binary_sensor: !include binarysensor.yaml
group: !include groups.yaml
light: !include lights.yaml
media_player: !include media_player.yaml
script: !include scripts.yaml
sensor: !include sensor.yaml
switch: !include switch.yaml
zone: !include zones.yaml

# Alexa media player set up
alexa_media:
  accounts:
    - email: !secret amazon_user
      password: !secret amazon_password
      url: "amazon.co.uk"

breaking_changes:

# Cloud
cloud:
  alexa:
    filter:
      exclude_domains:
        - automation
        - binary_sensor
        - device_tracker
        - group
        - light
        - media_player
        - person
        - script
        - sensor
        - sun
        - switch
        - weather
        - zone
      include_entities:
        - light.bedside1
        - light.bedside2
        - light.main_lounge_lights
        - light.fan_lamp
        - switch.air_freshner
        - switch.corner_lamp
        - switch.tall_lamp
        - switch.guest_lamp
        - switch.subwoofer
        - switch.treadmill
        - media_player.skyq_bedroom
        - media_player.skyq_lounge
        - media_player.sony_av_unit
        - script.beach
        - script.fish
        - script.log_fire
        - script.trees


# Enables configuration UI
config:

# # Allows you to issue voice commands from the frontend in enabled browsers
# conversation:

# Discover some devices automatically
discovery:

# Enables the frontend and themes folder
frontend:
  themes: !include_dir_merge_named themes

# enable HACS 
hacs:
  token: !secret hacs_token
  appdaemon: true
  python_script: true
  theme: true

#history:

# # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# #http:
# # base_url: https://rdoull.duckdns.org:8123
# #  ssl_certificate: /ssl/fullchain.pem
# #  ssl_key: /ssl/privkey.pem

# # Show links to resources in log and frontend
# #introduction:
  
# media_extractor
media_extractor:

# #momentary:
      
# #panel_iframe:
# #  configurator:
# #    title: Configurator
# #    icon: mdi:wrench
# #    url: https://rdoull.duckdns.org:3218

python_script:

#recorder:

# Sensor places 
sensor places_robin:
  - platform: places
    name: Robin D
    devicetracker_id:  device_tracker.robin
    options: zone,place, street_number, street, city 
    map_provider: google
    map_zoom: 18
    home_zone: zone.home
    api_key: !secret life360-robin-un

sensor places_elsbeth:
  - platform: places
    name: Elsbeth D
    devicetracker_id:  device_tracker.elsbeth
    options: zone,place, street_number, street, city 
    map_provider: google
    map_zoom: 18
    home_zone: zone.home
    api_key: !secret life360-elsbeth-un

# # Track the sun
# sun:

system_health:

# Text to speech
tts:
  - platform: google_translate
    service_name: google_say

# # Checks for available updates
# # Note: This component will send some information about your system to
# # the developers to assist with development of Home Assistant.
# # For more information, please see:
# # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:

for the lovelace I use the raw editor and have the following

resources:
  - type: js
    url: /local/tiles-card.js?v=0.1
  - type: js
    url: /community_plugin/dual-gauge-card/dual-gauge-card.js
  - type: module
    url: /community_plugin/mini-media-player/mini-media-player-bundle.js
  - type: module
    url: /community_plugin/button-card/button-card.js
  - type: js
    url: /local/entity-attributes-card.js
title: Home
views:
  - badges:
      - sun.sun
    cards:
      - inner:
          colors:
            - color: var(--label-badge-green)
              value: 0
            - color: var(--label-badge-yellow)
              value: 15000
            - color: var(--label-badge-blue)
              value: 30000
          entity: sensor.sky_adsl_router_kbyte_sec_received
          label: in
          unit: kb
        max: 51200
        min: 0
        outer:
          entity: sensor.sky_adsl_router_kbyte_sec_sent
          label: out
          max: 7168
          min: 0
          unit: kb
        title: Living room
        type: 'custom:dual-gauge-card'
      - entities:
          - entity: sensor.sky_adsl_router_kbyte_sec_received
          - entity: sensor.sky_adsl_router_kbyte_sec_sent
        hours_to_show: 168
        refresh_interval: 0
        type: history-graph
      - entities:
          - entity: sensor.potential_breaking_changes
        type: entities
      - entities:
          - entity: sensor.robin_d
          - entity: sensor.elsbeth_d
        title: Tracking
        type: glance
    path: default_view
    title: Home
  - badges: []
    cards:
      - cards:
          - entity: switch.corner_lamp
            icon: 'mdi:lightbulb'
            name: Corner Lamp
            show_state: false
            tap_action:
              action: call-service
              service: switch.toggle
              service_data:
                entity_id: switch.corner_lamp
            type: 'custom:button-card'
          - entity: switch.tall_lamp
            icon: 'mdi:lightbulb'
            name: Tall Lamp
            show_state: false
            tap_action:
              action: call-service
              service: switch.toggle
              service_data:
                entity_id: switch.tall_lamp
            type: 'custom:button-card'
          - entity: light.fan_lamp
            hold_action:
              action: more-info
            icon: 'mdi:lightbulb'
            name: Fan Lamp
            show_state: false
            tap_action:
              action: call-service
              service: light.toggle
              service_data:
                entity_id: light.fan_lamp
            type: 'custom:button-card'
          - entity: light.main_lounge_lights
            hold_action:
              action: more-info
            icon: 'mdi:lightbulb'
            name: Main Lights
            show_state: false
            tap_action:
              action: call-service
              service: light.toggle
              service_data:
                entity_id: light.main_lounge_lights
            type: 'custom:button-card'
        type: horizontal-stack
      - artwork: cover
        entity: media_player.skyq_lounge
        hide:
          source: false
          volume: true
        icon: 'mdi:television-box'
        shortcuts:
          buttons:
            - icon: 'mdi:fire'
              id: script.log_fire
              type: script
            - icon: 'mdi:fish'
              id: script.fish
              type: script
            - icon: 'mdi:beach'
              id: script.beach
              type: script
            - icon: 'mdi:tree'
              id: script.trees
              type: script
          columns: 4
        type: 'custom:mini-media-player'
      - cards:
          - entity: media_player.lounge_tv
            hold_action:
              action: more-info
            icon: 'mdi:television-box'
            name: TV
            show_state: false
            tap_action:
              action: call-service
              service: media_player.toggle
              service_data:
                entity_id: media_player.lounge_tv
            type: 'custom:button-card'
          - entity: media_player.chrome_cast
            hold_action:
              action: more-info
            icon: 'mdi:television'
            name: ChromeCast
            show_state: false
            tap_action:
              action: call-service
              service: media_player.toggle
              service_data:
                entity_id: media_player.chrome_cast
            type: 'custom:button-card'
        type: horizontal-stack
      - artwork: cover
        entity: media_player.lounge
        group: true
        hide:
          controls: true
          power: true
          source: true
          volume: false
        icon: 'mdi:amazon-alexa'
        name: Alexa Lounge
        tts:
          entity_id: media_player.lounge
          platform: alexa
        type: 'custom:mini-media-player'
      - entities:
          - entity: sensor.lounge_sensor_ambient_light
        hours_to_show: 48
        refresh_interval: 1
        type: history-graph
    title: Lounge
  - badges: []
    cards:
      - artwork: cover
        entity: media_player.kitchen
        group: true
        hide:
          controls: true
          power: true
          source: true
          volume: true
        icon: 'mdi:amazon-alexa'
        name: Alexa Kitchen
        tts:
          entity_id: media_player.kitchen
          platform: alexa
        type: 'custom:mini-media-player'
      - entities:
          - entity: sensor.kitchen_humidity
          - entity: sensor.kitchen_temperature
        hours_to_show: 48
        refresh_interval: 0
        type: history-graph
    path: kitchen
    title: Kitchen
  - badges: []
    cards:
      - cards:
          - entity: light.bedside1
            hold_action:
              action: more-info
            icon: 'mdi:lightbulb'
            name: Robin's Light
            show_state: false
            tap_action:
              action: call-service
              service: light.toggle
              service_data:
                entity_id: light.bedside1
            type: 'custom:button-card'
          - entity: light.bedside2
            hold_action:
              action: more-info
            icon: 'mdi:lightbulb'
            name: Elsbeth's Light
            show_state: false
            tap_action:
              action: call-service
              service: light.toggle
              service_data:
                entity_id: light.bedside2
            type: 'custom:button-card'
          - entity: switch.air_freshner
            hold_action:
              action: more-info
            icon: 'mdi:fan'
            name: Airfreshner
            show_state: false
            state:
              - spin: true
                value: 'on'
            tap_action:
              action: call-service
              service: switch.toggle
              service_data:
                entity_id: switch.air_freshner
            type: 'custom:button-card'
        type: horizontal-stack
      - artwork: cover
        entity: media_player.bedroom
        group: true
        hide:
          controls: true
          power: true
          source: true
          volume: true
        icon: 'mdi:amazon-alexa'
        name: Alexa Bedroom
        tts:
          entity_id: media_player.bedroom
          platform: alexa
        type: 'custom:mini-media-player'
      - columns: 3
        entities:
          - entity: light.bedroom_led
          - entity: sensor.bedroom_humidity
          - entity: sensor.bedroom_temperature
          - entity: sensor.multisensor_wifi_signal
          - entity: sensor.bedroom_uptime
          - entity: switch.bedroom_restart
        show_name: false
        show_state: true
        title: Bedroom
        type: glance
      - entity: media_player.skyq_bedroom
        type: media-control
      - entities:
          - entity: sensor.bedroom_temperature
          - entity: sensor.bedroom_humidity
        hours_to_show: 48
        refresh_interval: 0
        type: history-graph
    title: Bedroom
  - badges: []
    cards:
      - cards:
          - entity: switch.guest_lamp
            icon: 'mdi:lightbulb'
            name: Guest Lamp
            show_state: false
            tap_action:
              action: call-service
              service: switch.toggle
              service_data:
                entity_id: switch.guest_lamp
            type: 'custom:button-card'
          - entity: switch.treadmill
            icon: 'mdi:run-fast'
            name: Treadmill
            show_state: false
            tap_action:
              action: call-service
              service: switch.toggle
              service_data:
                entity_id: switch.treadmill
            type: 'custom:button-card'
        type: horizontal-stack
      - artwork: cover
        entity: media_player.guest_room
        group: true
        hide:
          controls: true
          power: true
          source: true
          volume: true
        icon: 'mdi:amazon-alexa'
        name: Alexa Guest Room
        tts:
          entity_id: media_player.guest_room
          platform: alexa
        type: 'custom:mini-media-player'
    title: Guest Room
  - badges: []
    cards:
      - entities:
          - entity: sensor.spare_room_temperature
          - entity: sensor.spare_room_humidity
        hours_to_show: 24
        refresh_interval: 0
        type: history-graph
    path: spare-room
    title: Spare Room
  - badges: []
    cards:
      - content: >
          You will have beeen married for {{ state_attr('sensor.wedding',
          'years_at_next_anniversary') }} years in {{ states('sensor.wedding')
          }}  days - {{ state_attr('sensor.wedding', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.roxy_has_been_with_us_for', 'friendly_name') }}
          {{ state_attr('sensor.roxy_has_been_with_us_for',
          'years_at_next_anniversary') }} years in {{
          states('sensor.roxy_has_been_with_us_for') }}  days - {{
          state_attr('sensor.roxy_has_been_with_us_for', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.roxy', 'friendly_name') }} will be {{
          state_attr('sensor.roxy', 'years_at_next_anniversary') }}  in {{
          states('sensor.roxy') }}  days - {{ state_attr('sensor.roxy', 'date')
          }}
        type: markdown
      - content: >
          {{ state_attr('sensor.elsbeth', 'friendly_name') }} will be {{
          state_attr('sensor.elsbeth', 'years_at_next_anniversary') }}  in {{
          states('sensor.elsbeth') }}  days - {{ state_attr('sensor.elsbeth',
          'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.robin', 'friendly_name') }} will be {{
          state_attr('sensor.robin', 'years_at_next_anniversary') }}  in {{
          states('sensor.robin') }}  days - {{ state_attr('sensor.robin',
          'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.christian', 'friendly_name') }} will be {{
          state_attr('sensor.christian', 'years_at_next_anniversary') }}  in {{
          states('sensor.christian') }}  days - {{
          state_attr('sensor.christian', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.jim', 'friendly_name') }} will be {{
          state_attr('sensor.jim', 'years_at_next_anniversary') }}  in {{
          states('sensor.jim') }}  days - {{ state_attr('sensor.jim', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.trevor', 'friendly_name') }} will be {{
          state_attr('sensor.trevor', 'years_at_next_anniversary') }}  in {{
          states('sensor.trevor') }}  days - {{ state_attr('sensor.trevor',
          'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.diane', 'friendly_name') }} will be {{
          state_attr('sensor.diane', 'years_at_next_anniversary') }}  in {{
          states('sensor.diane') }}  days - {{ state_attr('sensor.diane',
          'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.susan', 'friendly_name') }} will be {{
          state_attr('sensor.susan', 'years_at_next_anniversary') }}  in {{
          states('sensor.susan') }}  days - {{ state_attr('sensor.susan',
          'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.robins_mum', 'friendly_name') }} will be {{
          state_attr('sensor.robins_mum', 'years_at_next_anniversary') }}  in {{
          states('sensor.robins_mum') }}  days - {{
          state_attr('sensor.robins_mum', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.robins_dad', 'friendly_name') }} will be {{
          state_attr('sensor.robins_dad', 'years_at_next_anniversary') }}  in {{
          states('sensor.robins_dad') }}  days - {{
          state_attr('sensor.robins_dad', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.elsbeths_dad', 'friendly_name') }} will be {{
          state_attr('sensor.elsbeths_dad', 'years_at_next_anniversary') }}  in
          {{ states('sensor.elsbeths_dad') }}  days - {{
          state_attr('sensor.elsbeths_dad', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.elsbeths_mum', 'friendly_name') }} will be {{
          state_attr('sensor.elsbeths_mum', 'years_at_next_anniversary') }}  in
          {{ states('sensor.elsbeths_mum') }}  days - {{
          state_attr('sensor.elsbeths_mum', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.diana', 'friendly_name') }} will be {{
          state_attr('sensor.diana', 'years_at_next_anniversary') }}  in {{
          states('sensor.diana') }}  days - {{ state_attr('sensor.diana',
          'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.timo', 'friendly_name') }} will be {{
          state_attr('sensor.timo', 'years_at_next_anniversary') }}  in {{
          states('sensor.timo') }}  days - {{ state_attr('sensor.timo', 'date')
          }}
        type: markdown
      - content: >
          {{ state_attr('sensor.liz', 'friendly_name') }} will be {{
          state_attr('sensor.liz', 'years_at_next_anniversary') }}  in {{
          states('sensor.liz') }}  days - {{ state_attr('sensor.liz', 'date') }}
        type: markdown
      - content: >
          {{ state_attr('sensor.saskia', 'friendly_name') }} will be {{
          state_attr('sensor.saskia', 'years_at_next_anniversary') }}  in {{
          states('sensor.saskia') }}  days - {{ state_attr('sensor.saskia',
          'date') }}
        type: markdown
    icon: ''
    path: dates-to-remember
    title: Dates to remember

in my lovelace this custom card wont show anymore… it just disappeared one day…

- inner:
          colors:
            - color: var(--label-badge-green)
              value: 0
            - color: var(--label-badge-yellow)
              value: 15000
            - color: var(--label-badge-blue)
              value: 30000
          entity: sensor.sky_adsl_router_kbyte_sec_received
          label: in
          unit: kb
        max: 51200
        min: 0
        outer:
          entity: sensor.sky_adsl_router_kbyte_sec_sent
          label: out
          max: 7168
          min: 0
          unit: kb
        title: Living room
        type: 'custom:dual-gauge-card'

it is my home tab in my lovelace that wont show without a refresh and if I go into configure UI then I have nothing there to edit unless I go to the raw editor.