Files
home-assistant-core/homeassistant/components/wwlln/const.py
T
Aaron Bach 9ccb85d959 Add support for World Wide Lightning Location Network (#25001)
* Add support for World Wide Lightning Location Network

* Updated .coveragerc

* Added test

* Updated requirements

* Fixed tests

* Use local time for nearest strike

* Base geo location in place

* Finished geolocation work

* Fixed tests

* Cleanup

* Removed no-longer-needed method

* Updated requirements

* Add support for window and attrs

* Add strike ID to entity name

* Member comments
2019-07-10 16:40:11 -06:00

12 lines
207 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(minutes=10)