Fix default value for departure time in google_travel_time (#88255)

Fix default value for departure time
This commit is contained in:
Kevin Stillhammer
2023-02-16 18:28:39 +01:00
committed by GitHub
parent d2277fa6db
commit 792538c124

View File

@@ -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",