Home Assistant 2026.12 breaking changes: how to upgrade in Docker
Table of contents
- Key takeaways
- What Home Assistant 2026.12 breaks on a Docker install
- Recorder with a % in db_url: 2026.12 opens an empty database
- The fix I recommend: rename the file
- The fix in the notes, %25, ties you to 2026.12
- TypeError: Flow step user of ... returned result type 'form', which is not a FlowResultType
- Z-Wave JS in Docker: upgrade zwave-js-ui first
- Names that change: one device per outlet in Matter, ZHA, HomeKit and UniFi
- How to check your configuration before you upgrade
- How to upgrade Home Assistant to 2026.12 in Docker
- Can you roll back from 2026.12 to 2026.11?
- Problems I ran into
- Frequently asked questions
- Does the recorder change affect me if I use the default database?
- How do I know whether my custom integrations will fail?
- Has Watchtower already upgraded me to 2026.12?
- Conclusion
- Sources
Home Assistant 2026.12 shipped on 2 December with 38 sections of breaking changes. In Docker, check two before you upgrade: a recorder db_url with a % opens an empty database, and custom integrations with old-style flows fail with a TypeError. Rolling back to 2026.11.3 worked without errors.
Home Assistant 2026.12 shipped on 2 December 2026 with 38 sections of breaking changes, and on a Docker install two of them can leave you without history or without an integration. The first is a recorder db_url with a % in the database name; the second, custom integrations that build their config flow result by hand. I reproduced both on 3 December with the 2026.11.3 and 2026.12.0 images in Docker on Linux arm64 (aarch64). There is a Spanish version of this guide.
Key takeaways
- The
stableandlatesttags already point to 2026.12.0, with the same digest: if Watchtower updates your container, you already run it. - SQLAlchemy moves from 2.0.54 to 2.1.9 and decodes the
%indb_url: withha%20db.db, 2026.12 opened a new, empty database without logging a single warning. - A custom integration that returns
"type": "form"as a string fails with aTypeError; 2026.11.3 only logged a warning. - If you run Z-Wave JS UI in Docker, upgrade it first to 11.26.2 or later, which ships zwave-js-server 3.12.0.
- Going back to 2026.11.3 on the 2026.12 configuration worked without a single
ERROR, because only minor.storageversions change.
What Home Assistant 2026.12 breaks on a Docker install
Each of the 38 sections in the 2026.12 release notes[1] covers one integration or a group of them, such as AccuWeather, Vallox or Tuya. These are the ones that matter if you run Home Assistant Container or upgrade by image tag:
| Change | Who it affects | What to do |
|---|---|---|
Recorder and SQL decode % |
db_url with % and two hex digits in the name |
Rename the database before upgrading |
| Flows with the type as a string | Old custom integrations | Update the integration or wait |
| zwave-js-server 3.12.0 minimum | Your own Z-Wave JS UI or zwave-js-server | Upgrade that container first |
| One child device per output | Matter, ZHA, HomeKit Device and UniFi Network | Review templates that use friendly_name |
| Disk space sensors disabled | Portainer integration | Re-enable them on the entity |
| Fitbit and Crownstone removed | Anyone using them | Move to Google Health for Fitbit |
| AprilAire migration with no way back | AprilAire thermostats | Archive config before upgrading |
The image itself changes little. Both releases ship Python 3.14.10 on Alpine 3.24.3, and the compressed arm64 size goes from 656 to 674 MB.
Recorder with a % in db_url: 2026.12 opens an empty database
If your db_url has a % followed by two hex digits in the database name or the SQLite file path, 2026.12 reads it as an escaped character. The notes put it this way: "Otherwise Home Assistant connects to a different database, or creates a new, empty SQLite database". The change comes from PR #188514[2], which bumps SQLAlchemy, the database library behind the recorder.
I reproduced it with this configuration, which on 2026.11.3 creates a file named ha%20db.db on disk, % included:
recorder:
db_url: "sqlite:////config/ha%20db.db"
On 2026.11.3 I stored 21 rows in the states table, three of them from a test sensor. After switching the tag to 2026.12.0, the config directory had a new file:
-rw-r--r-- 1 root root 4096 Dec 3 16:53 ha db.db
-rw-r--r-- 1 root root 233472 Dec 3 16:47 ha%20db.db
2026.12 was writing to ha db.db, with a space, and the history API returned [] for the sensor. The log had no recorder warning and the interface worked as usual. Only the earlier history was missing.
The fix I recommend: rename the file
Stop the container, rename the database to a name without % and point db_url at it. Move the -wal and -shm files too if they exist:
docker compose stop
cd config
for s in "" -wal -shm; do
[ -e "ha%20db.db$s" ] && sudo mv "ha%20db.db$s" "ha_db.db$s"
done
sed -i 's|ha%20db.db|ha_db.db|' configuration.yaml
cd .. && docker compose up -d
With db_url: "sqlite:////config/ha_db.db", both 2026.11.3 and 2026.12.0 started without errors and both returned the three sensor values. If db_url lives in secrets.yaml, change the path there. With MariaDB or PostgreSQL the rule is the same for the database name, but I have not tested it: according to the notes, usernames and passwords behave as before.
The fix in the notes, %25, ties you to 2026.12
The notes suggest writing the % as %25. I tested it with sqlite:////config/ha%2520db.db and 2026.12.0 got the history back. The problem came when I went back to 2026.11.3, which does not decode: it created another empty file named ha%2520db.db and the history came back empty again. That is why I prefer renaming.
TypeError: Flow step user of ... returned result type 'form', which is not a FlowResultType
Custom integrations whose config flows return the result type as a string, such as "form" or "abort", stop working in 2026.12. The change comes with PR #189583[3]; the notes point out it has logged a warning since 2022.7. I reproduced it with a test integration, legacyflow. When 2026.12.0 started, the log showed this:
ERROR (MainThread) [homeassistant] Error doing job: Task exception was
never retrieved (task: None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py",
line 560, in _async_handle_step
raise TypeError(
TypeError: Flow step import of legacyflow returned result type 'form',
which is not a FlowResultType
When I added the integration from the interface, the API answered 500 Internal Server Error and the log showed the same error with Flow step user. 2026.11.3 accepted that flow and wrote this warning to docker logs, which lets you spot it beforehand:
WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom
integration 'legacyflow' does not use FlowResultType enum for data entry
flow result type [...] This will stop working in Home Assistant 2025.1
If you use the integration, look for a new release in its repository or stay on 2026.11.3 until one ships. If you maintain it, use the flow class methods, as the config flow documentation[4] explains. In my integration this change was enough:
# Before: return {"type": "form", "step_id": "user", ...}
return self.async_show_form(step_id="user")
After a restart, the API returned the form with status 200 and the log stayed free of errors.
Z-Wave JS in Docker: upgrade zwave-js-ui first
The Z-Wave integration in 2026.12 requires zwave-js-server 3.12.0 or later, with schema 52. If you run it with the Z-Wave JS UI image, you need release 11.26.2[5], published on 10 November 2026, which is the one that bumps @zwave-js/server to 3.12.0. Upgrade that container first and Home Assistant afterwards.
To see which tag you run, check the container image:
docker inspect --format '{{.Config.Image}}' zwave-js-ui
Replace zwave-js-ui with your container name. I have not tested it with a real Z-Wave controller: my lab has none.
Names that change: one device per outlet in Matter, ZHA, HomeKit and UniFi
Power strips, dual plugs and multi-gang switches now get a child device per output in Matter, Zigbee Home Automation (ZHA), HomeKit Device and UniFi Network. Entity IDs do not change, so automations that use them keep working.
What changes is the displayed name, friendly_name. The example in the notes is a dual Eve Energy plug: its top outlet goes from Eve Energy 20ECN4101 Switch (top) to Top.
Review the templates and notifications that show friendly_name. In UniFi Network, device_entities() on the parent device no longer includes the ports. I have not tested this: I do not have that hardware in the lab.
How to check your configuration before you upgrade
Two grep searches catch the two failures I reproduced, and they run on the config directory without stopping anything. The first looks for a % with two hex digits in the database URL; the second, for flows that return the type as a string:
grep -nE '(db_url|sqlite|mysql|postgresql).*%[0-9A-Fa-f]{2}' \
config/*.yaml
grep -rnE "['\"]type['\"]: *['\"](form|abort|create_entry)['\"]" \
config/custom_components
On the archive of my 2026.11.3, both found what they were looking for:
config/configuration.yaml:4: db_url: "sqlite:////config/ha%20db.db"
config/custom_components/legacyflow/config_flow.py:15: "type": "form",
If neither prints anything, also check the current log with docker logs homeassistant 2>&1 | grep FlowResultType. A warning there is an integration that will fail on 2026.12.
How to upgrade Home Assistant to 2026.12 in Docker
Stop the container, archive the whole config directory and change the tag. The starting point is a compose.yaml like the one in the Home Assistant Docker install guide, with the tag pinned to 2026.11.3:
docker exec homeassistant cat /config/.HA_VERSION
docker compose stop
sudo tar czf ha-config-2026.11.3.tar.gz config
sed -i 's/home-assistant:2026.11.3/home-assistant:2026.12.0/' compose.yaml
docker compose up -d
The first command tells you which tag to go back to. You need sudo because the container writes config as root. In my lab the archive took 1.3 MB; yours will weigh about as much as your database.
Once it starts, check the version, the errors and that no second database appeared:
docker exec homeassistant cat /config/.HA_VERSION
docker logs homeassistant 2>&1 | grep -cE 'ERROR|TypeError'
ls -la config/*.db
In my test they returned 2026.12.0, 0 and a single .db file. If you use Watchtower to update containers with the stable tag, this check is all you have left. On 3 December, stable, latest and 2026.12.0 shared the digest sha256:c9919da0a62f, so the upgrade will already have happened.
Can you roll back from 2026.12 to 2026.11?
You can, at least in my lab. Unlike the .storage/http error after rolling back from 2026.11, 2026.12 does not raise the major version of any file my install used. I compared the 18 .storage files before and after:
httpgoes from version 3.1 to 3.2, a minor change that 2026.11 reads- Five new files appear, among them
marketplace.commonandtrace.saved_traces - No existing file changes its major version
With the tag back on 2026.11.3 and the 2026.12 configuration, Home Assistant started with 0 ERROR lines. I also tested the full path, restoring the .tar.gz with the container stopped, and 2026.11.3 started with its history intact.
There are three exceptions. In the 2026.12.0 code, the Google Calendar local cache goes from version 1 to 2 (google/store.py). After a rollback I would expect a storage version error, but I have not tested it.
AprilAire migrates the thermostat MAC address with no way back, according to the notes. The third is the recorder %25, which you have already seen.
Problems I ran into
The first is that the recorder failure is invisible. The container is healthy, the interface loads and the log stays quiet: only the history in the graphs starts at the moment of the upgrade. Whatever gets written to the new database does not flow back to the old one by itself, so check ls config/*.db in the first few minutes.
The second is that the official fix, %25, looks right and is right as long as you stay on 2026.12. I noticed the problem when I went back to 2026.11.3 and found a third empty database.
The third is the SQLite side files. If you rename ha%20db.db and leave the -wal behind, you can lose the latest writes. Stop the container before moving them and move all three.
Frequently asked questions
Does the recorder change affect me if I use the default database?
No. The notes say the default recorder database, usernames and passwords are not affected. It only affects a custom db_url with a % followed by two hex digits in the database name or the file path.
How do I know whether my custom integrations will fail?
Search your current release's log for FlowResultType. 2026.11.3 writes a warning for each integration that returns the type as a string. If there is none, the grep over custom_components in this guide gives you a second check.
Has Watchtower already upgraded me to 2026.12?
If your compose.yaml uses stable or latest, yes, as soon as Watchtower has run after 2 December. Check it with docker exec homeassistant cat /config/.HA_VERSION and pin the tag to a version number so you decide when to upgrade.
Conclusion
2026.12 upgrades in Docker with a tag change, but run the two grep checks in this guide first. A % in db_url and an old flow in custom_components are the two failures I reproduced.
Rename the database instead of writing %25, upgrade zwave-js-ui first if you use it, and archive config into a .tar.gz before the new release starts. If you want an AI agent to help with your home, 2026.12 extends the tools of the Home Assistant MCP server that arrived with 2026.10. And if your recorder runs on MariaDB, also check the MariaDB 13 not-LTS warning.
Sources: [1] Home Assistant 2026.12 release notes[1], [2] Home Assistant, PR #188514: Bump SQLAlchemy to 2.1.6[2], [3] Home Assistant, PR #189583: Reject string flow result types in data entry flow[3], [4] Z-Wave JS UI 11.26.2[5], [5] Home Assistant recorder documentation[6], [6] Home Assistant developer docs: the config flow[4], [7] Home Assistant: when is the next release[7], [8] Docker, Compose file reference: the image attribute[8].