Restart Home Assistant
system_restart_haRestart Home Assistant after a config change that requires a full restart. Requires confirm=true; causes about 30 seconds of downtime.
Instructions
Restart Home Assistant after an explicit confirmation.
Calls the homeassistant.restart service, which causes roughly 30
seconds of downtime for the whole instance, including this add-on.
Without confirm=True nothing is restarted; the call only returns a
safety prompt describing how to confirm.
Use when: a config change requires a full restart, e.g. after
system_check_config reports the config is valid.
Not for: a no-downtime reload — use system_reload_all; stopping HA
without restarting it — use system_stop_ha; restarting only Core under
Supervisor — use supervisor_restart_core.
Returns: the homeassistant.restart service-call result when confirmed,
otherwise a confirmation prompt.
Errors: returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is false.
Limits: interrupts Home Assistant for about 30 seconds; requires
confirm=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to actually restart HA. False (default) performs no restart and instead returns a confirmation prompt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||