mirror of
https://github.com/home-assistant/core.git
synced 2026-02-22 10:55:50 +00:00
97 lines
3.1 KiB
JSON
97 lines
3.1 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
},
|
|
"data_description": {
|
|
"api_key": "API key for the World Air Quality Index"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"config_subentries": {
|
|
"station": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
},
|
|
"entry_type": "Measuring station",
|
|
"initiate_flow": {
|
|
"user": "Add measuring station"
|
|
},
|
|
"step": {
|
|
"map": {
|
|
"data": {
|
|
"location": "[%key:common::config_flow::data::location%]"
|
|
},
|
|
"data_description": {
|
|
"location": "The location to get the nearest measuring station from"
|
|
}
|
|
},
|
|
"station_number": {
|
|
"data": {
|
|
"station_number": "[%key:component::waqi::config_subentries::station::step::user::menu_options::station_number%]"
|
|
},
|
|
"data_description": {
|
|
"station_number": "The number of the measuring station"
|
|
}
|
|
},
|
|
"user": {
|
|
"description": "How do you want to select a measuring station?",
|
|
"menu_options": {
|
|
"map": "[%key:common::config_flow::data::location%]",
|
|
"station_number": "Measuring station number"
|
|
},
|
|
"title": "Add measuring station"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"carbon_monoxide": {
|
|
"name": "[%key:component::sensor::entity_component::carbon_monoxide::name%]"
|
|
},
|
|
"dominant_pollutant": {
|
|
"name": "Dominant pollutant",
|
|
"state": {
|
|
"co": "[%key:component::sensor::entity_component::carbon_monoxide::name%]",
|
|
"neph": "Nephelometry",
|
|
"no2": "[%key:component::sensor::entity_component::nitrogen_dioxide::name%]",
|
|
"o3": "[%key:component::sensor::entity_component::ozone::name%]",
|
|
"pm10": "[%key:component::sensor::entity_component::pm10::name%]",
|
|
"pm25": "[%key:component::sensor::entity_component::pm25::name%]",
|
|
"so2": "[%key:component::sensor::entity_component::sulphur_dioxide::name%]"
|
|
}
|
|
},
|
|
"neph": {
|
|
"name": "Visibility using nephelometry"
|
|
},
|
|
"nitrogen_dioxide": {
|
|
"name": "[%key:component::sensor::entity_component::nitrogen_dioxide::name%]"
|
|
},
|
|
"ozone": {
|
|
"name": "[%key:component::sensor::entity_component::ozone::name%]"
|
|
},
|
|
"pm10": {
|
|
"name": "[%key:component::sensor::entity_component::pm10::name%]"
|
|
},
|
|
"pm25": {
|
|
"name": "[%key:component::sensor::entity_component::pm25::name%]"
|
|
},
|
|
"sulphur_dioxide": {
|
|
"name": "[%key:component::sensor::entity_component::sulphur_dioxide::name%]"
|
|
}
|
|
}
|
|
}
|
|
}
|