Skip to content

Fix IntesisBox missing update callback and correct README examples#78

Merged
jnimmo merged 1 commit into
masterfrom
fix/intesisbox-callback-driven-updates
Jul 9, 2026
Merged

Fix IntesisBox missing update callback and correct README examples#78
jnimmo merged 1 commit into
masterfrom
fix/intesisbox-callback-driven-updates

Conversation

@jnimmo

@jnimmo jnimmo commented Jul 9, 2026

Copy link
Copy Markdown
Owner

IntesisBox never fired _send_update_callback on incoming CHN,1 state pushes, only once after the initial connect handshake. Consumers that rely purely on the callback (e.g. should_poll=False in a Home Assistant climate entity) would never see state changes after connecting, even though the underlying _devices dict stayed fresh in the background. IntesisHome and IntesisHomeLocal already fired the callback correctly on every push/poll cycle.

Also fixes two README examples that no longer matched the API: add_callback() (method is add_update_callback()) and an await on get_power_state(), which is synchronous.

Bump version to 2.0.3.

IntesisBox never fired _send_update_callback on incoming CHN,1 state
pushes, only once after the initial connect handshake. Consumers that
rely purely on the callback (e.g. should_poll=False in a Home
Assistant climate entity) would never see state changes after
connecting, even though the underlying _devices dict stayed fresh in
the background. IntesisHome and IntesisHomeLocal already fired the
callback correctly on every push/poll cycle.

Also fixes two README examples that no longer matched the API:
add_callback() (method is add_update_callback()) and an await on
get_power_state(), which is synchronous.

Bump version to 2.0.3.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jnimmo
jnimmo merged commit 4c28c0a into master Jul 9, 2026
8 checks passed
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.

1 participant