Configuration.yaml doesn't work

Hello to everybody, I’m new in home assistant. I have the problem that, when I change the configuration file doesn’t change the web interface. After the modification, i try to restart home assistant typing this line in terminal.

sudo systemctl --system daemon-reload
sudo systemctl enable home-assistant@pi
sudo systemctl start home-assistant@pi

But when I reloaded the web page it doesn’t anything.
I try also to reboot my raspberry, where there is the last version of raspbian with home assistant intalled, but the result doesn’t change

Are you getting errors in the logs or persistent notifications on the front end?

If a component isn’t configured correctly it won’t load and you should see errors in the log and on the front end.

thank you silvrr for, respond me.
In this moment I don’t have with me the log but I remember that when I try to run the service homeassistant/restart they gave me this error …
Failed to call service homeassistant/restart

When I have the possibility I want to delete the configuration file, in fact i read that homeassistant create a new blank file.

Try sudo systemctl restart home-assistant@pi for a simpler restart.

1 Like

the log session tell me:
WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
I rewrite the configuration file like one example of homeassistant official website but it doesn’t change anything

There are some command for restore homeassitant

I am using Hassbian and normally I restart it using
sudo systemctl restart [email protected]

An other way is to go in the web interface, click on “configuration” and then click the restart button

https://home-assistant.io/docs/hassbian/common-tasks/

How exactly did you install HA? What does your environment look like?

1 Like

thanks for everyone but I restore completely mi raspberry pi.
Have I to close this forum?

Assuming you mean do you have to close the thread; no, I just marked your reply as the solution.