custom-components / ble_monitor

BLE monitor for passive BLE sensors

Home Page:https://community.home-assistant.io/t/passive-ble-monitor-integration/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: ble_monitor' accesses hass.helpers.device_registry.

cloudbr34k84 opened this issue · comments

commented

What happened?

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/binary_sensor.py, line 134: dev_registry = hass.helpers.device_registry.async_get(hass), please create a bug report at https://github.com/custom-components/ble_monitor/issues

Sensor type

No response

Relevant log output

No response

commented

wrong integration to log issue

Why would this be the wrong repo?

commented

Why would this be the wrong repo?

Ahh bugger my bad, i logged this in HA Core repo, but got confused, ill reopen this

I'll fix it, should be an easy fix. Thanks for reporting

commented

I'll fix it, should be an easy fix. Thanks for reporting

Cheers, going through logs to see what can be fixed

could you try 12.11.0-beta (enable beta's in HACS) to see if this fixes the errors?

commented

Will do this morning

commented

could you try 12.11.0-beta (enable beta's in HACS) to see if this fixes the errors?

Hey still seeing the error after updating to the beta version

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/binary_sensor.py, line 134: dev_registry = hass.helpers.device_registry.async_get(hass), please create a bug report at https://github.com/custom-components/ble_monitor/issues
Detected that custom integration 'ble_monitor' accesses hass.helpers.entity_registry. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from entity_registry directly at custom_components/ble_monitor/binary_sensor.py, line 135: ent_registry = hass.helpers.entity_registry.async_get(hass), please create a bug report at https://github.com/custom-components/ble_monitor/issues

image

Ah, sorry, my mistake. I took the wrong branch when releasing the beta. I’ll make a new one later today. I’ll let you know when finished.

Done, can you try 12.11.1-beta

commented

Done, can you try 12.11.1-beta

hey it seems to be gone now from the logs.. let m keep an eye on it today and report back then ill close the ticket off

Can I release it as final?

commented

Yeah sorry appears to be gone