bermuda uses device_registry.devices which is deprecated
- 主要语言
- Python
- 星标
- 2k
- 派生
- 70
- PR 合并指标
- 30 天内没有已合并 PR
描述
## Describe the bug
Testing the September 2026 core beta release the following depreciation warning is generated:
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:348
First occurred: 08:17:47 (3 occurrences)
Last logged: 08:17:58
Detected that custom integration 'bermuda' uses `device_registry.devices` as a mapping or calls its lookup methods, which is deprecated; iterate it to get the device entries, or use `async_get`, `async_entries_for_config_entry` and similar helpers for lookups at custom_components/bermuda/bermuda_device.py, line 321: devreg_devices = self._coordinator.dr.devices.get_entries(None, connections=connlist). This will stop working in Home Assistant 2027.9.0, please create a bug report at https://github.com/agittins/bermuda/issues
No actual impact on operation, at least not for another year :)
贡献指南
评估
这个 Issue 还没有评估数据。