hass-core/homeassistant/generated
Alexandre CUER 8255728f53
Migrate emoncms to config flow (#121336)
* Migrate emoncms to config flow

* tests coverage 98%

* use runtime_data

* Remove pyemoncms bump.

* Remove not needed yaml parameters add async_update_data to coordinator

* Reduce snapshot size

* Remove CONF_UNIT_OF_MEASUREMENT

* correct path in emoncms_client mock

* Remove init connexion check
as done by config_entry_first_refresh
since async_update_data catches exceptionand raise UpdateFailed

* Remove CONF_EXCLUDE_FEEDID from config flow

* Update homeassistant/components/emoncms/__init__.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/emoncms/sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/emoncms/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Use options in options flow and common strings

* Extend the ConfigEntry type

* Define the type explicitely

* Add data description in strings.json

* Update tests/components/emoncms/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/emoncms/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Add test import same yaml conf + corrections

* Add test user flow

* Use data_description...

* Use snapshot_platform in test_sensor

* Transfer all fixtures in conftest

* Add async_step_choose_feeds to ask flows to user

* Test abortion reason in test_flow_import_failure

* Add issue when value_template is i yaml conf

* make text more expressive in strings.json

* Add issue when no feed imported during migration.

* Update tests/components/emoncms/test_config_flow.py

* Update tests/components/emoncms/test_config_flow.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-03 17:21:13 +02:00
..
__init__.py Enable strict typing for zeroconf (#48450) 2021-03-30 06:48:04 -10:00
amazon_polly.py Automatically generate Amazon Polly list of voices and regions (#119198) 2024-08-22 15:36:11 +02:00
application_credentials.py Add Google Photos integration (#124835) 2024-08-30 07:27:19 -07:00
bluetooth.py Integration for IronOS (Pinecil V2) soldering irons (#120802) 2024-07-29 11:44:01 +02:00
config_flows.py Migrate emoncms to config flow (#121336) 2024-09-03 17:21:13 +02:00
countries.py Improve typing via hassfest serializer (#117382) 2024-05-22 08:22:18 +02:00
currencies.py Adjust docstring on hassfest generated files (#89080) 2023-03-03 11:34:20 +01:00
dhcp.py Split august and yale integrations (#124677) 2024-08-28 17:46:03 +02:00
integrations.json Migrate emoncms to config flow (#121336) 2024-09-03 17:21:13 +02:00
languages.py Add Macedonian language (#122768) 2024-07-29 14:49:34 +02:00
microsoft_tts.py Scrape Microsoft TTS supported languages (#91988) 2023-05-25 10:46:34 +02:00
mqtt.py Add ESPhome discovery via MQTT (#116499) 2024-05-10 13:32:42 +02:00
ssdp.py Add newer models to unifi integrations discovery (#120688) 2024-06-27 19:20:37 +02:00
usb.py Support the Home Assistant Connect ZBT-1 (#114213) 2024-03-27 18:20:48 +01:00
zeroconf.py Bump aiolifx to 1.0.9 and remove unused HomeKit model prefixes (#125055) 2024-09-02 09:22:39 -10:00