Skip to content

fix: iterate device_registry.devices directly for HA 2027.9+ compatibility (v3.1.1) - #9

Merged
spelech merged 1 commit into
mainfrom
fix/ha-2027-device-registry-deprecation
Oct 26, 2026
Merged

spelech merged 1 commit into
mainfrom
fix/ha-2027-device-registry-deprecation

Conversation

@spelech

@spelech spelech commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Iterates dev_reg.devices directly instead of calling deprecated dev_reg.devices.values() (which is deprecated and will be removed in Home Assistant 2027.9.0), while retaining a dict fallback for unit tests.
  • Updates views.py and mcp.py.
  • Adds regression unit test test_fetch_entities_iterates_device_registry_view_without_values.
  • Bumps version to 3.1.1.

@spelech
spelech merged commit e1779dc into main Oct 26, 2026
3 checks passed
@spelech
spelech deleted the fix/ha-2027-device-registry-deprecation branch October 26, 2026 22:54
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