Files
core/tests/components
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
..
2024-08-12 13:28:09 +02:00
2024-08-12 13:28:09 +02:00
2024-08-28 19:16:05 +02:00
2024-08-15 18:21:07 +02:00
2024-08-02 12:17:51 +02:00
2024-08-12 13:28:09 +02:00
2024-08-16 16:54:20 +02:00
2024-08-30 16:41:48 +02:00
2024-08-29 07:59:07 +02:00
2024-08-12 13:28:09 +02:00
2024-08-12 13:28:09 +02:00
2024-09-02 10:46:35 +02:00
2024-08-12 13:28:09 +02:00
2024-08-08 08:59:30 +02:00
2024-08-28 09:25:56 +02:00
2024-08-28 13:48:49 +02:00
2024-08-12 13:28:09 +02:00
2024-07-24 20:37:38 +02:00
2024-08-15 10:03:03 +02:00
2024-08-30 14:48:09 +02:00