I’m working on a complex home assistant configuration for a friend who’s husband passed away this July.
The Lovelace UI seems to no be able to find the required resources. Some people have advocated switching into the GUI editing mode for lovelace, but…
The ui-lovelace.yaml file is over 1000 lines long with includes and comments, so I really don’t think I can switch to out of YAML mode to “storage”
I “fixed” the resource lists in the config.yaml file that used to point to “community_plugin” to all point to either /local/community/ or just /local/ and one even pointed to /local/community/github
I reloaded the resources and refreshed the display, but nothing changed.
I even tried to switch all the types from “module” to “js” but when I refreshed and reviewed the resource tab in the Lovalace configuration tab it said Javascript File (deprecated), so I switched them back to “module”
Here’s the first few lines of the lovelace part of configuration.yaml
NOTE: the include line is commented out so these are the resource declarations that are being called AND I did see the changes reflected in the lovelace resources tab.
lovelace:
mode: yaml
resources: # !include lovelace/resources.yaml
- url: /local/community/bar-card/bar-card.js?
type: module
- url: /local/community/button-card/button-card.js
type: module
- url: /local/community/button-entity-row/button-entity-row.js
type: module
Here’s the reference to one of the js files that was in the www diretory and not nested below in the community directory.
- url: /local/lovelace-auto-entities/auto-entities.js
type: module
Here’s a section of the ui-lovelace.yaml file that has both a working card and a non-working card:
(the calendar works and the custom card does not)
- type: calendar
entities:
- calendar.holidays_in_united_states
- calendar.steve_iphone
- calendar.laura_iphone
- calendar.family_dates
initial_view: dayGridMonth
- type: custom:search-card
max_results: 50
- type: custom:auto-entities
show_empty: false
card:
type: custom:fold-entity-row
head:
type: section
label: Lights that are ON
filter:
include:
- domain: light
exclude:
- state: "off"
- state: "unavailable"
Here’s what the dashboard looks like:
Any and all help will be greatly appreciated.
–John