chore(fw): take Home Assistant from the nixos-26.05 channel #447
No reviewers
Labels
No labels
bug
enhancement
in-progress
needs-info
needs-triage
p0
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/nixos!447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lab/20261009-0047"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #446
What this does
Drops the separate
builtins.fetchGitnixpkgs pin (nixos-unstable331800d) inhosts/fw/modules/home-assistant/default.nixand lets the hass container take Home Assistant from the host channel.midea_acmoves from the pin topkgs.home-assistant-custom-componentsfor the same reason.The HA version does not change. nixos-26.05 (
7c8764b7, whatfwruns today) shipshomeassistant-2026.5.4, the same version the pin provided. The stable channel will stay on 2026.5.x; a newer HA needs a pin to a newer nixpkgs again (see "Going beyond 2026.5" below).What changes at runtime
Diffed the
home-assistant.servicePYTHONPATHof the container config before and after (nix-instantiate --evalonhosts/fw/configuration.nixagainst the channel). 220 site-packages entries; 14 differ:Unchanged:
homeassistant-2026.5.4, frontend20260429.4,msmart-ng 2026.4.1,mysqlclient 2.2.7,habluetooth 6.1.0,sqlalchemy 2.0.49,aiohttp 3.13.5, all custom components (midea_ac 2026.4.0,epex_spot 4.1.0,solarbank-planner 0.1.0, lovelaceapexcharts-card 2.2.3,scheduler 3.2.13).Packaging differences in nixpkgs (
pkgs/servers/home-assistant/) between the two revisions:patches/nixos-was-never-supported.patchadded (release-26.05880079db): suppresses the "Core installation method is deprecated" repair issue HA raises on non-container installs.patches/pyjwt-2.13-compat.patchadded (0960784a): catchesjwt.InvalidKeyErrorin refresh-token validation, needed for pyjwt 2.14.caldavinstead ofcaldav_2in the package-set override (caldav is not used here).component-packages.nix,frontend.nix,intents.nix,midea_ac,epex_spot,msmart-ng: identical.Verification
scripts/pre-commitdry-build offw: OK.PYTHONPATHafter the change still carriesmsmart-ngandmysqlclient, so the reasonmidea_achad to come from the pin (a second, mismatched Python package set) is gone.fwfor the current boot (2026-10-09 00:45): HA 2026.5.4 starts, custom integrationssolarbank_planner,anker_solix,epex_spot,midea_ac,bermuda,hacsload. Nothing in this PR touches the runtime-downloaded ones (hacs 2.0.5, anker_solix 3.5.4, bermuda 0.7.2).hassdatabase is untouched. Rollback is a plainnixos-rebuild switchto the previous generation.Pre-existing issues seen in the journal (not caused or fixed here)
pingplatform underbinary_sensor:is rejected ("does not support platform setup") – entity never loads.ModuleNotFoundError: No module named 'pyipp'– anippconfig entry exists but the component is not inextraComponents.sensor.sensors_lowest_battery_level|int,sensor.creality_extrudertemperature|float) – missingdefault=.excludeat configuration.yaml:1187,entity_idat :1660)..cloonar.smarthostnames are rejected ("does not appear to be an IPv4 or IPv6 address").Going beyond 2026.5 (not in this PR)
nixos-unstable is at 2026.9.4; upstream is at 2026.10. Blocking item for this config: 2026.6 removed the legacy template platform (
platform: templateundersensor:/binary_sensor:), still used indefault.nix,3dprinter.nix,battery.nix(×2),light.nix,locks.nix,multimedia.nix(×2),ac.nix. Those 10 blocks must move to thetemplate:key first. Other upstream breaking changes between 2026.6 and 2026.10 that touch integrations used here: Shelly and ESPHome Bluetooth scanner mode defaults to Auto (2026.6);updateinstall actions andmqtt.publishrequire an admin account (2026.9, 2026.10); legacy auth-provider username mode removed (2026.10). Also HACS 2.0.5, bermuda 0.7.2 and anker_solix 3.5.4 would need compatibility checks.🤖 Generated with Claude Code