Hosed lovelace.yaml.. Advice needed

Hello… I’m a relatively new HA user… at some point I must have been trying to mimic someone’s dashboard… my ui-lovelace.yaml is 600 lines long with a whole ton of crap that isn’t valid… My fault for not taking a backup before doing whatever the hell I did… that being said, watchman (which I just found out about today) found all sorts of issues in that file (makes sense)… what’s my best course of action for this?

Sorry for the basic / dumb question… I just don’t want to do something stupid and whack my installation as I’ve logged about 40 hours…

Thanks

600 lines is pretty small, you can just post it here and someone can hlep you fix it

Wow, thanks a lot! Here it is:

button_card_templates:

  !include_dir_merge_named button_card_templates

views:

  - type: custom:grid-layout

    title: Home

    layout:

      #default

      margin: 0

      grid-gap: var(--custom-layout-card-padding)

      grid-template-columns: repeat(4, 1fr) 0

      grid-template-rows: 0 repeat(2, fit-content(100%)) 0fr

      grid-template-areas: |

        "sidebar  .           .       .       ."

        "sidebar  vardagsrum  studio  sovrum  ."

        "sidebar  media       övrigt  hemma   ."

        "sidebar  footer      footer  footer  ."

      mediaquery:

        #phone

        "(max-width: 800px)":

          grid-gap: calc(var(--custom-layout-card-padding) * 1.7)

          grid-template-columns: 0 repeat(2, 1fr) 0

          grid-template-rows: 0 repeat(5, fit-content(100%)) 0fr

          grid-template-areas: |

            ".  .           .        ."

            ".  sidebar     sidebar  ."

            ".  vardagsrum  sovrum   ."

            ".  studio      övrigt   ."

            ".  media       hemma    ."

            ".  footer      footer   ."

            ".  .           .        ."

        #portrait

        "(max-width: 1200px)":

          grid-gap: var(--custom-layout-card-padding)

          grid-template-columns: repeat(3, 1fr) 0

          grid-template-rows: 0 repeat(3, fit-content(100%)) 0fr

          grid-template-areas: |

            "sidebar  .           .       ."

            "sidebar  vardagsrum  sovrum  ."

            "sidebar  studio      övrigt  ."

            "sidebar  media       hemma   ."

            "sidebar  footer      footer  ."

            "sidebar  .           .       ."

    cards:

      #extra_styles fix, do not remove

      #also warn if theme is not set

      - type: custom:button-card

        view_layout:

          grid-area: 1 / 2 / 2 / 5

        name: SET THEME TO "tablet" IN PROFILE

        tap_action:

          action: navigate

          navigation_path: /profile

        styles:

          card:

            - display: >

                [[[

                  return hass.themes.theme === 'tablet'

                      ? 'none'

                      : 'initial';

                ]]]

          name:

            - z-index: 1

            - overflow: visible

            - color: red

            - font-weight: bolder

            - font-size: xxx-large

            - background: yellow

      #################################################

      #                                               #

      #                    SIDEBAR                    #

      #                                               #

      #################################################

      - type: vertical-stack

        view_layout:

          grid-area: sidebar

        cards:

          - type: custom:button-card

            entity: sensor.template_sidebar

            template: sidebar

          - type: conditional

            conditions:

              - entity: input_boolean.laundry_display

                state: 'on'

            card:

              type: custom:button-card

              entity: timer.laundry

              double_tap_action:

                action: call-service

                service: input_boolean.turn_off

                service_data:

                  entity_id: input_boolean.laundry_display

              template: laundry

      #################################################

      #                                               #

      #                  VARDAGSRUM                   #

      #                                               #

      #################################################

      - type: grid

        title: Vardagsrum

        view_layout:

          grid-area: vardagsrum

        columns: 2

        cards:

          - type: custom:button-card

            entity: light.vardagsrum_group

            name: Belysning

            template:

              - light

              - icon_hue

          - type: custom:button-card

            entity: light.vardagsrum_horna

            name: Hörnlampa

            template:

              - light

              - icon_shade

          - type: custom:button-card

            entity: media_player.sony_bravia_tv

            name: Tv

            state_display: >

              [[[

                if (variables.state === 'playing') {

                    return 'På';

                }

                if (variables.state === true) {

                    return variables.translate_unknown;

                }

              ]]]

            double_tap_action:

              !include popup/vardagsrum_tv.yaml

            template:

              - base

              - icon_tv

              - loader

          - type: custom:button-card

            entity: switch.deltaco_sh_p01_socket

            name: Balkong

            double_tap_action:

              !include popup/vardagsrum_balkong.yaml

            template:

              - base

              - icon_hue

              - loader

      #################################################

      #                                               #

      #                    STUDIO                     #

      #                                               #

      #################################################

      - type: grid

        title: Studio

        view_layout:

          grid-area: studio

        columns: 2

        cards:

          - type: custom:button-card

            entity: light.studio_dator

            name: Datorlampa

            template:

              - light

              - icon_hue

          - type: custom:button-card

            entity: light.studio_group

            name: Taklampor

            template:

              - light

              - icon_spot

          - type: custom:button-card

            entity: switch.imac

            name: Dator

            double_tap_action:

              !include popup/studio_dator.yaml

            template:

              - base

              - icon_imac

              - loader

              - lock

            variables:

              lock: >

                [[[

                  let lock = states['input_boolean.imac_lock'];

                  return !lock || lock.state;

                ]]]

              trigger: >

                [[[

                  let trigger = states['script.home_leave'];

                  return !trigger || trigger;

                ]]]

          - type: custom:button-card

            entity: switch.gosund_monitors_switch

            name: Monitorer

            double_tap_action:

              !include popup/studio_monitorer.yaml

            template:

              - base

              - icon_monitors

              - circle

              - loader

            variables:

              circle_input: >

                [[[

                  let volume = states['sensor.monitors_volume'];

                  if (volume) return parseInt(volume.state);

                ]]]

              circle_input_unit: '%'

      #################################################

      #                                               #

      #                    SOVRUM                     #

      #                                               #

      #################################################

      - type: grid

        title: Sovrum

        view_layout:

          grid-area: sovrum

        columns: 2

        cards:

          - type: custom:button-card

            entity: light.sovrum_group

            name: Sänglampor

            template:

              - light

              - icon_lamp

          - type: custom:button-card

            entity: climate.ac

            name: Klimat

            double_tap_action:

              !include popup/sovrum_klimat.yaml

            template:

              - base

              - icon_climate

              - circle

            variables:

              circle_input: >

                [[[

                  if (entity) {

                      return entity.state === 'cool'

                          ? Math.round(entity.attributes.temperature).toString()

                          : Math.round(entity.attributes.current_temperature).toString();

                  }

                ]]]

              circle_input_unit: '°C'

          - type: custom:button-card

            entity: switch.ps5_635_power

            name: Playstation

            double_tap_action:

              !include popup/sovrum_playstation.yaml

            template:

              - base

              - icon_ps5

              - loader

          - type: custom:button-card

            entity: media_player.samsung

            name: "Tv\u00B2"

            double_tap_action:

              !include popup/sovrum_tv2.yaml

            template:

              - base

              - icon_tv

              - loader

      #################################################

      #                                               #

      #                     MEDIA                     #

      #                                               #

      #################################################

      - type: grid

        title: Media

        view_layout:

          grid-area: media

        columns: 1

        cards:

          - type: custom:swipe-card

            parameters:

              speed: 550

              spaceBetween: 40

              threshold: 5

            cards:

              - type: horizontal-stack

                cards:

                  - type: conditional

                    conditions:

                      - entity: select.conditional_media

                        state_not: Vardagsrum

                      - entity: select.conditional_media

                        state_not: Sovrum

                      - entity: select.conditional_media

                        state_not: Spotify

                      - entity: select.conditional_media

                        state_not: Kök

                    card:

                      type: custom:button-card

                      entity: sensor.plex_recently_added

                      name: Senast tillagt

                      tap_action:

                        action: none

                      template:

                        - conditional_media

                        - icon_plex

                  - type: conditional

                    conditions:

                      - entity: select.conditional_media

                        state: Vardagsrum

                    card:

                      type: custom:button-card

                      entity: media_player.vardagsrum

                      triggers_update: sensor.youtube_watching

                      template:

                        - conditional_media

                        - icon_apple_tv

                  - type: conditional

                    conditions:

                      - entity: select.conditional_media

                        state: Sovrum

                    card:

                      type: custom:button-card

                      entity: media_player.sovrum

                      triggers_update: sensor.youtube_watching

                      template:

                        - conditional_media

                        - icon_apple_tv

                  - type: conditional

                    conditions:

                      - entity: select.conditional_media

                        state: Spotify

                    card:

                      type: custom:button-card

                      entity: media_player.spotify

                      template:

                        - conditional_media

                        - icon_spotify

                  - type: conditional

                    conditions:

                      - entity: select.conditional_media

                        state: Kök

                    card:

                      type: custom:button-card

                      entity: media_player.kok

                      template:

                        - conditional_media

                        - icon_nest_mini

              - type: grid

                columns: 2

                cards:

                  - type: custom:button-card

                    entity: media_player.vardagsrum

                    triggers_update: sensor.youtube_watching

                    name: Vardagsrum

                    template:

                      - media

                      - icon_apple_tv

                  - type: custom:button-card

                    entity: media_player.sovrum

                    triggers_update: sensor.youtube_watching

                    name: Sovrum

                    template:

                      - media

                      - icon_apple_tv

                  - type: custom:button-card

                    entity: media_player.spotify

                    name: Spotify

                    template:

                      - media

                      - icon_spotify

                  - type: custom:button-card

                    entity: media_player.kok

                    name: Nest Mini

                    template:

                      - media

                      - icon_nest_mini

      #################################################

      #                                               #

      #                    ÖVRIGT                     #

      #                                               #

      #################################################

      - type: grid

        title: Övrigt

        view_layout:

          grid-area: övrigt

        columns: 2

        cards:

          - type: custom:button-card

            entity: light.badrum_group

            name: Badrum

            template:

              - light

              - icon_bathroom

          - type: custom:button-card

            entity: switch.gosund_fan_switch

            name: "Fläkt\u00B2"

            double_tap_action:

              !include popup/studio_flakt.yaml

            template:

              - base

              - icon_fan2

              - loader

          - type: custom:button-card

            entity: light.garderob_lampa

            name: Garderob

            template:

              - light

              - icon_closet

          - type: custom:button-card

            entity: light.hall_group

            name: Hall

            template:

              - light

              - icon_spot

      #################################################

      #                                               #

      #                     HEMMA                     #

      #                                               #

      #################################################

      - type: grid

        title: Hemma

        view_layout:

          grid-area: hemma

        columns: 2

        cards:

          - type: custom:button-card

            entity: person.matte

            name: Mattias

            triggers_update:

              - sensor.matte_last_changed

            double_tap_action:

              !include popup/hemma_mattias.yaml

            variables:

              retain: sensor.matte_last_changed

            template:

              - person

              - circle

          - type: custom:button-card

            entity: person.sanja

            name: Sanja

            triggers_update:

              - sensor.sanja_last_changed

            double_tap_action:

              !include popup/hemma_sanja.yaml

            variables:

              retain: sensor.sanja_last_changed

            template:

              - person

              - circle

          - type: custom:button-card

            entity: script.home_leave

            name: Stäng allt

            template:

              - base

              - icon_away

          - type: custom:button-card

            entity: script.home_arrive

            name: Hemma

            template:

              - base

              - icon_home

      #################################################

      #                                               #

      #                    FOOTER                     #

      #                                               #

      #################################################

      - type: horizontal-stack

        view_layout:

          grid-area: footer

        cards:

          - type: custom:button-card

            name: >

              <ha-icon icon="mdi:nas"></ha-icon> NAS

            tap_action:

              !include popup/footer_nas.yaml

            triggers_update:

              - update.nas_dsm_update

              - sensor.nas_volume_1_status

              - binary_sensor.nas_security_status

              - sensor.disk_use_percent

            variables:

              notify: >

                [[[

                  let id = this._config.triggers_update;

                  if (id.every(e => states[e]))

                      return states[id[0]].state === 'on'

                          ? 1

                          : states[id[1]].state === 'background_scrubbing' ||

                            states[id[2]].state === 'on' ||

                            parseFloat(states[id[3]].state) >= 85;

                ]]]

            template: footer

          - type: custom:button-card

            entity: sensor.template_updates

            name: >

              <ha-icon icon="mdi:arrow-up-bold-circle-outline"></ha-icon> Uppdatera

            tap_action:

              !include popup/footer_updates.yaml

            variables:

              notify: >

                [[[

                  return parseInt(entity?.state);

                ]]]

            template: footer

          - type: custom:button-card

            name: >

              <ha-icon icon="mdi:robot-vacuum-variant"></ha-icon> Städa

            tap_action:

              !include popup/footer_vacuum.yaml

            triggers_update:

              - sensor.date

            variables:

              notify: >

                [[[

                  let id = states['sensor.morty_last_clean_end'];

                  if (id) return (Date.now() - Date.parse(id.state)) > 6048e5;

                ]]]

            template: footer

          - type: custom:button-card

            name: >

              <ha-icon icon="mdi:chart-line-variant"></ha-icon> Historik

            tap_action:

              !include popup/footer_history.yaml

            template: footer

          - type: custom:button-card

            name: >

              <ha-icon icon="mdi:tablet"></ha-icon> Platta

            tap_action:

              !include popup/footer_tablet.yaml

            variables:

              notify: >

                [[[

                  let id = states['binary_sensor.galaxy_tab_a_plugged_in'];

                  if (id) return id.state === 'off';

                ]]]

            template: footer

          - type: custom:button-card

            name: >

              <ha-icon icon="mdi:router-wireless"></ha-icon> Router

            tap_action:

              !include popup/footer_router.yaml

            triggers_update:

              - update.unifi_dream_machine

              - binary_sensor.template_udm_internet

            variables:

              notify: >

                [[[

                  let id = this._config.triggers_update;

                  if (id.every(e => states[e]))

                      return states[id[0]].state === 'on'

                          ? 1

                          : states[id[1]].state === 'off';

                ]]]

            template: footer

