this post was submitted on 09 Nov 2023
4 points (75.0% liked)

homeassistant

12084 readers
6 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

Hey @homeassistant #HomeAssistant people, sometimes editing my config yaml file and need to reload it over an over again as one does.

It takes navigation to settings and five or six mouse clicks to restart HA each time (reload yaml doesn't seem to reload config items) so I'd like to have a command line capability to do that.

Tried "ha restart" but that doesn't seem to be a thing.

Is there an HA command for that, or is the web UI the only way to do it?

[ running HASSIO on an RPi4B ]

all 4 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

@homeassistant
AHA - found this link which describes several ha commands, and the one:

ha core restart

looked promising – and turns out that works nicely in the SSH shell.

https://www.home-assistant.io/common-tasks/os/