* Add config flow to Meteo-France * Review 1 * Use config_entry.unique_id * Fix config_flow _show_setup_form + init * Remove empty *_setup_platform() * Avoid HomeAssistantError: Entity id already exists: sensor.[city_name]_[sensor_type]. Platform meteo_france does not generate unique IDs - when multiple district in one city * Review + abort when API error * Fix I/O * Remove monitored_conditions * Add async_unload_entry * Review 3 * Fix pipe * alert_watcher is already None * Review 4 * Better fix for "Entity id already exists" * Whoops, fix tests * Fix string
19 lines
496 B
JSON
19 lines
496 B
JSON
{
|
|
"config": {
|
|
"title": "Météo-France",
|
|
"step": {
|
|
"user": {
|
|
"title": "Météo-France",
|
|
"description": "Enter the postal code (only for France, recommended) or city name",
|
|
"data": {
|
|
"city": "City"
|
|
}
|
|
}
|
|
},
|
|
"abort":{
|
|
"already_configured": "City already configured",
|
|
"unknown": "Unknown error: please retry later"
|
|
}
|
|
}
|
|
}
|