Bump pygti and change the request for the new api version (#92283)
Bump pygti and change request for the new api version
This commit is contained in:
parent
2a7ba60574
commit
0ca0ed3a31
5 changed files with 7 additions and 5 deletions
|
@ -88,7 +88,7 @@ async def async_setup_entry(
|
|||
so entities can quickly look up their data.
|
||||
"""
|
||||
|
||||
payload = {"station": station}
|
||||
payload = {"station": {"id": station["id"], "type": station["type"]}}
|
||||
|
||||
try:
|
||||
async with async_timeout.timeout(10):
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/hvv_departures",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["pygti"],
|
||||
"requirements": ["pygti==0.9.3"]
|
||||
"requirements": ["pygti==0.9.4"]
|
||||
}
|
||||
|
|
|
@ -84,8 +84,10 @@ class HVVDepartureSensor(SensorEntity):
|
|||
|
||||
departure_time_tz_berlin = departure_time.astimezone(BERLIN_TIME_ZONE)
|
||||
|
||||
station = self.config_entry.data[CONF_STATION]
|
||||
|
||||
payload = {
|
||||
"station": self.config_entry.data[CONF_STATION],
|
||||
"station": {"id": station["id"], "type": station["type"]},
|
||||
"time": {
|
||||
"date": departure_time_tz_berlin.strftime("%d.%m.%Y"),
|
||||
"time": departure_time_tz_berlin.strftime("%H:%M"),
|
||||
|
|
|
@ -1671,7 +1671,7 @@ pygatt[GATTTOOL]==4.0.5
|
|||
pygtfs==0.1.7
|
||||
|
||||
# homeassistant.components.hvv_departures
|
||||
pygti==0.9.3
|
||||
pygti==0.9.4
|
||||
|
||||
# homeassistant.components.version
|
||||
pyhaversion==22.8.0
|
||||
|
|
|
@ -1226,7 +1226,7 @@ pyfronius==0.7.1
|
|||
pyfttt==0.3
|
||||
|
||||
# homeassistant.components.hvv_departures
|
||||
pygti==0.9.3
|
||||
pygti==0.9.4
|
||||
|
||||
# homeassistant.components.version
|
||||
pyhaversion==22.8.0
|
||||
|
|
Loading…
Add table
Reference in a new issue