mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Fix default value for departure time in google_travel_time (#88255)
Fix default value for departure time
This commit is contained in:
parent
d2277fa6db
commit
792538c124
@ -77,7 +77,7 @@ class GoogleOptionsFlow(config_entries.OptionsFlow):
|
|||||||
default_time = self.config_entry.options[CONF_ARRIVAL_TIME]
|
default_time = self.config_entry.options[CONF_ARRIVAL_TIME]
|
||||||
else:
|
else:
|
||||||
default_time_type = DEPARTURE_TIME
|
default_time_type = DEPARTURE_TIME
|
||||||
default_time = self.config_entry.options.get(CONF_ARRIVAL_TIME, "")
|
default_time = self.config_entry.options.get(CONF_DEPARTURE_TIME, "")
|
||||||
|
|
||||||
return self.async_show_form(
|
return self.async_show_form(
|
||||||
step_id="init",
|
step_id="init",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user