hasl-sensor / integration

Swedish Public Transport Sensor (HASL). Formerly named HomeAssistant SL Sensor
https://hasl.sorlov.com
Apache License 2.0
34 stars 7 forks source link

Warning on deprecated 'async_get_registry' being used #43

Closed henrikbla closed 2 years ago

henrikbla commented 2 years ago

I get the following warning message on my HA startup. Using Core 2022.07.1 (latest at the time of writing).

2022-07-08 09:26:03 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom component author for hasl3 using this method at custom_components/hasl3/init.py, line 245: device_registry = await dr.async_get_registry(hass)