custom-components / ble_monitor

BLE monitor for passive BLE sensors
https://community.home-assistant.io/t/passive-ble-monitor-integration/
MIT License
1.85k stars 239 forks source link

[Bug]: after HA.core update warning about deprecated feature #1356

Closed MaBeniu closed 1 month ago

MaBeniu commented 1 month ago

What happened?

Core 2024.5.2 Supervisor 2024.05.1 Operating System 12.3 Frontend 20240501.1

ble_monitor v. 12.11.1

Sensor type

No response

Relevant log output

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:190
First occurred: 2:40:29 PM (1 occurrences)
Last logged: 2:40:29 PM

Detected that custom integration 'ble_monitor' accesses hass.helpers.device_registry. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from device_registry directly at custom_components/ble_monitor/config_flow.py, line 490: devreg = self.hass.helpers.device_registry.async_get(self.hass), please create a bug report at https://github.com/custom-components/ble_monitor/issues