Skip to content

v2.0.0b9

Pre-release
Pre-release

Choose a tag to compare

@GreenGrassBlueOcean GreenGrassBlueOcean released this 11 Sep 10:03
· 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

  1. 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 in light.py, switch.py, and cover.py now ignore translation frames, preventing light and switch entities from temporarily resetting to unknown state 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 MyHOMELight are shielded from translation frame cancellation.
    • Observability Retained: All Command Translation frames remain captured in BusMonitor and broadcast via the Home Assistant event bus (myhome_message_event) for debugging, diagnostics, and custom user automations.
  2. OpenWebNet Golden Corpus Conformance:

    • Extended golden test schema and added verified golden fixtures for light.cmd.translation.on.53 and light.cmd.translation.off.53.
    • Verified 100% protocol conformance across the test suite.
  3. 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.4 and extract into /config/custom_components/myhome/.
  • All configurations remain backward-compatible.