Skip to content

Drop deprecated add_helper_config_entry_to_device argument - #2

Merged
cerebrate merged 1 commit into
masterfrom
fix/async-handle-source-entity-changes-deprecation
Aug 23, 2026
Merged

cerebrate merged 1 commit into
masterfrom
fix/async-handle-source-entity-changes-deprecation

Conversation

@cerebrate

Copy link
Copy Markdown
Member

Summary

  • Home Assistant core is removing the add_helper_config_entry_to_device keyword from async_handle_source_entity_changes (confirmed against home-assistant/core's dev branch); passing it now logs a deprecation and will raise TypeError starting in HA 2027.8.0.
  • We were passing add_helper_config_entry_to_device=False, which is now the unconditional default behavior, so dropping the argument is behavior-neutral.

Not urgent — the breaking change lands in 2027.8.0 — opening now just to have the fix visible; may sit unmerged for a while to avoid confusing HACS reviewers.

Test plan

  • pytest — all 7 smoke tests pass

Home Assistant core removed this keyword from
async_handle_source_entity_changes's signature; passing it now logs a
deprecation (frame.report_usage) and will raise TypeError starting in
2027.8.0. We passed False, which is now the unconditional default
behavior, so dropping the argument is behavior-neutral.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cerebrate
cerebrate merged commit da1e09c into master Aug 23, 2026
6 checks passed
@cerebrate
cerebrate deleted the fix/async-handle-source-entity-changes-deprecation branch August 23, 2026 16:38
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