Hi, I recently added some custom entity images in my config file using (primarily) Home Assistant Core Integration - Home Assistant and Home Assistant Core Integration - Home Assistant
The problem is that after a reboot, my automations and scripts are gone!
The extra yaml in config is [was]:
homeassistant:
customize:
sensor.example_sensor:
entity_picture: /local/myimage.png
(please note, I used ‘tabs’ in the actual yaml)
The weird thing is the Automations and Scripts YAML files are still there, and are full of info (I copied them both to external plain text files for backup). I’ve restarted the whole machine, so I’m not sure why HA is not ‘seeing’ my YAML files full of info…
Has anyone come across this?
I have backups, but I’d rather not restore, unless I have too as I’ve done a load of work and would need to manually back up other stuff.
I suspect it could be from the configuration change I made, but I used dev tools to check and there was no issue, and even after I removed the changes, there was still an issue (after full reboot).
Other than some custom stuff that has had no issues, my config looks like this :
from the Configuration.yaml - Home Assistant page
Here it is:
# Loads default set of integrations. Do not remove.
default_config:
logger:
default: critical
logs:
# log level for HA core
homeassistant.core: fatal
# log level for MQTT integration
homeassistant.components.mqtt: debug
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /local/card-mod.js
I’m not sure about the logger
, I don’t remember it and I don’t think I added it. Is there a way I can get ‘JUST’ my config file from a backup?
N.B. I’m still on 15.9 as there was an issue in 16.1 with something (I forget what) and I rolled back, but I don’t think that’s part of the issue as that was maybe a week ago…
Thank you for your help/ advice