mirror of
https://github.com/elisspace/core.git
synced 2026-10-06 09:16:28 +00:00
* Add config entry for AirVisual * Update coverage * Catch invalid API key from config schema * Rename geographies to stations * Revert "Rename geographies to stations" This reverts commit 5477f89c24cb3f58965351985b1021fc5fc794a5. * Update strings * Update CONNECTION_CLASS * Remove options (subsequent PR) * Handle import step separately * Code review comments and simplification * Move default geography logic to config flow * Register domain in config flow init * Add tests * Update strings * Bump requirements * Update homeassistant/components/airvisual/config_flow.py * Update homeassistant/components/airvisual/config_flow.py * Make schemas stricter * Linting * Linting * Code review comments * Put config flow unique ID logic into a method * Fix tests * Streamline * Linting * show_on_map in options with default value * Code review comments * Default options * Update tests * Test update * Move config entry into data object (in prep for options flow) * Empty commit to re-trigger build
24 lines
548 B
JSON
24 lines
548 B
JSON
{
|
|
"config": {
|
|
"title": "AirVisual",
|
|
"step": {
|
|
"user": {
|
|
"title": "Configure AirVisual",
|
|
"description": "Monitor air quality in a geographical location.",
|
|
"data": {
|
|
"api_key": "API Key",
|
|
"latitude": "Latitude",
|
|
"longitude": "Longitude",
|
|
"show_on_map": "Show monitored geography on the map"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_api_key": "Invalid API key"
|
|
},
|
|
"abort": {
|
|
"already_configured": "This API key is already in use."
|
|
}
|
|
}
|
|
}
|