Reboot the host
supervisor_restart_hostReboot the entire host after explicit confirmation for host-level changes like Home Assistant OS updates; the host goes offline for minutes.
Instructions
Reboot the whole host machine after an explicit confirmation.
Calls POST /host/reboot. WARNING: Home Assistant, every add-on
(including this nexus add-on) and the host OS go offline for minutes.
Without confirm=True nothing is rebooted.
Use when: a host-level change (e.g. a Home Assistant OS update) requires a full reboot.
Not for: restarting only Core — use supervisor_restart_core; for
restarting one add-on — use supervisor_restart_addon.
Returns: Supervisor's reboot-job result when confirmed.
Errors: returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is false; {"error": "SUPERVISOR_TOKEN not set — Nexus must run as HA add-on for Supervisor API"} when the
token env var is missing.
Limits: requires confirm=True; takes the whole host, including this
add-on, offline for minutes — the call itself may not receive a reply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to actually reboot the host. False (default) performs no action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||