Enable config flow for Luftdaten (#17700)

* Move file to new location

* Update requirement

* Enable config flow

* Add luftdaten

* Add tests

* Update

* Add constants

* Changes according to the review comments

* Remove wrong entry from flows

* Fix dict handling

* Add callback and use OrderedDict

* Remve leftover

* Fix

* Remove await
This commit is contained in:
Fabian Affolter authored and GitHub committed 2018-11-06 14:27:52 +01:00
1 parent 7933bd7f91
commit 2e517ab6bc
13 files changed
+508 -108

No files matched your search

@@ -0,0 +1,10 @@
"""Define constants for the Luftdaten component."""
from datetime import timedelta
ATTR_SENSOR_ID = 'sensor_id'
CONF_SENSOR_ID = 'sensor_id'
DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)
DOMAIN = 'luftdaten'