What's Changed
Integration
-
Fix: a
connection_failedrepair stayed after the connection was healthy again. Moving the CCU to a different host is the ordinary way there — the interfaces fail, their repairs appear, the entry is reconfigured onto the new address — and afterwards the repairs stayed visible next to connection sensors readingon, with every device operating normally. Nothing short of deleting and re-adding the integration took them back.The repair is raised from a
connection_stateevent and withdrawn by the opposite one, and that one is published only for an interface the central's connection state tracker actually holds (CentralConnectionState.remove_issue). That tracker belongs to the central, so it is rebuilt empty with every setup of the config entry — a reload, a reconfigure, a restart. Whatever a previous session left in the issue registry, which does survive all three, therefore had nobody left to withdraw it.The startup cleanup that already handled the other transient repair types covers
connectionandcallbacknow. It runs before the central starts, so an interface that is still down raises its repair again within seconds.clientis deliberately left out of it: a fresh client always transitions to CONNECTED, and that transition withdraws the repair on its own. -
Callback repairs are withdrawn by sweeping the issue registry instead of rebuilding every id from
{instance_name}-{interface}. That composition is the aiohomematic interface id; on the openccu-loom backend the daemon names the leading component itself, so a callback repair raised there was never addressed by the id the integration built for it. Both halves go through one helper now —support.get_issue_idcomposes the id, and the sweep matches the prefix that helper produces — so the two cannot drift apart -
Four issue types the startup cleanup carried as legacy (
pending_pong_mismatch,unknown_pong_mismatch,interface_not_reachable,xmlrpc_server_receives_no_events) are gone from it. They could never have matched anything: repairs of that generation were keyed{interface_event_type}-{interface_id}, so the id carries no entry id in front — which the cleanup requires as a prefix — a hyphen where it looks for an underscore, and the interface event type where the list names the translation key
Dependencies
Bump aiohomematic to 2026.9.4
-
Fix: BidCos-RF data points stayed on
restoredafter a start. The ReGa bulk fetch is the only source of an initial value on the interfaces without a per-parametergetValuefallback (BidCos-RF, VirtualDevices, CUxD, CCU-Jack), and its snapshot is taken once duringstart_clients()and expires afterMAX_CACHE_AGE. Its consumer for any channel but 0 is the integration adding its entities, which happens after the platforms have been forwarded — in a real installation reliably later than that, so the snapshot was gone by then and the data point stayed unset for good. Covers were the visible case, because a shutter reports nothing until it is moved:HM-LC-Bl1PBU-FMblinds sat atvalue_state=restoredwithcurrent_position: 0until they were operated by hand. The init path refreshes an expired snapshot now instead of giving up; thegetValuefallback stays disabled -
Fix: battery and diagnostic data points stayed on
restoredafter a start. Parameters on the init ignore list (LOW_BAT,LOWBAT,OPERATING_VOLTAGE,DUTY_CYCLE,DUTYCYCLE, theERROR_*,RSSI_*and*_ERRORpatterns, and every data point ofHmIP-SWSD*/HmIP-SWD) skip the per-parametergetValueon purpose so a battery-powered device is not woken, which leaves the bulk snapshot as their only source — and this path read it without refreshing it first. Unlike a cover'sLEVELthese do not recover on their own:LOW_BATis sent only when it changes, so a device that reported a low battery before the start kept showing a normal one until the battery was replaced. This affected every interface, not only those without the fallback -
Fix: a fresh snapshot for one interface skipped the others.
CentralDataCache.load()left the loop over all clients withreturninstead ofcontinuewhen it hit a recently refreshed interface, so every client behind it was never loaded -
Fix:
changed_within_seconds()ignored whole days. It readtimedelta.seconds, which drops the day part, so a change from exactly 24 h ago counted as recent -
MAX_CACHE_AGEis 15 s instead of 10 s. It governs the lifetime of the central data cache, the device details cache refresh guard (MAX_CACHE_AGE / 3) and the default staleness window ofchanged_within_seconds()
Bump aiohomematic to 2026.9.3
-
Fix: devices stayed unavailable after a reconnect. A device that became reachable again while the connection to the CCU was down — the CCU restarts and resets the flag, or the device recovers while the proxy is gone — stayed unavailable in Home Assistant for as long as the central ran. Events flowed and commands worked; the entities of that device remained greyed out until the integration was reloaded or
homematicip_local.force_device_availabilitywas applied by hand.The CCU announces
UNREACHonly when the value changes, so that recovery transition is never delivered after such an outage. Nothing closed the gap afterwards:UN_REACHandSTICKY_UN_REACHare hidden parameters and carryDataPointUsage.NO_CREATE, which is exactly what the recovery data load skips — it iterates the readable generic data points — while the one path that does read them over RPC runs only for newly created devices.The connection recovery re-reads the channel 0
VALUESparamset of every device on the interface now and appliesUN_REACH,STICKY_UN_REACHandCONFIG_PENDINGthrough the regular event path, in the staged data load as well as in the circuit-breaker recovery. It reads them withgetParamsetrather than the per-parametergetValuefallback, because that fallback is skipped on BidCos-RF, VirtualDevices, CUxD and CCU-Jack — building on it would have produced a fix that does nothing on four of six interfaces. A read that fails, or a paramset that does not carry the parameter, leaves the data point untouched instead of defaulting it: a boolean without a value falls back tofalse, so a swallowed read error would have reported every unreachable device as reachable
Development
aiohomematic-test-support2026.9.2→2026.9.4, following the aiohomematic pin above — CI runs againstrequirements_test.txt, so the two move togetherruff0.16.6→0.16.7, in the prek hook revision and inrequirements_test_pre_commit.txt, which have to name the same version