agittins / agittins/bermuda

bermuda uses device_registry.devices which is deprecated

Abierto
#820 1 comentario 3 reacciones 1 asignado Reclamado por @agittins Ver en GitHub
Lenguaje dominante
Python
Estrellas
2k
Forks
70
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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 :)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.