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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ class GoogleOptionsFlow(config_entries.OptionsFlow):
default_time = self.config_entry.options[CONF_ARRIVAL_TIME]
else:
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(
step_id="init",