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,20 @@
|
||||
{
|
||||
"config": {
|
||||
"title": "Luftdaten",
|
||||
"step": {
|
||||
"user": {
|
||||
"title": "Define Luftdaten",
|
||||
"data": {
|
||||
"station_id": "Luftdaten Sensor ID",
|
||||
"show_on_map": "Show on map"
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
"sensor_exists": "Sensor already registered",
|
||||
"invalid_sensor": "Sensor not available or invalid",
|
||||
"communication_error": "Unable to communicate with the Luftdaten API"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user