ha-tahoma icon indicating copy to clipboard operation
ha-tahoma copied to clipboard

use of deprecated 'async_get_registry', use async_get instead...

Open browetd opened this issue 2 years ago β€’ 14 comments

Did you read the instructions?

The problem

At startup and since the last release of HA (2022.6), I have the following errors while ha-tahoma is starting:

2022-06-05 09:27:15 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated async_get_registryto access device registry, use async_get instead. Please report issue to the custom component author for tahoma using this method at custom_components/tahoma/__init__.py, line 141: device_registry = await dr.async_get_registry(hass) 2022-06-05 09:27:15 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecatedasync_get_registry to access entity registry, use async_get instead. Please report issue to the custom component author for tahoma using this method at custom_components/tahoma/climate_devices/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py, line 109: entity_registry = await self.hass.helpers.entity_registry.async_get_registry()

What version of this integration (ha-tahoma) has the issue?

V2.13.0

What version of Home Assistant Core has the issue?

2022.6.2

Which gateway / hub do you use?

Cozytouch

Device model

Equateur 3

Home Assistant log

Logs
Copy/paste any log here, between the starting and ending backticks. The first log line must start with "Added device (Device...".
See problem description...

Additional information

No response

browetd avatar Jun 05 '22 11:06 browetd

Hi, thx for reporting this. Depending of the HA reviewer, your device will be soon available directly from the Overkiz integration and so you will no need to use this custom component: https://github.com/home-assistant/core/pull/72790

tetienne avatar Jun 07 '22 11:06 tetienne

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment πŸ‘. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

github-actions[bot] avatar Jul 08 '22 02:07 github-actions[bot]

Still present: 2022-07-06 12:50:29 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 tahoma using this method at custom_components/tahoma/init.py, line 141: device_registry = await dr.async_get_registry(hass)

roofburner avatar Jul 08 '22 06:07 roofburner

@tetienne I am using Overkiz Integration (latest release) and the issue is still present. There is two references to async_get_registry in init.py at lines 141 and 158 of the current code.

browetd avatar Jul 08 '22 06:07 browetd

@browetd what is the device you need we implement within Core to leave this custom component?

tetienne avatar Jul 08 '22 06:07 tetienne

@tetienne I am using three "Equateur 3" heaters from Atlantic via cozytouch... Is it already supported by Core ? I have seen that a PR has been issued recently but have not seen any mention of that in the last release of HA 2022.7.0 (I am still using 2022.6.7 due to the amount of potential problems generated by the move to Python 3.10)...

browetd avatar Jul 08 '22 06:07 browetd

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment πŸ‘. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

github-actions[bot] avatar Aug 08 '22 02:08 github-actions[bot]

Is the Equateur 3 devices (Brand: Thermor using Cozytouch) are supported by the integration in core Home assistant ? If not, I still have the issue...

browetd avatar Aug 08 '22 14:08 browetd

@browetd this still depends on https://github.com/home-assistant/core/pull/72790. Which is not merged yet.

iMicknl avatar Sep 03 '22 16:09 iMicknl

'There hasn't been any activity on this issue recently. Is this issue still present? Please make sure to update to the latest Home Assistant version and version of this integration to see if that solves the issue. Let us know if that works for you by adding a comment πŸ‘. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.'

github-actions[bot] avatar Oct 04 '22 02:10 github-actions[bot]

Still present: 2022-09-28 22:20:53.763 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 integration author for tahoma using this method at custom_components/tahoma/init.py, line 141: device_registry = await dr.async_get_registry(hass)

roofburner avatar Oct 04 '22 05:10 roofburner

Does this block the integration / home assistant from functioning? We are aware of this issue and hope to have the components migrated as soon as possible.

iMicknl avatar Oct 07 '22 16:10 iMicknl

@iMicknl As far as I know, this is not blocking the integration to work... Just warning messages... Thank you for your hard work on this integration. I appreciate

browetd avatar Oct 09 '22 13:10 browetd

All works well, for now...Op 7 okt. 2022 18:21 schreef Mick Vleeshouwer @.***>: Does this block the integration / home assistant from functioning? We are aware of this issue and hope to have the components migrated as soon as possible.

β€”Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

roofburner avatar Oct 11 '22 06:10 roofburner

Fixed in latest version. Thanks for your patience @browetd ;-).

iMicknl avatar Nov 05 '22 17:11 iMicknl