core/tests/components/homewizard
Erik Montnemery ad15786115
Add support for subentries to config entries (#117355)
* Add support for subentries to config entries

* Improve error handling and test coverage

* Include subentry_id in subentry containers

* Auto-generate subentry_id and add optional unique_id

* Tweak

* Update tests

* Fix stale docstring

* Address review comments

* Typing tweaks

* Add methods to ConfigEntries to add and remove subentry

* Improve ConfigSubentryData typed dict

* Update test snapshots

* Adjust tests

* Fix unique_id logic

* Allow multiple subentries with None unique_id

* Add number of subentries to config entry JSON representation

* Add subentry translation support

* Allow integrations to implement multiple subentry flows

* Update translations schema

* Adjust exception text

* Change subentry flow init step to user

* Prevent creating a subentry with colliding unique_id

* Update tests

* Address review comments

* Remove duplicaetd unique_id collision check

* Remove change from the future

* Improve test coverage

* Add default value for unique_id
2024-12-12 20:16:18 +01:00
..
fixtures Streamline HomeWizard unit test MAC-addresses (#131310) 2024-11-26 09:54:23 +01:00
snapshots Add support for subentries to config entries (#117355) 2024-12-12 20:16:18 +01:00
__init__.py
conftest.py Streamline HomeWizard unit test MAC-addresses (#131310) 2024-11-26 09:54:23 +01:00
test_button.py Add exception translation in HomeWizard coordinator (#131404) 2024-11-25 10:23:07 +01:00
test_config_flow.py Add reconfiguration flow in HomeWizard (#131535) 2024-11-26 19:20:50 +01:00
test_diagnostics.py
test_init.py Fix reload not triggered on DisabledError in HomeWizard (#128636) 2024-10-18 14:48:41 +02:00
test_number.py Round status light brightness number in HomeWizard (#132069) 2024-12-02 14:04:39 +01:00
test_sensor.py Bumb python-homewizard-energy to 7.0.0 (#131366) 2024-11-23 14:29:03 -05:00
test_switch.py Add exception translation in HomeWizard coordinator (#131404) 2024-11-25 10:23:07 +01:00