github jontofront/ecoNET-300-Home-Assistant-Integration v1.0.13

latest releases: v1.1.15-heating-curve, v1.1.14, v1.1.14b...
8 months ago

[1.0.13] - 2024-12-20

Fixed

  • Binary Sensor State Update Issue: Resolved an issue where binary sensors (e.g., feederWorks) were not updating their state to Off (False) in Home Assistant when the corresponding value in regParams or sysParams was False.
    • The issue occurred because the previous logic treated False values as None and skipped them during updates.
    • Updated the _handle_coordinator_update method in entity.py to explicitly check for None instead of using or logic, ensuring that False values are correctly recognized as valid states.
    • Improved debug logging for better traceability of state synchronization and updates.

Changed

  • entity.py:
    • Replaced or logic in _handle_coordinator_update with explicit if-elif checks to handle False values properly.
    • Enhanced debug logging to provide more detailed insights into state updates and data fetching.

Testing

  • Verified functionality by toggling regParams["feederWorks"] between True and False and confirmed that the binary sensor state in Home Assistant updates correctly to On and Off.

Impact

  • Binary sensors now correctly reflect both On (True) and Off (False) states, improving reliability and usability of the integration.

Don't miss a new ecoNET-300-Home-Assistant-Integration release

NewReleases is sending notifications on new releases.