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:
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'
|
||||
Reference in new issue
Block a user