Since updating to Home Assistant Core 2026.9.0, the Hilo integration gets stuck in a permanent reconnect loop after the first connection error.
Log evidence:
homeassistant.helpers.frame: Detected that custom integration 'hilo' closes the Home Assistant aiohttp session at custom_components/hilo/__init__.py, line 343: await hilo._api.session.close(). Please create a bug report at https://github.com/dvd-dev/hilo/issues
pyhilo: Error parsing response:
custom_components.hilo: SignalRHub[0]: connection error; reconnecting in 80s — Session is closed
custom_components.hilo: SignalRHub[1]: connection error; reconnecting in 160s — Session is closed
... (backs off to 300s and repeats indefinitely, never recovers)
Impact: Both SignalR hubs fail every reconnect attempt because the shared HA aiohttp.ClientSession was closed by the integration itself (line 343) rather than a private session. All Hilo sensors (thermostat temperature/target/power) froze at their last value and stopped updating for 13+ hours until I manually reloaded the config entry, which recreated the session and restored the connection.
Environment: Home Assistant OS 18.2, Core 2026.9.0, Hilo integration v2026.8.3 (HACS), Home Assistant Green.
Suggested fix: hilo._api.session should be a session the integration owns and can close on unload, not the shared HA session obtained via async_get_clientsession(hass).
Since updating to Home Assistant Core 2026.9.0, the Hilo integration gets stuck in a permanent reconnect loop after the first connection error.
Log evidence:
Impact: Both SignalR hubs fail every reconnect attempt because the shared HA aiohttp.ClientSession was closed by the integration itself (line 343) rather than a private session. All Hilo sensors (thermostat temperature/target/power) froze at their last value and stopped updating for 13+ hours until I manually reloaded the config entry, which recreated the session and restored the connection.
Environment: Home Assistant OS 18.2, Core 2026.9.0, Hilo integration v2026.8.3 (HACS), Home Assistant Green.
Suggested fix: hilo._api.session should be a session the integration owns and can close on unload, not the shared HA session obtained via async_get_clientsession(hass).