Add back Netatmo public weather sensors (#34401)

* Add public weather sensors back in

* Remove stale code

* Cleanup after before adding entities

* Fix pylint complaint

* Add test for options flow

* Change mode to listbox

* Update .coveragerc

* Address comments

* Don't process empty list

* Address comment

* Fix mistake

* Make signal unique

* Make string more unique

* Fix merge conflict
This commit is contained in:
cgtobi authored and GitHub committed 2020-07-09 06:39:33 +02:00
1 parent af6a4bb6cf
commit 155a5f7c26
9 files changed
+394 -67

No files matched your search

+26 -1
View File
@@ -13,5 +13,30 @@
"create_entry": {
"default": "[%key:common::config_flow::create_entry::authenticated%]"
}
},
"options": {
"step": {
"public_weather": {
"data": {
"area_name": "Name of the area",
"lat_ne": "Latitude North-East corner",
"lon_ne": "Longitude North-East corner",
"lat_sw": "Latitude South-West corner",
"lon_sw": "Longitude South-West corner",
"mode": "Calculation",
"show_on_map": "Show on map"
},
"description": "Configure a public weather sensor for an area.",
"title": "Netatmo public weather sensor"
},
"public_weather_areas": {
"data": {
"new_area": "Area name",
"weather_areas": "Weather areas"
},
"description": "Configure public weather sensors.",
"title": "Netatmo public weather sensor"
}
}
}
}
}