Automatically expand WWLLN window to 1 hour (if necessary) (#25357)

* Expand default window for WWLLN

* Fleshed out conditions

* Fixed tests

* Removed unused import

* Linting
This commit is contained in:
Aaron Bach 2019-07-21 00:58:50 -06:00 committed by Martin Hjelmare
parent 95223cb9ea
commit aa27e22b17
4 changed files with 30 additions and 5 deletions

View file

@ -25,7 +25,7 @@ def configured_instances(hass):
class WWLLNFlowHandler(config_entries.ConfigFlow):
"""Handle a WWLLN config flow."""
VERSION = 1
VERSION = 2
CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL
async def _show_form(self, errors=None):