Add config flow to Meteo-France (#29927)
* 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
This commit is contained in:
1 parent
1efea50654
commit
201ea2557e
14 files changed
+389
-155
No files matched your search
+4
-1
@@ -413,7 +413,10 @@ omit =
|
||||
homeassistant/components/mediaroom/media_player.py
|
||||
homeassistant/components/message_bird/notify.py
|
||||
homeassistant/components/met/weather.py
|
||||
homeassistant/components/meteo_france/*
|
||||
homeassistant/components/meteo_france/__init__.py
|
||||
homeassistant/components/meteo_france/const.py
|
||||
homeassistant/components/meteo_france/sensor.py
|
||||
homeassistant/components/meteo_france/weather.py
|
||||
homeassistant/components/meteoalarm/*
|
||||
homeassistant/components/metoffice/sensor.py
|
||||
homeassistant/components/metoffice/weather.py
|
||||
|
||||
Reference in new issue
Block a user