Home Assistant reports that the operating system update is installed. The entity state flips to off with installed_version set to the new release. It looks like the job is done.
It is not.
On our system, that state change happened 19 seconds after the install call. That is far too fast for a system image to be written, verified, and swapped on disk. The entity is describing the installation status, not the boot status. The host had not rebooted. HA Core was still running the old kernel.
This confusion is common because the UI hides the underlying mechanism. Home Assistant OS uses RAUC (Robust Auto-Update Controller) for A/B partitioning. The new image is written to the inactive slot. It only becomes active when the host reboots and the bootloader switches to the new partition.
If you assume “installed” means “running,” you might miss critical security patches or bug fixes. You might also waste time troubleshooting issues that were already fixed in the new version, not realizing you are still on the old one.
Here is how to verify the actual running version and why your API checks might fail even with a valid admin token.
The A/B Slot Reality
Home Assistant OS is designed for reliability. If an update fails during the boot process, the system can roll back to the previous partition. This requires two distinct partitions: Slot A and Slot B.
When you trigger an update, RAUC downloads the image and flashes it to the slot that is currently inactive. The update.home_assistant_operating_system_update entity updates its installed_version attribute immediately upon successful flash. It does not wait for a reboot.
In our case, the update entity flipped to 18.3 just 19 seconds after the call. However, there was no entity-startup burst in Home Assistant when the update ran. The host had not rebooted. The system was still running 18.2.
To confirm, we checked the RAUC slot table after the reboot. This is the source of truth for which version is actually live.
You can access this via the Supervisor API. The REST endpoint /api/hassio/os/info is often restricted. Instead, use the WebSocket API. Connect to the WebSocket interface and send the supervisor/api command with the endpoint /os/info.
The response contains a boot_slots object. It looks like this:
{
"boot_slots": {
"A": {
"state": "booted",
"version": "18.3"
},
"B": {
"state": "inactive",
"version": "18.2"
}
}
}
The slot with state: booted is the one the kernel is currently using. The version attached to it is the real running version. The other slot is the standby partition.
To check when the host last booted, ask the same WebSocket command for /host/info and read boot_timestamp. If it matches the time you scheduled the reboot, the update is live. If it is older, the host is still on the previous version.
This pattern applies to other updates too. When we updated the Spook integration via HACS, version 5.5.0 was installed on disk. But HA Core continued running code from version 5.4.0 until the next restart. “Installed” on disk does not mean “loaded” in memory.
Why the API Returns 401
A separate issue confused the verification process. We tried to check the OS info using a standard HTTP REST call to /api/hassio/os/info with an admin token. It returned a 401 Unauthorized error.
The immediate assumption was that the token was invalid or not admin, and the proposed fix was to generate a new admin token. That would have been the wrong move.
The token was valid. It had full admin privileges. It could read /api/config/config_entries/entry, which HA explicitly refuses to non-admin users. The 401 was not an authentication failure; it was an authorization failure at the proxy level.
Home Assistant’s /api/hassio REST proxy does not forward all Supervisor endpoints. It matches the path against a short allow-list (backups, logs, add-on changelogs and similar), and os/info is not on it. For any path outside the list the proxy returns 401, even to an admin; you can see this in the Home Assistant Core source.
This is a subtle distinction. A 401 from a proxy often means “method not allowed” or “endpoint not exposed,” not “invalid credentials.”
To reach Supervisor endpoints the REST proxy does not forward, such as OS info and host info, use the WebSocket API. The command is supervisor/api. You provide the endpoint path and the HTTP method (usually get).
{"id": 1, "type": "supervisor/api", "endpoint": "/os/info", "method": "get"}
This command passes through to the Supervisor directly, bypassing the REST proxy restrictions. The same admin token works perfectly.
If you are writing scripts to monitor your HAOS updates, switch to the WebSocket interface. It is more reliable and gives access to the full Supervisor API surface.
Verification Steps
Do not trust the update entity state alone. Follow this checklist to confirm an OS update is actually running.
- Trigger the update. Note the time.
- Wait for the reboot. The host must restart for RAUC to switch slots.
- Check the boot timestamp. Query
/host/infoand readboot_timestamp. Compare the boot time to your update time. If they match, the reboot happened. - Verify the slot version. Use the WebSocket API to check
boot_slots. Ensure thebootedslot matches the installed version. - Check Core logs. Look for a startup burst. If HA Core restarted, it likely picked up the new OS environment.
If the boot timestamp is old, the update is not live. Schedule a reboot.
If the slot version is old, the flash failed or the reboot did not occur. Check the Supervisor logs for errors.
Backup Safety
Before installing this OS update, we took a copy of the .storage directory. This directory contains the entity registry, device registry, config entries, and authentication tokens.
Our copy contained 76 files and 7.1 MB of data.
However, this directory also contains refresh tokens and secrets. If you version control your configuration in Git, you must exclude .storage from your repository. Committing this data exposes your authentication credentials.
Add .storage/ to your .gitignore file. Ensure your backup strategy keeps copies of this directory, but never push it to a public or shared repository.
The Registration Trap
A related verification issue involves device registrations. On the same system, two phone registrations both appeared active. The last_changed attribute for both was set to the morning restart time.
last_changed is updated when a state changes. After a restart, many entities reset or update their timestamps. This makes last_changed useless for determining recent activity immediately after a reboot.
To distinguish between a live device and a stale registration, we checked the Recorder history over a 7-day period.
The dead registration had only 1 row and 1 distinct value. It was not sending data. The live registration had 107 rows and 16 distinct values. It was actively reporting.
Do not rely on last_changed for immediate post-reboot verification. Use the Recorder statistics or check the actual state updates over a longer window.