Aaron Bach aa27e22b17 Automatically expand WWLLN window to 1 hour (if necessary) (#25357)
* Expand default window for WWLLN

* Fleshed out conditions

* Fixed tests

* Removed unused import

* Linting
2019-07-21 08:58:50 +02:00

12 lines
204 B
Python

"""Define constants for the WWLLN integration."""
from datetime import timedelta
DOMAIN = 'wwlln'
CONF_WINDOW = 'window'
DATA_CLIENT = 'client'
DEFAULT_RADIUS = 25
DEFAULT_WINDOW = timedelta(hours=1)