And my watchman report:

-== Watchman Report ==- 

-== Missing 10 service(s) from 35 found in your config:
+--------------------------------+---------+--------------------------------------------------------------+
| Service ID                     | State   | Location                                                     |
+--------------------------------+---------+--------------------------------------------------------------+
| browser_mod.popup              | missing | button_card_templates/updates.yaml:177                       |
| browser_mod.javascript         | missing | button_card_templates/updates.yaml:192                       |
| notify.mobile_app_sanja_iphone | missing | popup/hemma_sanja.yaml:78                                    |
| _13                            |         |                                                              |
| browser_mod.sequence           | missing | popup/footer_updates.yaml:49,82                              |
| browser_mod.notification       | missing | popup/footer_updates.yaml:52,85                              |
| shell_command.imac_sleep       | missing | popup/studio_dator.yaml:116                                  |
| shell_command.imac_restart     | missing | popup/studio_dator.yaml:124                                  |
| notify.mobile_app_iphone       | missing | popup/hemma_mattias.yaml:79                                  |
| browser_mod.delay              | missing | popup/footer_nas.yaml:137,155                                |
| shell_command.restart_containe | missing | popup/footer_nas.yaml:158                                    |
| r                              |         |                                                              |
+--------------------------------+---------+--------------------------------------------------------------+

