45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
|
{
|
||
|
"config": {
|
||
|
"step": {
|
||
|
"by_coordinates": {
|
||
|
"description": "Search for a PurpleAir sensor within a certain distance of a latitude/longitude.",
|
||
|
"data": {
|
||
|
"latitude": "[%key:common::config_flow::data::latitude%]",
|
||
|
"longitude": "[%key:common::config_flow::data::longitude%]",
|
||
|
"distance": "Search Radius"
|
||
|
},
|
||
|
"data_description": {
|
||
|
"latitude": "The latitude around which to search for sensors",
|
||
|
"longitude": "The longitude around which to search for sensors",
|
||
|
"distance": "The radius (in kilometers) of the circle to search within"
|
||
|
}
|
||
|
},
|
||
|
"choose_sensor": {
|
||
|
"description": "Which of the nearby sensors would you like to track?",
|
||
|
"data": {
|
||
|
"sensor_index": "Sensor"
|
||
|
},
|
||
|
"data_description": {
|
||
|
"sensor_index": "The sensor to track"
|
||
|
}
|
||
|
},
|
||
|
"user": {
|
||
|
"data": {
|
||
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
||
|
},
|
||
|
"data_description": {
|
||
|
"api_key": "Your PurpleAir API key (if you have both read and write keys, use the read key)"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"error": {
|
||
|
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]",
|
||
|
"no_sensors_near_coordinates": "No sensors found near coordinates (within distance)",
|
||
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
||
|
},
|
||
|
"abort": {
|
||
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
|
||
|
}
|
||
|
}
|
||
|
}
|