mirror of
https://github.com/elisspace/core.git
synced 2026-10-06 01:06:26 +00:00
* Add Airly integration * Update .coveragerc file * Remove AVAILABLE_CONDITIONS and fix device_class * Don't create client on every update * Rename client to session * Rename state_attributes to device_state_attributes * Remove log latitude and longitude * Fix try...except * Change latitude and longitude to HA defaults * _show_config_form doesn't need coroutine * Simplify config_flow errors handlig * Preetier * Remove unnecessary condition * Change sensor platform to air_quality * Remove PM1 * Make unique_id more unique * Remove , * Add tests for config_flow * Move conf to CONFIG * Remove domain from unique_id * Change the way update of attrs * Language and attrs * Fix attrs * Add aiohttp error handling * Throttle as decorator * Suggested change * Suggested change * Invert condition * Cleaning * Add tests * Polish no sesnor error handling * Better strings * Fix test_invalid_api_key * Fix documentation url * Remove unnecessary test * Remove language option * Fix test_invalid_api_key once again * Sort imports * Remove splits in strings
23 lines
596 B
JSON
23 lines
596 B
JSON
{
|
|
"config": {
|
|
"title": "Airly",
|
|
"step": {
|
|
"user": {
|
|
"title": "Airly",
|
|
"description": "Set up Airly air quality integration. To generate API key go to https://developer.airly.eu/register",
|
|
"data": {
|
|
"name": "Name of the integration",
|
|
"api_key": "Airly API key",
|
|
"latitude": "Latitude",
|
|
"longitude": "Longitude"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"name_exists": "Name already exists.",
|
|
"wrong_location": "No Airly measuring stations in this area.",
|
|
"auth": "API key is not correct."
|
|
}
|
|
}
|
|
}
|