-== Missing 136 entity(ies) from 176 found in your config:
+--------------------------------+---------+--------------------------------------------------------------+
| Entity ID                      | State   | Location                                                     |
+--------------------------------+---------+--------------------------------------------------------------+
| switch.1001804769_1            | missing | scenes.yaml:16,22                                            |
| sensor.template_sidebar        | unavail | ui-lovelace.yaml:84                                          |
| input_boolean.laundry_display  | missing | ui-lovelace.yaml:89,98                                       |
| timer.laundry                  | missing | ui-lovelace.yaml:93                                          |
| light.vardagsrum_group         | missing | ui-lovelace.yaml:115                                         |
| light.vardagsrum_horna         | missing | ui-lovelace.yaml:122                                         |
| media_player.sony_bravia_tv    | missing | ui-lovelace.yaml:129                                         |
| switch.deltaco_sh_p01_socket   | missing | ui-lovelace.yaml:148                                         |
| light.studio_dator             | missing | ui-lovelace.yaml:171                                         |
| light.studio_group             | missing | ui-lovelace.yaml:178                                         |
| switch.imac                    | missing | ui-lovelace.yaml:185                                         |
| input_boolean.imac_lock        | missing | ui-lovelace.yaml:197                                         |
| lock.state                     | missing | ui-lovelace.yaml:198                                         |
| script.home_leave              | missing | ui-lovelace.yaml:202,494                                     |
| switch.gosund_monitors_switch  | missing | ui-lovelace.yaml:207                                         |
| sensor.monitors_volume         | missing | ui-lovelace.yaml:219                                         |
| light.sovrum_group             | missing | ui-lovelace.yaml:238                                         |
| climate.ac                     | missing | ui-lovelace.yaml:245                                         |
| switch.ps5_635_power           | missing | ui-lovelace.yaml:265                                         |
| media_player.samsung           | missing | ui-lovelace.yaml:275                                         |
| select.conditional_media       | missing | ui-lovelace.yaml:309,312,315,318,332,344,356,367             |
| sensor.plex_recently_added     | missing | ui-lovelace.yaml:322                                         |
| media_player.vardagsrum        | missing | ui-lovelace.yaml:336,381                                     |
| sensor.youtube_watching        | missing | ui-lovelace.yaml:337,349,382,390                             |
| media_player.sovrum            | missing | ui-lovelace.yaml:348,389                                     |
| media_player.spotify           | missing | ui-lovelace.yaml:360,397                                     |
| media_player.kok               | missing | ui-lovelace.yaml:371,404                                     |
| light.badrum_group             | missing | ui-lovelace.yaml:424                                         |
| switch.gosund_fan_switch       | missing | ui-lovelace.yaml:431                                         |
| light.garderob_lampa           | missing | ui-lovelace.yaml:441                                         |
| light.hall_group               | missing | ui-lovelace.yaml:448                                         |
| person.matte                   | missing | ui-lovelace.yaml:468                                         |
| sensor.matte_last_changed      | missing | ui-lovelace.yaml:471,475                                     |
| person.sanja                   | missing | ui-lovelace.yaml:481                                         |
| sensor.sanja_last_changed      | missing | ui-lovelace.yaml:484,488                                     |
| script.home_arrive             | missing | ui-lovelace.yaml:501                                         |
| sensor.disk_use_percent        | missing | ui-lovelace.yaml:527                                         |
| sensor.template_updates        | missing | ui-lovelace.yaml:542                                         |
| sensor.date                    | missing | ui-lovelace.yaml:560                                         |
| sensor.morty_last_clean_end    | missing | ui-lovelace.yaml:564                                         |
| binary_sensor.galaxy_tab_a_plu | missing | ui-lovelace.yaml:584                                         |
| gged_in                        |         |                                                              |
| binary_sensor.template_udm_int | missing | ui-lovelace.yaml:596                                         |
| ernet                          |         |                                                              |
| light.vardagsrum_tv            | missing | sidebar.yaml:42                                              |
| light.vardagsrum_golv          | missing | sidebar.yaml:43                                              |
| light.badrum_vask_2            | missing | sidebar.yaml:46                                              |
| light.badrum_vask_1            | missing | sidebar.yaml:47                                              |
| light.sovrum_tv                | missing | sidebar.yaml:48                                              |
| light.hall_spot_1              | missing | sidebar.yaml:50                                              |
| light.hall_spot_2              | missing | sidebar.yaml:51                                              |
| light.hall_spot_3              | missing | sidebar.yaml:52                                              |
| light.sovrum_mattias           | missing | sidebar.yaml:53                                              |
| light.sovrum_sanja             | missing | sidebar.yaml:54                                              |
| light.studio_spot_1            | missing | sidebar.yaml:55                                              |
| light.studio_spot_2            | missing | sidebar.yaml:56                                              |
| sensor.mailbox                 | missing | sidebar.yaml:102                                             |
| vacuum.morty                   | missing | sidebar.yaml:107                                             |
| weather.smhi_home              | missing | sidebar.yaml:114                                             |
| calendar.tvatta                | missing | sidebar.yaml:124                                             |
| zone.work		                 | missing | automations.yaml:174                                         |
| camera.generic_stream          | missing | custom_components/webrtc/services.yaml:20,66                 |
| media_player.mibox4            | missing | custom_components/webrtc/services.yaml:51                    |
| switch.galaxy_tab_a_screensave | missing | button_card_templates/settings.yaml:3                        |
| r                              |         |                                                              |
| media_player.tablet            | missing | button_card_templates/settings.yaml:4                        |
| sensor.time                    | missing | button_card_templates/person.yaml:16                         |
| input_number.fan_timer         | missing | popup/studio_flakt.yaml:23                                   |
| sensor.template_domain_counter | missing | popup/footer_history.yaml:425,428,431,434,437,440,443,446    |
| sensor.template_udm_cpu        | missing | popup/footer_history.yaml:508                                |
| sensor.template_udm_cpu_temp   | missing | popup/footer_history.yaml:566                                |
| automation.balcony_lights      | missing | popup/vardagsrum_balkong.yaml:23                             |
| device_tracker.sanjas_iphone_u | missing | popup/hemma_sanja.yaml:40                                    |
| nifi                           |         |                                                              |
| device_tracker.sanja_iphone_13 | missing | popup/hemma_sanja.yaml:49,55                                 |
| sensor.udm_unifios             | missing | popup/footer_router.yaml:6                                   |
| sensor.template_udm_mem        | missing | popup/footer_router.yaml:50                                  |
| sensor.template_udm_disk       | missing | popup/footer_router.yaml:51                                  |
| sensor.template_udm_uptime     | missing | popup/footer_router.yaml:53                                  |
| script.samsung_tv_energy_savin | missing | popup/sovrum_tv2.yaml:24                                     |
| g                              |         |                                                              |
| script.bedroom_tv_night        | missing | popup/sovrum_tv2.yaml:26                                     |
| sensor.current_version         | missing | popup/footer_updates.yaml:32,42                              |
| sensor.docker_hub              | missing | popup/footer_updates.yaml:36,45                              |
| sensor.docker_hub_beta         | missing | popup/footer_updates.yaml:37,46                              |
| sensor.hass_release_notes      | missing | popup/footer_updates.yaml:38                                 |
| sensor.hass_release_notes_beta | missing | popup/footer_updates.yaml:39                                 |
| switch.docker_watchtower       | missing | popup/footer_updates.yaml:57                                 |
| sensor.template_other_updates  | missing | popup/footer_updates.yaml:65                                 |
| sensor.hacs_installed          | missing | popup/footer_updates.yaml:66                                 |
| sensor.updates_esphome_latest  | missing | popup/footer_updates.yaml:91                                 |
| sensor.updates_kemper          | missing | popup/footer_updates.yaml:92                                 |
| sensor.broadlink_temperature   | missing | popup/sovrum_klimat.yaml:127,169                             |
| sensor.broadlink_humidity      | missing | popup/sovrum_klimat.yaml:129                                 |
| binary_sensor.sovrum_contact_c | missing | popup/sovrum_klimat.yaml:186                                 |
| ontact                         |         |                                                              |
| automation.climate_safeguard   | missing | popup/sovrum_klimat.yaml:189                                 |
| timer.climate                  | missing | popup/sovrum_klimat.yaml:193                                 |
| switch.climate_timer           | missing | popup/sovrum_klimat.yaml:194                                 |
| input_number.climate_timer     | missing | popup/sovrum_klimat.yaml:197                                 |
| sensor.imac_cpu                | missing | popup/studio_dator.yaml:6,59,64                              |
| sensor.imac_mem                | missing | popup/studio_dator.yaml:7,66,71                              |
| binary_sensor.template_imac_vp | missing | popup/studio_dator.yaml:8,83                                 |
| n                              |         |                                                              |
| sensor.template_imac_macintosh | missing | popup/studio_dator.yaml:73,78                                |
| _hd                            |         |                                                              |
| automation.imac_notification_m | missing | popup/studio_dator.yaml:80,146                               |
| otion_hall                     |         |                                                              |
| sensor.imac_uptime             | missing | popup/studio_dator.yaml:81                                   |
| sensor.imac_ip                 | missing | popup/studio_dator.yaml:88                                   |
| device_tracker.mattias_iphone_ | missing | popup/hemma_mattias.yaml:41,50                               |
| unifi                          |         |                                                              |
| device_tracker.iphone          | missing | popup/hemma_mattias.yaml:56,94                               |
| switch.galaxy_tab_a_screen     | missing | popup/footer_tablet.yaml:19                                  |
| number.galaxy_tab_a_screen_bri | missing | popup/footer_tablet.yaml:23                                  |
| ghtness                        |         |                                                              |
| sensor.galaxy_tab_a_battery    | missing | popup/footer_tablet.yaml:58                                  |
| sensor.galaxy_tab_a_battery_le | missing | popup/footer_tablet.yaml:64                                  |
| vel                            |         |                                                              |
| sensor.template_fullykiosk_mem | missing | popup/footer_tablet.yaml:79,86                               |
| ory                            |         |                                                              |
| sensor.template_fullykiosk_sto | missing | popup/footer_tablet.yaml:88,95                               |
| rage                           |         |                                                              |
| button.galaxy_tab_a_load_start | missing | popup/footer_tablet.yaml:121                                 |
| _url                           |         |                                                              |
| button.galaxy_tab_a_restart_br | missing | popup/footer_tablet.yaml:137                                 |
| owser                          |         |                                                              |
| sensor.template_vacuum_filter  | missing | popup/footer_vacuum.yaml:90                                  |
| sensor.template_vacuum_mainbru | missing | popup/footer_vacuum.yaml:91                                  |
| sh                             |         |                                                              |
| sensor.template_vacuum_sidebru | missing | popup/footer_vacuum.yaml:92                                  |
| sh                             |         |                                                              |
| sensor.template_vacuum_sensors | missing | popup/footer_vacuum.yaml:93                                  |
| camera.vacuum_map              | missing | popup/footer_vacuum.yaml:223                                 |
| automation.tv_on_lights        | missing | popup/vardagsrum_tv.yaml:25                                  |
| binary_sensor.monitors_mute_st | missing | popup/studio_monitorer.yaml:31                               |
| ate                            |         |                                                              |
| input_number.monitors_volume   | missing | popup/studio_monitorer.yaml:46,79,88                         |
| automation.monitors_turn_off   | missing | popup/studio_monitorer.yaml:49                               |
| automation.monitors_calibratio | missing | popup/studio_monitorer.yaml:51                               |
| n                              |         |                                                              |
| switch.monitors_mute           | missing | popup/studio_monitorer.yaml:67                               |
| sensor.template_hass_next_rele | missing | popup/footer_nas.yaml:82                                     |
| ase                            |         |                                                              |
| sensor.databas                 | missing | popup/footer_nas.yaml:84                                     |
| sensor.home_assistant_log_size | missing | popup/footer_nas.yaml:87                                     |
| sensor.docker_homeassistant    | missing | popup/footer_nas.yaml:92,114,119                             |
| sensor.docker_1cpu             | missing | popup/footer_nas.yaml:183                                    |
| sensor.docker_memory_percent   | missing | popup/footer_nas.yaml:186                                    |
| sensor.docker_containers_total | missing | popup/footer_nas.yaml:189                                    |
| sensor.docker_containers_runni | missing | popup/footer_nas.yaml:192                                    |
| ng                             |         |                                                              |
| sensor.docker_containers_pause | missing | popup/footer_nas.yaml:195                                    |
| d                              |         |                                                              |
| sensor.docker_containers_stopp | missing | popup/footer_nas.yaml:198                                    |
| ed                             |         |                                                              |
| switch.docker_transmission_see | missing | popup/footer_nas.yaml:201                                    |
| d                              |         |                                                              |
| sensor.template_nas_status     | missing | popup/footer_nas.yaml:282                                    |
| button.nas_reboot              | unknown | popup/footer_nas.yaml:348                                    |
| button.nas_shutdown            | unknown | popup/footer_nas.yaml:366                                    |
+--------------------------------+---------+--------------------------------------------------------------+

