Skip to content

Commit

Permalink
Bump pyefergy to 22.5.0 (#117395)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkdrob committed May 14, 2024
1 parent 450c579 commit 1219662
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion homeassistant/components/efergy/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ async def async_step_reauth(

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:
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/efergy/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "cloud_polling",
"loggers": ["iso4217", "pyefergy"],
"requirements": ["pyefergy==22.1.1"]
"requirements": ["pyefergy==22.5.0"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1219662

Please sign in to comment.