Installation
neilsleightholm-paxton opened this issue · 3 comments
Describe what is wrong
Are the installation instructions correct? I installed via HACS and added the resources section as described (although the path was different) and when restarting HASS I got an error "The system cannot restart because the configuration is not valid: Integration error: resources - Integration 'resources' not found.". Removing the resources fixed this and didn't seem to affect the operation of the card.
YAML configuration
resources:
- url: /config/www/community/battery-state-card/battery-state-card.js
type: module
Screenshot
Version
v2.1.0
HACS 1.24.3
I will update the instruction to be more explicit. Currently it says that the above should be added to the lovelace configuration.
Look at the example yaml config for my HA:
https://github.com/maxwroc/homeassistant/blob/master/configuration.yaml
Ah ok, could this be automatic now? I have the resource when I go to "Configuration - Dashoards - Resources" but I didn't do anything to add it.
I believe that when you don't have the "yaml lovelace configuration" enabled (so you don't have the mode: yaml
in the lovelace section) then HACS automatically adds the resource. Although I'm not sure