-== Report created on 25 Jul 2023 09:30:55
-== Parsed 64 files in 0.15s., ignored 0 files 
-== Generated in: 0.04s. Validated in: 0.00s.

every one of your includes is wrong

good:

field: !include xyz.abc

bad:

field:
  !include xyz.abc

If that somehow worked for you in the past, I’m not sure how it could have because you’re missing multi-line notation which lets yaml know the next line contains the information.

Outside that, it looks fine.

Ignoring watchman for now, what errors do you have in your logs from frontend?

1 Like

Thanks for the reply and help… So I guess what I’m asking is, what can I completely wipe out of this file to have it clean? Is this file strictly related to dashboards and views? I must have been trying to mimic someone’s dashboard and they posted the files etc… I copied / pasted into mine…

Problem is, it was all a different language and became more trouble then it was worth so I don’t even use that dashboard… I just don’t want it in there and not sure what it will break, and what all I need to delete.

this would be the bare minimum:

views: []

If I wiped everything else (I plan on just making a backup of the file) would that delete any dashboards I made?

You could start with a basic configuration file and copy sections over little by little from your backup.
Leaving the code out for your dashboards doesn’t prevent your HA from starting.

This might be a wake-up call to make backups in the future or curse and start over again in case of a problem.

For sure… I have backups implemented now… Thanks for the help!

Why aren’t you leaving this dashboard as it is and work simply with a complete new dashboard, that you can start from scratch?

Go to Settings > Dashboards, setup a new dashboard and set it as the default dashboard. Afterwards you can copy from the old dashboard what you need and paste it into the new one. In the end you delete the old dashboard and you should be good to go. :slight_smile:

Good that your issue is solved!

Please take the time to mark the answer as solution, you do that by selecting the three dots under the post:

image

Then select the check box:

image

This can be useful to other users as well and prevents that someone else steps in to try to help you.

I have numerous dashboards I’ve created… I don’t even know what one is using the code in the lovelace.ui file… That’s also why I’m confused… :confused:

overview is ui-lovelace.yaml