Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated async_get_registry #43

Closed
enkama opened this issue May 25, 2022 · 2 comments
Closed

Deprecated async_get_registry #43

enkama opened this issue May 25, 2022 · 2 comments

Comments

@enkama
Copy link

enkama commented May 25, 2022

General information

Home Assistant

Version: 2022.6.0.dev20220525
Installation method (according to instructions):
[ ] Operating System
[x] Container
[ ] Supervised
[ ] Core

Integration

Installation method:
[x] HACS
[ ] manual from release
[ ] manual from git
Integration version: 1.9.1

Debug log

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 sleep_as_android using this method at custom_components/sleep_as_android/sensor.py, line 96: device_registry = await dr.async_get_registry(self.hass)

Additional information

With the newest Home-Assistant dev version this needs a fix soon!

@IATkachenko
Copy link
Owner

Thank you for report!
Will migrate to new way.

IATkachenko added a commit that referenced this issue May 25, 2022
…c_get

async_get_registry for device_registry is just wrapper for async_get, so we may use it directly.

Fix #43
@IATkachenko
Copy link
Owner

IATkachenko commented May 25, 2022

Fixed in v1.9.2.

IATkachenko added a commit that referenced this issue May 25, 2022
…_get

async_get_registry for entity_registry is just wrapper for async_get, so we may use it directly.

Fix #43
IATkachenko added a commit that referenced this issue May 25, 2022
…c_get

async_get_registry for device_registry is just wrapper for async_get, so we may use it directly.

Fix #43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants