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

import functions used from system_info directly #300

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

caibinqing
Copy link
Contributor

Fix the warning

2024-09-18 10:51:55.319 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'aqara_gateway' accesses hass.helpers.system_info. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from system_info directly at custom_components/aqara_gateway/__init__.py, line 177: info = await hass.helpers.system_info.async_get_system_info(), please create a bug report at https://github.com/niceboygithub/AqaraGateway/issues

@niceboygithub niceboygithub merged commit 66a2ccd into niceboygithub:master Sep 18, 2024
@caibinqing caibinqing deleted the fix-import branch September 18, 2024 11:10
@caibinqing caibinqing restored the fix-import branch September 23, 2024 09:47
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

Successfully merging this pull request may close these issues.

2 participants