Bump pyefergy to 22.5.0 (#117395)

This commit is contained in:
Robert Hillis 2024-05-14 09:42:41 -04:00 committed by GitHub
parent 450c57969a
commit 121966245b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View File

@ -61,7 +61,11 @@ class EfergyFlowHandler(ConfigFlow, domain=DOMAIN):
async def _async_try_connect(self, api_key: str) -> tuple[str | None, str | None]:
"""Try connecting to Efergy servers."""
api = Efergy(api_key, session=async_get_clientsession(self.hass))
api = Efergy(
api_key,
session=async_get_clientsession(self.hass),
utc_offset=self.hass.config.time_zone,
)
try:
await api.async_status()
except exceptions.ConnectError:

View File

@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "cloud_polling",
"loggers": ["iso4217", "pyefergy"],
"requirements": ["pyefergy==22.1.1"]
"requirements": ["pyefergy==22.5.0"]
}

View File

@ -1803,7 +1803,7 @@ pyeconet==0.1.22
pyedimax==0.2.1
# homeassistant.components.efergy
pyefergy==22.1.1
pyefergy==22.5.0
# homeassistant.components.energenie_power_sockets
pyegps==0.2.5

View File

@ -1408,7 +1408,7 @@ pyecoforest==0.4.0
pyeconet==0.1.22
# homeassistant.components.efergy
pyefergy==22.1.1
pyefergy==22.5.0
# homeassistant.components.energenie_power_sockets
pyegps==0.2.5