Skip to content

v2.0.1

Choose a tag to compare

@GreenGrassBlueOcean GreenGrassBlueOcean released this 26 Nov 10:15
· 5 commits to master since this release
33b5151

πŸ“¦ Release: v2.0.1 β€” 4-Zone Central Units (#0#N), WHO = 14 Actuator Lock & Echo-Verified Actuation, Climate Companion Sensors, MH201/MH202 Cover Reversal & SSDP Reload Loop Fixes

Patch release v2.0.1 of MyHOME for Home Assistant on OWNd 2.0.2 (Home Assistant 2026.8+ / Python 3.14).

✨ Features

  • Dark-Mode Brand Assets (custom_components/myhome/brand/) (#958): Bundled dark_icon.png (256Γ—256), dark_icon@2x.png (512Γ—512), dark_logo.png (453Γ—128), and dark_logo@2x.png (907Γ—256) alongside the light-theme brand PNGs (lossless, sRGB, Adam7-interlaced, transparent-background PNGs with #F2F2F2 typography and intact Legrand/BTicino accent colors) so Home Assistant's local Brands Proxy API and the 2026.11+ Marketplace render high-contrast artwork in dark mode.
  • Thermoregulation (WHO = 4) β€” Expose 0–10 V Proportional Actuator Output Level (Dimension 20 100..200 β†’ 0..100 %) (#949, #952, #957): Auto-discovers a per-actuator % SensorEntity (MyHOMEActuatorOutputSensor, SensorStateClass.MEASUREMENT) on the zone's Home Assistant device strictly for explicit Z#N (1 <= Z <= 99, 1 <= N <= 9) Dimension 20 proportional codes 100..200 (without requiring bus-wide generate_events; no Z#0 or bare-Z level spreading, starts unknown after restart until the first bus report rather than restoring stale values, and registers watch_zone_actuators when not interface-refused), and exposes actuator_levels (0..100) on MyHOMEClimate (while keeping actuators strictly "on" / "off") and output_level / actuator_levels on MyHOMEThermoSwitch (all excluded from Home Assistant recorder history via _unrecorded_attributes so ramp steps record only on the sensor). Thanks to @xmavgithub for the live MyHomeServer1 (2.87.13) + F459 (HVAC 0-10V FanControl) + F430V10 (0–10 V) ramp captures!
  • Thermoregulation (WHO = 4) β€” Passive Companion Temperature & Dynamic Humidity Sensors (#981, #995): Every confirmed non-central WHO = 4 climate zone automatically exposes a strictly passive (should_poll = False) companion temperature sensor attached to the zone device for Home Assistant Long-Term Statistics, and dynamically creates a companion humidity sensor when the zone reports Dimension 60 (*#4*<WHERE>*60*<HH>##), restores humidity, or sets humidity: true in myhome.yaml.
  • Expose to Bus β€” 2-Step WHO Hybrid A/PL Addressing Wizard & Smart WHERE Hints (#969, #993): Upgraded the Expose to Bus UI options flow into a 2-step WHO-aware wizard with structured A/PL fields and dynamic WHERE validation hints.
  • Covers (WHO = 2) β€” Expose min_position_delta Configuration Number & Native YAML Migration Cleanup (#980, #982): Exposes per-cover min_position_delta (1–5 %) as a configuration number entity on native point covers and cleans up legacy 0.9.x advanced: true / _explicit_kinematics YAML migration entries so position-capable shutters keep native positioning instead of falling back to timed mode.

πŸ› Bug Fixes

  • Post-Merge v2.0.1 Hardening β€” Leading-Zero WHO = 4 YAML Sensors, Split-Auth Reauth, Offline Unload Backoff, Dim 10 Tilt / Pre-Move STOP Covers, sync_time on MyHomeServer1/3488 & Packaging (#1017, #1019): Applies the remaining post-merge bugfixes audited across chore/release-2.0.1:
    • Thermoregulation (WHO = 4) & Sensors: Routes leading-zero YAML WHO = 4 sensor: zone entries ("01".."09") via canonical 1..9 dispatch and transmits canonical *#4*Z*0## in MyHOMETemperatureSensor._fallback_read() while preserving legacy unique IDs and 3-digit selectors; learns cool dynamically from Dimension 7 cooling/condensation frames; restores MyHOMEThermoSwitch live aggregate is_on / actuator_levels across restarts; and ignores foreign # / empty-WHERE frames in sensor.py.
    • Gateway Sessions, Re-Auth, sync_time & Dispatcher MACs: Verifies both event (*99*1##) and command (*99*0##) handshakes during split-auth reauth test_connection() with connection_closed retry; aborts offline _PooledCommandSession.connect() backoff immediately on unload/shutdown via _sender_stop.wait() while throttling persistent negotiation_error reconnects with a 60 s per-target NEGOTIATION_ERROR_COOLDOWN without tripping false reauth; classifies pre-wire send rejections (_PRE_WIRE_SEND_REASONS) cleanly without leaving orphaned follow-ups; skips Dimension 0 time writes on MyHomeServer1 / 3488 (who13-clock.tsv:16-32) in myhome.sync_time alongside missing fr/it/nl sync_time_unsupported_offset translations; and normalizes dispatcher MACs with dr.format_mac().
    • Covers (WHO = 2) & Lighting (WHO = 1): Adds "F455" to COVER_PRE_MOVE_STOP_EMITTED, guards pre-move STOP echo settle against dropping real stops, closes Dimension 10 Venetian tilt _pulse_stop_written / _pulse_stop_inflight_gen races (across point covers and cover_scope.py leaders, including emergency reversal stops and late-Future exception cleanup), guards cancel-coalesced _not_written cover sends, persists timer-settled relay_hold_until across restarts with _relay_hold_cleared gating legacy fallbacks, and hardens MyHOMELight delivery guards.
  • Thermoregulation (WHO = 4) β€” A Plant with a 4-Zone Central Unit (BTicino 4695, #0#1..#0#96): Unified Master Entity, Direct Subordinate Zones & Verified Firmware Behaviour (#994, #1000): A report of a 4-zone central unit (*4*110#0160*#0#1##) was read as the report of a 99-zone one. No entity was created for the central unit, and every zone found on the bus was written through it (*#4*#Z*#14*TTTT*3##), a form the F454 2.0.51 plant of the issue does not act on, so setpoints sent from Home Assistant did not arrive. Now the central unit is created at #0#N (1..96, unified with its built-in master zone N's ambient temperature, knob offset, active schedule setpoint, and actuators β€” suppressing a separate dead Climate Zone N entity because 4695 firmware drops direct zone writes to its own master zone, unless zone N is explicitly configured in myhome.yaml or listed in Standalone Thermostats in the gateway options), while subordinate zones (N+1..N+3) are written directly (*#4*3*#14*0170*3##). Central-unit setpoint writes on both #0 and #0#N use generic mode M = 3 (*#4*#0#N*#14*TTTT*3##, keeping the active season across Heating and Cooling without firmware drops) and wait for the central unit's bus report; cross-season heat / cool on #0#N send *4*1/0*#0#N## + *4*3100*#0#N## (matching #0), while same-season heat / cool write generic manual M = 3 when resuming a manual setpoint, or wake via *4*3100*#0#N## when on a weekly program/schedule, carrying only a master-zone Dimension 12 setpoint, or with no setpoint known yet. Backup-battery (*4*31*#0#N##) and remote-control (*4*20/21*#0#N##) repair issues are tracked per #0#N address without interfering with #0. A plant with a 99-zone central unit is unchanged. Capture: tests/fixtures/traces/issue_994/.
  • Actuator Lock (WHO = 14), Covers (WHO = 2 & WHO = 1) & Lighting (WHO = 1) β€” Bidirectional WHO = 14 Lock Tracking, Non-Optimistic Parameterized Light Writes & Echo-Verified Cover Motion (#976, #977): Because tested OpenWebNet gateways reject *#14*<WHERE>## status queries with *#*0## NACK (50–52 ms on F461) and omit *99*1## echoes of *14*0/1*<WHERE>## on MH201 (3.3.6 & 3.6.44), 1st-gen L4671/2 shutters, legacy MH200 / MH200N relays, and F422 #4#II local-bus interfaces, locked covers previously fell into silent-gateway fallback and animated phantom full-travel runs (point-to-point and on #1 / Area / General scope covers), while locked dimmers and lights mutated state optimistically before bus confirmation β€” bouncing for ~1.7 s (firing expose: followers) or drifting permanently on brightness/colour sliders. ActuatorLockManager (actuator_lock.py, synchronized across shared-bus primary/secondary startup orders, primary reloads, and Warm Standby failover) now tracks actuator_locked (extra_state_attributes, soft-restored across restarts β€” including unavailable saves via extra_restore_state_data β€” on timed, Dimension 10, impulse-cover, light, and switch entities) from inbound non-translation OWNActuatorLockEvent frames, *#*1##-acknowledged outbound OWNActuatorLockCommand writes in CommandWorkerPool (rejecting *#*0## NACKs such as F450 or ~2.05 s unpopulated addresses on F460/F461/MyHomeServer1/3488), and WHO = 2 Dimension 10 SHUTTER_INFO (12/13 locked, 0/15 unlocked) across published WHO_1.pdf Β§4.2 point, Area (00 / 1–9 / 100), and General (0) scopes (plus defensive #G group resolution) with #4#<Int> local-bus isolation (Β§2.3), freezing mid-run timed covers and confirmed Venetian tilt pulses on lock and self-healing strictly on genuine point-to-point cover motion or WHO = 1 state changes. In parallel, parameterized WHO = 1 writes (Dimension 1 / WHAT 2..10 brightness, Dimension 12 HSV/RGB, Dimension 14 DALI tunable-white colour temperature, native transitions, turn_on_timed, and socket-anchored step 1 of software_stepped fades) wait for bus echo confirmation with per-(where, dimension) LightEchoWatchdog read-back (#964), while point-to-point timed/simple WHO = 2 covers defer the 1 Hz position ticker and 65 s relay-hold window until motor-start confirmation and issue a single post-ECHO_WINDOW (1.5 s) *#2*<WHERE>## check when un-echoed β€” aborting with 0 % drift on stationary *2*0* (F411/2) or silent/NACK (L4671/2) replies, exposing actuation_unconfirmed: true on runs exceeding ECHO_WINDOW to exclude unconfirmed members from local scope followers while keeping #4#II fan-outs active for offline self-healing, settling un-pre-stopped opposite-direction scope broadcasts on MH201 / MH202 as interlock stops when an actuator's opposite relay is energized, and preventing access:-supervised locked impulse gates from latching false watchdog faults. Thanks to @wave68runner (#964 / #976 MH200N 1.1.8 dimmer and follower traces) and @ermanno00 (MH201 3.3.6 & 3.6.44 + L4671/2 56 / 64 + #1 & Area 6 scope cover live field testing) alongside the F461 (2.0.11) and MH200 (2.1.0) WHO = 14 hardware validations!
  • Ignored Addresses, Climate Companion Pruning, Bus Monitor / Service Crash-Frame Guards & HA 2026.12+ Registry Carry-Over (#1015, #1016, #963): ignored.py now preserves canonical 2-digit vs. 4-digit A/PL addresses on WHO = 0 / 1 / 2 / 14 / 15 (0010..0015 β‰  10..15, 01..09 β‰  1..9, 00 β‰  0, 0100 β‰  100), keeps #G groups distinct from point/area addresses on WHO != 4, supports WHO = 4 #0#1..#0#99 4-zone central units and 0#1..99#9 actuators, and stops stripping #4#II in is_ignored() so ignoring main-bus 1/14 never hides F422 sub-bus devices (1/14#4#01..#4#15). discovery.py adds "-output-level" to CLIMATE_COMPANION_SENSOR_SUFFIXES, matches canonical companion sensors when pruning legacy/non-canonical climate IDs (01 / #1), preserves re-homed N#A output sensors and the #0#N device when a 4-zone central unit supersedes its master zone, and preserves explicit active myhome.yaml WHO = 4 zone temperature sensors (class/device_class: temperature). ws_bus_monitor_send now shares services.py's ASCII frame guard, routes *#...## reads through send_status_request(), and blocks per-gateway Firmware Oracle crash frames (MH202 *#4*2#1##, *#4*2#4#01##, *#4*001..099##; H4684/MH200 *#13**10..12##) alongside myhome.send_message. Also rejects malformed empty-WHERE WHO = 1 motion frames (binary_sensor.py), copies discovery_info.upnp without in-place mutation and checks _no_stored_firmware() during SSDP metadata fill (config_flow_discovery.py), and skips dangling area_id / labels during canonical registry carry-over (migrate.py) for Home Assistant 2026.12+ compatibility.
  • Binary Sensors (WHO = 25 / WHO = 1 / WHO = 9) & Lighting (WHO = 1) β€” Normalize F455 301–309 Dry-Contact Addresses Across Shared-Bus Failover, Polls, Ignored Lists, Polarity Options & F422 #4#II Routing, and Exclude WHO = 1 Illuminance from Motion Discovery (#453, #1003, #1008): On a shared bus with an F461 (2.0.11) and an F455 (1.0.76), the F455 reports contacts 1–9 as 301–309 while the F461 (and WHO = 25 spec / F454 / MH200N / MH202) uses 31–39, so failover created duplicate entities (Dry Contact 301 beside Dry Contact 31) and F461 NACKed *#25*301## status reads. Dry-contact discovery, peer deduplication (in both F461-primary and F455-primary directions, including companion -invert switches and legacy -25- / #4#1 / leading-zero ids), myhome.yaml matching (including F422 #4#II inline and interface: routing for WHO = 25 dry contacts and WHO = 1 motion/illuminance sensors, with _ForeignAddresses keeping local and routed WHO = 1 sensors/lights isolated), ignored_addresses, and UI polarity options now equate 301–309 with 31–39 symmetrically, status reads always send canonical *#25*31##–*#25*39##, foreign non-F422 where_param suffixes (#9, #1, out-of-range #4#99) are ignored across WHO = 1, WHO = 9, and WHO = 25, WHO = 1 Dimension 6 illuminance frames no longer discover phantom motion binary sensors (#1008), and stale same-gateway duplicate contacts prune their companion -invert switch and empty device on first start.
  • Covers (WHO = 2) & Gateway Command Queue β€” Multi-Worker Cover Stop / Scope Ordering & Exact-Address Cancel Coalescing (#738, #989, #1014): On gateways running more than one command worker (such as MyHomeServer1, F461, F460, F459, and F454), a cover stop or follow-up command could previously overtake an earlier area (00, 1–9, 100), group (#G), or general (0) cover move queued ahead of it on another worker, leaving the cover stopped first and then moved. FrameScheduler (gateway_sessions.py) now serializes overlapping WHO = 2 point and scope frames across both in-flight workers and queued frames waiting ahead of them, wakes all waiting workers when a superseded scope frame unblocks downstream commands, leaves non-overlapping targets and withdrawn frames non-blocking without disturbing active locks, coalesces cancel/supersede targets by exact canonical address (0009 ↔ 09), and enables implicit WHO = 2 stop cancel-coalescing in CommandWorkerPool (#1014).
  • Covers (WHO = 1 / WHO = 2) & Lighting (WHO = 1) β€” Prune Removed Impulse Covers & Unify First-Start Cover Calibration Source (#1005, #1006): Removing a YAML-only WHO = 1 impulse cover from myhome.yaml previously left an orphaned unavailable cover registry entry (along with its -disable / -enable companion lock/unlock buttons and empty DeviceEntry) behind and caused _ForeignAddresses in light.py to silently suppress a myhome.yaml (or discovered) light reusing that address. cover.py now removes stale WHO = 1 impulse cover registry entries on startup (and prunes their orphaned companion buttons and empty device when no WHO = 1 light or switch reuses that address), and light.py excludes WHO = 1 impulse covers strictly from active YAML configuration so concurrent platform setup never blocks a light. In addition, cover.py now applies travel_time_source ("yaml" vs "default") and stored cover_travel_times identically on both first start (source="yaml") and subsequent starts (source="registry"), fixing inconsistent calibration_source and travel times between initial setup and restart while keeping partial slat_time / min_motor_pulse overrides non-destructive.
  • Protocol Engine Upgrade (OWNd 2.0.2) β€” MH200N Energy Discovery (WHO = 18) & Command-Session Hardening (#998, OWNd#184, OWNd#185, OWNd#186): Upgraded manifest.json and pyproject.toml to OWNd==2.0.2: enables WHO = 18 (WHO_ENERGY) and supports_energy_instant_power = True on MH200N (003565 / 03565, backed by live MH200N 1.1.8 captures answering *#18*51*51## and 010108 bt_supervisione firmware oracle verdicts while keeping legacy MH200 020102 unchanged), holds SEND_AUTH_COOLDOWN (60 s) on OWNCommandSession after fatal authentication/negotiation refusals (password_error, password_required, negotiation_error), detects peer FIN closes behind buffered unsolicited frames (StreamReader._eof) so idle command sessions reopen cleanly before the next write, and enforces error::RuntimeWarning in pytest.
  • Gateway Authentication β€” Start Re-Authentication Immediately on Runtime Password Refusal (#1012): When a gateway rejects the stored password (password_error / password_required) while Home Assistant is running, both the event and command sessions now stop immediately and command-session handshakes serialize across the worker pool (avoiding concurrent or repeated failed logins that trip the 3-in-60 s HMAC gateway lockout), mark gateway entities unavailable, drain pending command futures, and trigger Home Assistant re-authentication (entry.async_start_reauth) once. Re-authentication verifies *99*0## on split-authentication gateways even when entry.runtime_data is unset, and SSDP announcements defer reloads while re-authentication is pending while refreshing gateway.address from the latest entry host before testing the new password.
  • Covers (WHO = 2 & WHO = 1) β€” Preserve Cover Position, Slat Angle, Last Run & Impulse Watchdog Fault Across Restarts While Gateway Is Unreachable (#990, #1007): Home Assistant strips entity attributes when saving an unavailable state (during gateway disconnect, entry reload, or shutdown), previously resetting timed covers to unknown after restart until re-homed and dropping latched WHO = 1 impulse-cover watchdog faults. MyHOMECover.extra_restore_state_data now persists position, closed state (skipping transient is_closed = False during unanchored motion so covers closing from unknown or travel_time: 0 stay unknown rather than becoming open), slat angle, in-flight motion_started_at (preserving M=0 65 s relay-hold protection across mid-run outages), and the last measured run (last_run_*, including relay-hold timestamp), filling only unknown fields when restoring from unavailable without overwriting full or partial live motion observed since startup; advanced (Dimension = 10) covers continue reading live position from the actuator while keeping last_run_* and custom strategy state, and MyHOMEImpulseCover.extra_restore_state_data preserves latched fault_reason across unavailable saves.
  • Actions & Services (WHO = 14, myhome.send_message, myhome.sync_time, Bus Monitor WebSocket) β€” Report Undelivered, NACKed & Refused Commands Instead of Failing Silently (#988): WHO = 14 Lock / Unlock buttons now wait for gateway delivery within a single 15 s deadline (command_delivery.py) and raise translated HomeAssistantErrors distinguishing gateway NACK (command_rejected, e.g. F455 1.0.76 on *14*0*05##), timeout / unconfirmed delivery (command_not_confirmed), and send / session loss (command_not_delivered), naming the peer gateway that actually handled a delegated or failover send. myhome.send_message and myhome.sync_time now raise translated ServiceValidationErrors for invalid syntax, OWNSignaling frames (ACK/NACK/nonce), missing or unknown gateways, and refused destructive frames (WHO = 4 Dimension 22 crash forms, WHO = 18 Dimension 52, bare WHO = 22 power frames), and the Bus Monitor WebSocket (myhome/bus_monitor/send) shares the same destructive-frame guard.
  • Covers (WHO = 1) β€” Handle Unconfirmed Impulse Pulses, stop_cover Deadband & Software Pulse Timing (#1011): Impulse covers (MyHOMEImpulseCover) and AccessController now distinguish CONFIRMED, NOT_SENT, and UNCONFIRMED pulse outcomes so a NACKed or unconfirmed write never leaves the access controller stuck or misreports "Not executed" when the relay may have fired, while pre-wire cancellations (command session connect failures/refusals, queue shutdown, or timeout/caller withdrawal before writing) cleanly resolve to NOT_SENT without starting supervision or queuing doomed software OFF retries. stop_cover is no longer blocked by min_cycle_time, waits for any in-flight pulse and relay release (pulse_duration + 0.2 s), and is withheld only when a state_sensor already reports closed; software-timed OFF pulses now count from gateway write delivery, travel_time: 0 is rejected for who: 1, and translated error strings (en, fr, it, nl) are provided.
  • Covers (WHO = 2) β€” A Partial Slat Tilt Keeps Its Angle on Position-Reporting (Dimension 10) Venetian Actuators (#870, #1004): A position-reporting actuator counts a slat pulse as travel and reports its stopped level one step further right after the pulse's stop (F401 behind an F454 2.0.51: *#2*21*10*10*1*001*15##; K4672M2S behind a MyHomeServer1 2.87.13: *#2*31*10*10*1*001*0##, 0.10–0.12 s after the stop). That report was read as an external level jump and turned the slats a full rotation in Home Assistant, so set_cover_tilt_position: 15, 25 and 50 all ended at 100 %. A stopped level that moved the way the pulse turned, within ECHO_WINDOW (1.5 s) of the pulse's stop, is now the pulse's own: it updates current_position and leaves the timed angle. The claim holds for one stopped level and ends with any curtain or level command, from Home Assistant or from another client (*#2*<WHERE>*#11#001#1*<LEVEL>##, which now also takes the motor over from a running pulse instead of being stopped by the pulse's auto-stop). Also fixed around a pulse: a tilt reversed while the pulse runs keeps the second pulse's auto-stop when the first pulse's level arrives; set_cover_position to the level the blind is at stops a running pulse instead of leaving it without a stop; a blind that follows an area / group / general pulse ends at its angle when its level arrives before the scope's stop is confirmed, and takes no claim from a scope stop that was not delivered; an area / group / general position or full-run command takes the motor from a member's own pulse, and a scope tilt interrupts a member's running pulse from its live angle; a failed stop write is no longer logged as a never-retrieved exception. External moves are unchanged: with motion frames the slats turn in proportion to the motor time, and a level jump with no motion frame turns them to 0 % / 100 %. Thanks to @Claripinto for both field tests on an external Venetian blind (K4672M2S 60-frame trace tests/fixtures/traces/pr_991_myhomeserver1_k4672m2s/ and F401 82-frame trace tests/fixtures/traces/pr_991_myhomeserver1_f401/).
  • Covers (WHO = 2) β€” Drift-Bounded Full-Run Settle Timer After Mid-Run Reversals (#973, #974, #975): Timed covers (TimedCurtainStrategy, VenetianTiltStrategy) previously waited the full travel_time + END_SETTLE_MARGIN (2 s) after a mid-run reversal even when the shutter reached its limit switch much earlier, leaving Home Assistant in opening at 100 % (or closing at 0 %) until the entire travel_time elapsed. Full-run settle timers (open_cover, close_cover, set_cover_position: 0 / 100, scope runs, and wall runs) now query CoverKinematicsStrategy.remaining_travel_for, track a conservative per-cover _position_drift_bound (0.5 s + 15 % per unconfirmed partial/reversed/tilt-pulse segment, reset to 0.0 at confirmed end stops, calibrations, and bus position reports), and settle after remaining_travel + drift_bound + END_SETTLE_MARGIN (capped at travel_time) when starting from a freshly anchored intermediate position, while preserving the full travel_time + END_SETTLE_MARGIN wait on unknown positions, restored states after restart, gateway disconnects, travel/slat-time edits, saturated drift (>= travel_time), unopted-in custom strategies, and endpoint re-homes (open_cover / 100 % at 100 %, close_cover / 0 % at 0 %). Thanks to @ermanno00 for reporting and verifying #975 live on MH201 (3.3.6) + L4671/2 (WHERE = 56 and the 17-member #1 scope cover) alongside the live MH200 (2.1.0) + F422 mid-run reversal capture (WHERE = 12#4#02, #974)!
  • Covers (WHO = 2) β€” Terminal Stop Detection Inside ECHO_WINDOW & Automatic Pre-Move Stop on MH201 / MH202 Timed Actuators (#959, #961, #962, #996): On gateways that omit the synthetic SCS pre-move STOP (12 0A) ahead of UP / DOWN (12 08 / 12 09) β€” MH201 (live 3.3.6 capture; also confirmed on 3.6.44) and MH202 (010024 firmware oracle) β€” interlocked timed relay actuators (L4671/2, H4671/2, F411/2, F411/4, F411U2) answer an opposite command while energized (both mid-travel and during their ~60 s factory M=0 relay cutoff after reaching a limit switch) with *2*0*WHERE## (STOP) instead of reversing, while ECHO_WINDOW (1.5 s) swallowed that *2*0*WHERE## and animated Home Assistant to 100 % / 0 % even when no *2*1* / *2*2* motor-start frame ever arrived. When a plain *2*0*WHERE## arrives inside ECHO_WINDOW and no matching motor-start status follows before the window expires, the optimistic run now aborts cleanly to stopped at its pre-command position; on MH201 and MH202 (and adaptively on unmeasured gateways after an unfollowed echo-window stop, or when stop_before_move: true is set in myhome.yaml), timed point and local scope covers automatically send *2*0*WHERE##, wait for socket delivery plus 0.6 s (guarded by _run_generation against wall-switch takeovers and mid-pause Dimension 10 promotion, with post-stop set_cover_position kinematics), and then send the direction frame whenever the relay may still be energized (65 s hold window, cleared immediately on *2*0*WHERE## so idle covers add zero latency or bus traffic). Thanks to @ermanno00 for reporting #959 and verifying #962 live on an MH201 (3.3.6 and 3.6.44) plant with 35Γ— L4671/2 shutters (single covers, the 17-member #1 scope cover, and mixed wall-switch + HA runs)!
  • SSDP Discovery & Gateway Identity β€” Stop 10-Minute Reload Loop on Configured Gateways, Protect Manual & Ignored Entries & Match Legrand S.p.A. F455 (#947, #999, #948): On v2.0.0, every SSDP announcement or 10-minute Home Assistant SSDP scan (SCAN_INTERVAL) overwrote entry.data["firmware"] with the UPnP modelNumber (e.g. "1.0" on MH200N, "2.0" on F454, F455, F453AV), triggering an immediate config-entry reload (reload_on_update) that wrote the WHO = 13 Dimension 16 firmware (*#13**16##, e.g. "1.1.8" / "2.0.51") back ~5 s later and repeated the reload cycle on the next announcement (while also risking firmware-gated WHO = 25 / WHO = 22 capability drops when modelNumber fell below the WHO = 13 version). _ssdp_entry_updates now updates CONF_HOST (and reloads) strictly when an SSDP-discovered gateway's IP address actually changes, treats firmware, friendly_name, and udn as fill-if-empty (leaving WHO = 13 Dimension 16 authoritative and ignoring empty UPnP tags), leaves manually configured Custom (IP Gateway) and SOURCE_IGNORE entries untouched, demotes repeat Found gateway: logs to DEBUG, and adds ST: ssdp:all + NT: upnp:rootdevice SSDP matchers for F455 gateways advertising manufacturer = "Legrand S.p.A.". Thanks to @manfredgittmaier-afk (#947, MH200N 1.1.8), @vigne and @Enjoy-Combi (#999, F454 2.0.51), and @gdluck for the fix and live F455 (1.0.76) verification!
  • Thermoregulation (WHO = 4) β€” Ignore WHERE = #0 Actuator Status Answers for Central-Unit Detection, Discovery & Routing (#944, #945): On an F461 (FW 2.0.11) plant without a central unit, the all-zone actuator status poll (*#4*#0*20##) returned *#4*#0*20*1## alongside per-zone actuator frames (Z#N), flipping has_central_unit = True so discovered standalone zones wrote central-addressed setpoints (*#4*#Z*#14*TTTT*M##) that nothing answered and lost off-season modes (cool while in heating). Dimension 20 actuator status frames (both *#4*...*20*V## and #20 write-form echoes) are never treated as central-unit reports on any # WHERE, *#4*#0*20*V## is excluded from climate bus discovery and entity routing across all valve and fan-coil output codes (0..9, 14..16), and central units never queue *#4*#0*19## fan-coil side reads. Thanks to @lyubomirtraykov for the diagnostic trace report and @gdluck for the fix!
  • Lighting (WHO = 1) β€” A Dimmer That Is On at Exact Level 0 Is Shown On, Not Off (#970): A dimmer can be on and report level 0: a physical F418 behind an F461 and an F455 answered *#1*0010## with *1*2*0010## (on) and *#1*0010*1## with *#1*0010*1*100*10## (Dimension 1, level 0), steadily. The entity followed the level and was shown off, so the header toggle of an entities card skipped the dimmer at the next "all off" and light.turn_on changed nothing. A Dimension 1 level 0 that follows an "on" status of the light is now verified with one status request (*#1*<where>##): answered "on", the dimmer is shown on at the lowest level (1 %) and stays so; closed without an "on" status, it is off, which is what an MH200 means by that frame after an off with a ramp (*#1*62*1*100*2##, then *1*0*62## when asked). Until the answer it is shown on only when the "on" status is at most 2 s old; at most 3 requests in 30 s for one light. A request that could not be made (not written, refused with a NACK, or not closed within 20 s) leaves a dimmer already confirmed on as it is, and any other level 0 off. What says off is unchanged: the off status, a Dimension 4 level 0 and a Dimension 1 level 0 with no "on" status before it. See docs/configuration/lights.md.
  • Thermoregulation (WHO = 4) β€” Passive Second-Reading Confirmation for Unconfigured Bus Temperature Probes (#967, #972): On a 2-wire SCS bus, a single bit-7 noise flip on a zone Dimension 0 frame (for example Zone 1 00000001 corrupted to 129 10000001) shifted the address into WHERE >= 100 (is_probe()), where sensor.py previously created a permanent sensor.probe_129_temperature entity whose stale reading restored via RestoreSensor across every Home Assistant restart, while physical external/slave probes (3455 via L4577, 3475/3476, probe 303) push autonomously and NACK explicit status polls (9.3–9.4 s command-session stall on F455, 2.1 s on F461). Unconfigured WHO = 4 bus probes (WHERE >= 100 and Dimension 15) now defer creation on their first reading with zero active polling, suppress identical duplicate echoes within 5.0 s (MyHomeServer1), expire unconfirmed single-frame candidates after 3600 s (1 h), confirm on the second independent reading (distinct raw frame or >= 5.0 s later), isolate F422 #4#II local-bus interfaces end-to-end, and canonicalize zero-padded probe addresses (0105 β†’ 105) across bus, myhome.yaml, and entity-registry restoration, while keeping myhome.yaml and existing entity-registry probes immediate at startup. Thanks to @xmavgithub for reporting the live MyHomeServer1 (2.87.13) incident in Discussion #963!
  • Thermoregulation (WHO = 4) β€” Find Thermostats at Start Where *#4*0## Is Dropped, Confirm Unconfigured Bus Zones, Detect Standalone Thermostats Next to a Central Unit & Check Setpoint Writes (#955, #966, #971): On gateways that drop the general request *#4*0## (F461, F455, MyHomeServer1 and others) nothing replaced it: a freshly added F461 sent no WHO = 4 frame at start and had no climate entity, a zone with plain valves never appeared from its held actuator frames (#785), and a standalone thermostat next to a central unit showed the central unit's mode and offered no cool until its first setpoint write. The startup sweep now asks every actuator with the published *#4*0#0*20## (in place of *#4*#0*20##) and, on F461 and MyHomeServer1, the central unit with *#4*#0##; a zone known only from plain valves is asked for its temperature (*#4*Z*0##), one at a time on a quiet bus, and unconfigured bus climate zones confirm on a second reading (#966, #971) so transient SCS noise does not create phantom zones. A zone found on the bus that reports the season the central unit is not in is read again (*#4*Z*12##) and, when it reports that season a second time, becomes a standalone thermostat (attribute standalone_detected) written with the direct form *#4*Z*#14*TTTT*M##; a later report of the central unit about the zone puts it back. A setpoint written through the central unit (*#4*#Z*#14*TTTT*M##) is checked against what the plant reports, and a write the zone did not take or the gateway refused (NACK) fails the service call instead of leaving a dial that jumps back. A zone found on the bus offers cool once the bus shows that it cools, and shows the same state, action and modes as the same zone configured in myhome.yaml. A zone switched off and on again before its actuator had stopped no longer stays idle while the actuator runs: an actuator that was only assumed off is asked once the zone runs. Run live on F461 (FW 2.0.11), F455 (FW 1.0.76), MyHomeServer1 (FW 3.87.13) and 3488 (FW 3.2.5); details in docs/configuration/climate.md.
  • Thermoregulation (WHO = 4) β€” Central Unit heat / cool Leave Protection, Errors Instead of Silent No-Ops, the Commanded Setpoint Kept Across Protection and Restarts, Slave Probe Reads & 3550 Battery Repair Ignore (#983): what changes for a user:
    • Upgrade note (2.0.0 β†’ 2.0.1, first start): nominal_temperature (the commanded setpoint a zone goes back to) is new, so a zone that was off, in antifreeze or in thermal protection when Home Assistant stopped under 2.0.0 has none saved. Until that zone reports its commanded setpoint (dimension 14) or a temperature is set, climate.set_hvac_mode with heat / cool fails with zone_no_setpoint_known ("has not reported a setpoint yet: set a temperature first") and sends nothing; climate.set_temperature works at once. An automation that switches such a zone on right after the upgrade should set a temperature first.
    • Central unit #0 (99 zones): heat / cool send the season frame (*4*1*#0## / *4*0*#0##) and, when the central unit has reported protection, off or the other season since Home Assistant started, follow it with *4*3100*#0##, so the 3550 starts the last weekly program of that season instead of staying in protection (live F461 + F455, 2026-11-18). The call fails when the gateway refuses either frame, does not write it or does not confirm it. A central unit that has not reported since Home Assistant started gets the season frame only.
    • auto is not passed on to the zones: the central unit shows auto only until it reports and then heat / cool; its zones keep the mode they show (a zone on the central unit's program is heat / cool with zone_operation: automatic). Up to 2.0.0 every zone of the central unit that was not off was shown auto until its next report.
    • Commanded setpoint: while a zone is off the slider shows the protection setpoint and nominal_temperature the setpoint it goes back to; heat / cool write that setpoint, also after a restart. A zone command the gateway refuses now fails the service call (zone_command_refused) instead of being shown as done.
    • Central unit name: a central unit found on the bus is named "Central Unit 0" from the start (climate.central_unit_0 on a fresh install); it was "Climate Zone 0" until the first restart. An entity that already exists keeps its id.
    • Probes: a slave probe (PZZ) that has sent nothing for 15 minutes is asked on dimension 0 (an external probe N00 on dimension 15); a refusal stops the read until the gateway that served it reconnects or another gateway serves the read (a delegated secondary, the warm standby, the primary when it is back).
    • myhome.yaml, central unit: zone: "0" is the 99-zone central unit #0, with or without central: true. 2.0.0 filed zone: "0" with central: true under #0#0, an address no central unit has. Its saved entity keeps its entity id and its device (name, area) and becomes the central unit #0; where the central unit found on the bus is saved as well, that one stays and the #0#0 entity is removed (the name and the area given to its device go to the device that stays, where that one has none of its own). The same holds for zone: "#0#1" with central: true, which 2.0.0 filed under #0##0#1, and for an interface written in the zone (zone: "0#4#01"). The copy of myhome.yaml kept in the entry options is corrected too.
    • myhome.yaml, zones: a zone written #1 or 01 beside a 4-zone central unit (zone: "1", central: true) keeps its number; 001 (all the probes of zone 1) is not another spelling of zone 1.
    • Zone state: a manual-with-setpoint report of a 4-zone central unit (*4*110#0160*#0#1##) ends the antifreeze that zone 1 showed (the case of #994); running_fan_speed off from the fan speed 15 of dimension 11 ends when the zone reports a speed again, and an off from the zone's valve report stays.
    • Thermo actuator switch: a dimension 20 frame for the bare zone proves no actuator number, so a whole-zone switch keeps writing the whole zone until an actuator reports; a central unit's WHERE (#Z, #0#N) is not taken for the zone, and a WHERE that is neither the zone nor one of its actuators changes nothing. A whole-zone off puts the output levels the whole-zone switch shows at 0.
    • 3550 battery repair: Ignore on central_battery_fault holds through every status burst and reload until Home Assistant restarts (#846, #884).
  • Lighting (WHO = 1) β€” Stop Area/Group & Fine-Dimmer Status-Request Loops and Read F422 #4#<Int> Routed Scopes Point-by-Point (#1013): Gateways that answer *#1*<scope>## with scope-level frames (*1*0*00##, live F461 / F455) or answer *#1*<where>*1## with both the Dimension 1 level and the coarse preset frame (*1*10*06##, live 3488 / MyHomeServer1) previously re-armed Home Assistant's resync sweep and #851 dimmer refresh indefinitely across every instance on the bus. LightingResyncManager now ignores matching scope frames while its own status request is queued/in-flight (and for 0.5 s after completion, skipping the grace window if a queued request is cancelled unwritten) and bounds repeated identical-state sweeps to 3 per 30 s with one trailing read once quiet; MyHOMELight awaits the Dimension 1 delivery Future, keeps the exact Dimension 1 / Dimension 4 level (including #970 level-0-while-ON dimmers) intact across its own answer's preset echo, and holds repeated no-change preset refreshes after 2 reads until the level/preset changes, the light turns off (or reports WHAT 19 no-load), HA sends a command, or 30 s pass quietly; and F422 routed area/general frames (A#4#<Int>, 0#4#<Int>) now isolate per-interface scopes and read each known routed light point-by-point (*#1*<APL>#4#<Int>##) across primary, standby, and WHO = 1-delegated secondary gateways. See docs/configuration/runtime_behaviour.md.
  • Lighting (WHO = 1) β€” Read a Light Back When Its Status Does Not Follow an Acknowledged Command (#964): An F455 (firmware 1.0.76) leaves status frames out of its event session when several lights answer close together: with six lights switched by one light.turn_on / light.turn_off call it left out one or two statuses in 5 of 8 steps, while an F461 on the same bus relayed all of them. A plain light takes its state only from that frame, so Home Assistant showed the old state, and the header toggle of an entities card, which only commands the entities not yet shown in the target state, left such a light on at the next "all off". On every gateway model (the read-back does not look at the model; the F455 is where the loss was measured), the gateway handler (gateway_confirm.py) now notes every acknowledged point-to-point WHO = 1 command and, when no matching status of that light arrived 1.5 s later, sends one status request *#1*<where>##; nothing is sent where the status arrives. Not used for group / area / general commands, exposed addresses or WHO = 2 covers; a burst sent by another client is not read back (see docs/configuration/runtime_behaviour.md).

βš™οΈ CI & Tooling

  • CI OWNd Pin Alignment, Release-Branch Triggers, Home Assistant Beta/Dev Checks, Packaging, Test Stability & Community Trace Archive (#997, #1001, #1002, #1016, #1018, #1019): Aligns CI test runs with the manifest.json OWNd pin unless a paired branch exists (and hardens the pypi_standards.yml git-OWNd fallback plus "chore/release-*" triggers across quality-scale.yml, pypi_standards.yml, and ownd-smoke.yml), runs Home Assistant beta/dev checks across PRs with exact missed coverage reporting, includes brand/*.png and frontend/*.js in pyproject.toml wheel package-data and points .github/workflows/crowdin.yml at master (#1019), decorates async_dispatcher_connect test listeners with @callback (#1018, eliminating executor-thread races in warm-standby tests) and updates IssueEntry test stubs for Home Assistant 2026.11/2026.12, and archives community MH200N (#976, #968) and F454 (#994) captures (#1002).
  • Home Assistant 2026.12+ DeviceInfo Mapping AST Guard Across tests/ & Trace Metadata (#954, #953): Extended the AST-based DeviceInfo mapping-access guard (home-assistant/core#192323) across tests/ and alias forms so dict-style device_info reads fail fast locally on Home Assistant <= 2026.10, and documented standalone zone 2 vs 3550-managed zones 3–4 in the central_restore_3100_live_2026-11-12 trace fixture.
  • GitHub Actions Pin Updates (#943): Updated SHA-pinned GitHub Actions across repository workflows (crowdin/github-action v3.6.0, actions/setup-python v7.1.0, docker/login-action v4.8.0, and actions/upload-artifact v7.0.2).

Docs: https://openwebnet-ha.github.io/MyHOME/

Upgrade Guide (from v0.9.4): https://openwebnet-ha.github.io/MyHOME/latest/migration/upgrade-from-094/

Discussions & Feedback: https://github.com/orgs/OpenWebNet-HA/discussions