Convert MetOffice to use UI for configuration (#34900)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Ian HarcombeandMartin Hjelmare authored and GitHub committed 2020-06-15 12:02:25 +02:00
1 parent 9a867cbb75
commit c96458c7e4
19 files changed
+2602 -227

No files matched your search

@@ -0,0 +1,22 @@
{
"config": {
"step": {
"user": {
"description": "The latitude and longitude will be used to find the closest weather station.",
"title": "Connect to the UK Met Office",
"data": {
"api_key": "Met Office DataPoint API key",
"latitude": "Latitude",
"longitude": "Longitude"
}
}
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
}
}
}