Skip to content

Fix system binary sensors not updating fixes #736 - #737

Merged
asantaga merged 1 commit into
asantaga:devfrom
andyblac:Issue736
Oct 11, 2026
Merged

asantaga merged 1 commit into
asantaga:devfrom
andyblac:Issue736

Conversation

@andyblac

@andyblac andyblac commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes #736.

Wiser system binary sensors now refresh their state when new coordinator data is received.

Previously, SystemBinarySensor._handle_coordinator_update() returned a generated HeatHub name string. Home Assistant ignored this return value, leaving the entities at the state captured during initial setup.

Changes

  • Read the latest system property during each coordinator update.
  • Update the entity’s internal state.
  • Write the updated state to Home Assistant.
  • Use an unknown state when the property is temporarily absent.
  • Retain the existing historical unique-ID handling.

Affected entities

  • Summer discomfort prevention
  • Summer comfort available
  • PCM device limit reached

Validation

  • Confirmed coordinator updates refresh the entity state.
  • Confirmed the updated state is written to Home Assistant.
  • Confirmed a temporarily missing property produces an unknown state.
  • Added focused regression tests for both cases.

@andyblac
andyblac changed the base branch from master to dev October 8, 2026 15:33
@andyblac andyblac changed the title Fix system binary sensors not updating Issue736 Fix system binary sensors not updating fixes #736 Oct 8, 2026
@asantaga
asantaga merged commit 726b3c8 into asantaga:dev Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System binary sensors do not update after integration setup

2 participants