mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Bump pyefergy to 22.5.0 (#117395)
This commit is contained in:
parent
450c57969a
commit
121966245b
@ -61,7 +61,11 @@ class EfergyFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
|
|
||||||
async def _async_try_connect(self, api_key: str) -> tuple[str | None, str | None]:
|
async def _async_try_connect(self, api_key: str) -> tuple[str | None, str | None]:
|
||||||
"""Try connecting to Efergy servers."""
|
"""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:
|
try:
|
||||||
await api.async_status()
|
await api.async_status()
|
||||||
except exceptions.ConnectError:
|
except exceptions.ConnectError:
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["iso4217", "pyefergy"],
|
"loggers": ["iso4217", "pyefergy"],
|
||||||
"requirements": ["pyefergy==22.1.1"]
|
"requirements": ["pyefergy==22.5.0"]
|
||||||
}
|
}
|
||||||
|
@ -1803,7 +1803,7 @@ pyeconet==0.1.22
|
|||||||
pyedimax==0.2.1
|
pyedimax==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.efergy
|
# homeassistant.components.efergy
|
||||||
pyefergy==22.1.1
|
pyefergy==22.5.0
|
||||||
|
|
||||||
# homeassistant.components.energenie_power_sockets
|
# homeassistant.components.energenie_power_sockets
|
||||||
pyegps==0.2.5
|
pyegps==0.2.5
|
||||||
|
@ -1408,7 +1408,7 @@ pyecoforest==0.4.0
|
|||||||
pyeconet==0.1.22
|
pyeconet==0.1.22
|
||||||
|
|
||||||
# homeassistant.components.efergy
|
# homeassistant.components.efergy
|
||||||
pyefergy==22.1.1
|
pyefergy==22.5.0
|
||||||
|
|
||||||
# homeassistant.components.energenie_power_sockets
|
# homeassistant.components.energenie_power_sockets
|
||||||
pyegps==0.2.5
|
pyegps==0.2.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user