35 lines
1009 B
JSON
35 lines
1009 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"location": "Get data for",
|
|
"api_key": "[%key:common::config_flow::data::access_token%]"
|
|
},
|
|
"description": "Visit https://co2signal.com/ to request a token."
|
|
},
|
|
"coordinates": {
|
|
"data": {
|
|
"latitude": "[%key:common::config_flow::data::latitude%]",
|
|
"longitude": "[%key:common::config_flow::data::longitude%]"
|
|
}
|
|
},
|
|
"country": {
|
|
"data": {
|
|
"country_code": "Country code"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"api_ratelimit": "API Ratelimit exceeded"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"api_ratelimit": "API Ratelimit exceeded"
|
|
}
|
|
}
|
|
}
|