mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Fix tomorrowio integration for new users (#97973)
The tomorrow.io integration isn't working for new users due to changes made by tomorrow.io. This fixes that with the following changes: * Add 60 minute timestep option * Change default timestep to 60 minutes
This commit is contained in:
parent
c4da5374ae
commit
4089bd43da
@ -102,7 +102,7 @@ class TomorrowioOptionsConfigFlow(config_entries.OptionsFlow):
|
||||
vol.Required(
|
||||
CONF_TIMESTEP,
|
||||
default=self._config_entry.options[CONF_TIMESTEP],
|
||||
): vol.In([1, 5, 15, 30]),
|
||||
): vol.In([1, 5, 15, 30, 60]),
|
||||
}
|
||||
|
||||
return self.async_show_form(
|
||||
|
@ -25,7 +25,7 @@ LOGGER = logging.getLogger(__package__)
|
||||
CONF_TIMESTEP = "timestep"
|
||||
FORECAST_TYPES = [DAILY, HOURLY, NOWCAST]
|
||||
|
||||
DEFAULT_TIMESTEP = 15
|
||||
DEFAULT_TIMESTEP = 60
|
||||
DEFAULT_FORECAST_TYPE = DAILY
|
||||
DOMAIN = "tomorrowio"
|
||||
INTEGRATION_NAME = "Tomorrow.io"
|
||||
|
Loading…
x
Reference in New Issue
Block a user