v2.0.0b9
Pre-release
Pre-release
·
380 commits
to v2-phase1-architecture
since this release
馃殌 Pre-Release: v2.0.0b9 (Phase 1 Architecture Beta)
This release resolves the OpenWebNet Command Translation (WHAT=1000) frame filtering issue (#283) across platform message dispatchers and dynamic discovery.
馃専 Key Changes
-
Command Translation (
WHAT=1000) Frame Filtering (#283, #284):- Entity State Preservation: In BTicino OpenWebNet networks, auxiliary controls, scenario modules, and interfaces generate Command Translation frames (
*1*1000#1*53##/*1*1000#0*53##). These frames convey command translation bus traffic rather than confirmed actuator state. Platform handlers inlight.py,switch.py, andcover.pynow ignore translation frames, preventing light and switch entities from temporarily resetting tounknownstate before actuator feedback arrives. - Dynamic Discovery Guarding: Prevented Command Translation frames for unconfigured bus addresses from erroneously triggering dynamic light and cover discovery.
- Active Software Fade Protection: Software-stepped fades in
MyHOMELightare shielded from translation frame cancellation. - Observability Retained: All Command Translation frames remain captured in
BusMonitorand broadcast via the Home Assistant event bus (myhome_message_event) for debugging, diagnostics, and custom user automations.
- Entity State Preservation: In BTicino OpenWebNet networks, auxiliary controls, scenario modules, and interfaces generate Command Translation frames (
-
OpenWebNet Golden Corpus Conformance:
- Extended golden test schema and added verified golden fixtures for
light.cmd.translation.on.53andlight.cmd.translation.off.53. - Verified 100% protocol conformance across the test suite.
- Extended golden test schema and added verified golden fixtures for
-
Verified Stability & Standards:
- 1,137 automated unit and integration tests passing.
- Strict 100.0% statement test coverage verified across all modules.
- Clean pass on Home Assistant architectural rules and Ruff static analysis.
馃摝 Quick Upgrade Instructions
In your Home Assistant terminal (or via SSH):
cd /config/custom_components
wget -O myhome_b9.zip https://github.com/OpenWebNet-HA/MyHOME/releases/download/2.0.0b9/myhome.zip
rm -rf myhome
unzip -q myhome_b9.zip -d myhome
rm myhome_b9.zip
grep '"version"' myhome/manifest.json
ha core restart(Verify output prints "version": "2.0.0b9" before restarting).
After restarting, perform a hard browser refresh (Ctrl + F5 / Cmd + Shift + R) to ensure frontend assets reload.
馃攧 Safe Rollback
If you need to revert to the legacy codebase:
- Download
0.9.4and extract into/config/custom_components/myhome/. - All configurations remain backward-compatible.