I am relatively new to the HASS community so any help would be greatly appreciated. I installed Home Assistant on a docker image on my Synology NAS and it has been stable ever since. However, when I try to edit the config.yml file, I always get an error massage that the configuration failed when I restart Home Assistant, even though the integrations work when I make the changes in the GUI.
I installed a plain text editor (Text Editor) in diskstation so I wouldn’t have to download the config file every time I wanted to edit it.
No I haven’t done a config test before I restart. Another thing I noticed, is that all the integrations that I perform using the GUI, aren’t automatically updating the config file either. So right now I have a roomba, 3 ring cameras with motion sensors, 2 TVs, and a bunch of smart switches, all of which I used the GUI and/or self discovered but none of these are visible in my config file. Is this normal?
Yes that’s normal. All UI configured integrations have their settings stored in the registry rather than the configuration.yaml file.
Do a configuration check before restarting and it will point out what to fix.
You may have to enable advanced mode in your profile before this is visible in the configuration / server controls menu. No idea why it was hidden it like that. It’s pretty much essential.
Hey Tom, thanks for showing me the advanced mode. I have enabled that option and in the Configuration Validation screen, it keeps reading that these basic configurations, like my Samsung TV for instance, are reading as “not found”
This is my config file below:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
samsung_tv:
- host: this is my IP
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Aborted
This Samsung TV device is currently not supported.
Now, the weird thing is that I had previously been able to add this samsung TV via the UI, with basic controls (on/off and TTS) but now it is sending me this error.
Then I would go over the installation instructions again to make sure you have done it correctly.
Taking particular care in how you download the repository. Downloading the whole thing as a zip file is best. Also you need to restart after installing it.
I downloaded the zip file, and made the necessary changes to my configuration file according to the instructions on the webpage. I also always restart the docker image before logging back in for the configuration to populate.
Below is my file structure in synology NAS where home assistant is setup.