From af264c6e0d1c55280dae11ceec02ed4e0fc2f233 Mon Sep 17 00:00:00 2001 From: Niklas Held <6695866+niklasheld@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:17:22 +0200 Subject: [PATCH] Fix options-flow in hvv_departures (#102484) --- homeassistant/components/hvv_departures/config_flow.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/hvv_departures/config_flow.py b/homeassistant/components/hvv_departures/config_flow.py index 4cbd0a83321..24fb9c32a7d 100644 --- a/homeassistant/components/hvv_departures/config_flow.py +++ b/homeassistant/components/hvv_departures/config_flow.py @@ -150,7 +150,10 @@ class OptionsFlowHandler(config_entries.OptionsFlow): try: departure_list = await hub.gti.departureList( { - "station": self.config_entry.data[CONF_STATION], + "station": { + "type": "STATION", + "id": self.config_entry.data[CONF_STATION].get("id"), + }, "time": {"date": "heute", "time": "jetzt"}, "maxList": 5, "maxTimeOffset": 200,