Skip to content

Commit

Permalink
Merge pull request #300 from Necroneco/fix-import
Browse files Browse the repository at this point in the history
  • Loading branch information
niceboygithub authored Sep 18, 2024
2 parents 8672030 + c3472ef commit 66a2ccd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/aqara_gateway/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.entity_registry import EntityRegistry
from homeassistant.helpers.system_info import async_get_system_info

from .core.gateway import Gateway
from .core.utils import AqaraGatewayDebug
Expand Down Expand Up @@ -177,7 +178,7 @@ async def _setup_logger(hass: HomeAssistant):
handler = AqaraGatewayDebug(hass)
_LOGGER.addHandler(handler)

info = await hass.helpers.system_info.async_get_system_info()
info = await async_get_system_info(hass)
info.pop('timezone')
_LOGGER.debug(f"SysInfo: {info}")

Expand Down

0 comments on commit 66a2ccd

Please sign in to comment.