fw/home-assistant: pre-existing startup errors and deprecations in the hass container #448
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#448
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Found while preparing #447 (journal of the hass container on fw, boot of 2026-10-09 00:45, HA 2026.5.4). None of these are caused by #447; they are independent and can be fixed one by one.
1.
pingbinary sensors never loadhosts/fw/modules/home-assistant/multimedia.nixlines 24–45 definexbox,ps5,steamdeckasbinary_sensor: platform: ping. HA logs three times:ERROR [homeassistant.components.binary_sensor] The ping platform for the binary_sensor integration does not support platform setup. Please remove it from your config.The
pingintegration is config-entry only now. Fix: remove the YAML blocks and create the three entries via the UI (or whatever consumesbinary_sensor.xboxetc. needs updating).2.
ippconfig entry fails to importpyippModuleNotFoundError: No module named 'pyipp'at startup. An Internet Printing Protocol config entry exists in.storagebutippis not inservices.home-assistant.extraComponentsanywhere underhosts/fw/modules/home-assistant/. Fix: either add"ipp"toextraComponentsor delete the stale config entry in the UI.3. Template sensors throw on
unavailable/NoneinputThree
TemplateErrorat startup, all legacyplatform: templatesensors with nodefault=:battery.nix:42{{ states('sensor.sensors_lowest_battery_level')|int <= 30 }}battery.nixsensors_lowest_battery_levelvalue_template (map('int')over battery attributes)3dprinter.nix:37{{ state_attr('sensor.creality_extruder', 'temperature') | float | round(1) }}Also a
Template variable warning: 'jinja2.utils.Namespace object' has no attribute 'battery_critical'fromlocks.nix:126–133(nsis created withcrit=, read asns.battery_critical).These are the same blocks that must be migrated to the modern
template:syntax before any HA >= 2026.6 (legacy platform removed); do the migration and add defaults in one pass.4. Deprecated YAML options
The 'exclude' option near configuration.yaml:1187 is deprecated→history.excludeindefault.nix:240. History filtering moved torecorder:; move the entity/domain lists there (recorder.exclude is already used inelectricity.nix:96).The 'entity_id' option near configuration.yaml:1660 is deprecated→entity_id = "sun.sun"in the legacy template sensor inbattery.nix:9. Goes away with the template migration in item 3.5. Shelly devices configured by hostname are rejected
ValueError: 'shellyplug-s-living-1.cloonar.smart' does not appear to be an IPv4 or IPv6 addressand the same forshellybutton1-e8db84aa136d.cloonar.smart. These are UI config entries (not in the repo); the Shelly integration now requires an IP. Fix in the UI: reconfigure the two entries with their DHCP-reserved addresses fromhosts/fw/modules/dnsmasq.nix.Lower priority, informational
aiohttp_fast_zlib: zlib_ng and isal are not available– performance only; could addzlib-ng/isalviaextraPackages.3dprinter.nix:7,20) and several ESPHome bulbs/presence sensors were unreachable at boot – devices off, not a config problem.