We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8672030 + c3472ef commit 66a2ccdCopy full SHA for 66a2ccd
custom_components/aqara_gateway/__init__.py
@@ -10,6 +10,7 @@
10
from homeassistant.helpers import config_validation as cv
11
from homeassistant.helpers.entity import Entity
12
from homeassistant.helpers.entity_registry import EntityRegistry
13
+from homeassistant.helpers.system_info import async_get_system_info
14
15
from .core.gateway import Gateway
16
from .core.utils import AqaraGatewayDebug
@@ -177,7 +178,7 @@ async def _setup_logger(hass: HomeAssistant):
177
178
handler = AqaraGatewayDebug(hass)
179
_LOGGER.addHandler(handler)
180
- info = await hass.helpers.system_info.async_get_system_info()
181
+ info = await async_get_system_info(hass)
182
info.pop('timezone')
183
_LOGGER.debug(f"SysInfo: {info}")
184
0 commit comments