Use reference strings in Metoffice (#41295)

This commit is contained in:
SNoof85 2020-10-06 10:26:49 +02:00 committed by GitHub
parent 3abf30cf42
commit 3e2b95949f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
"description": "The latitude and longitude will be used to find the closest weather station.", "description": "The latitude and longitude will be used to find the closest weather station.",
"title": "Connect to the UK Met Office", "title": "Connect to the UK Met Office",
"data": { "data": {
"api_key": "Met Office DataPoint API key", "api_key": "[%key:common::config_flow::data::api_key%]",
"latitude": "[%key:common::config_flow::data::latitude%]", "latitude": "[%key:common::config_flow::data::latitude%]",
"longitude": "[%key:common::config_flow::data::longitude%]" "longitude": "[%key:common::config_flow::data::longitude%]"
} }
@ -16,7 +16,7 @@
"unknown": "[%key:common::config_flow::error::unknown%]" "unknown": "[%key:common::config_flow::error::unknown%]"
}, },
"abort": { "abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]" "already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
} }
} }
} }