core/tests/components/airzone
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
..
snapshots Add support for subentries to config entries (#117355) 2024-12-12 20:16:18 +01:00
__init__.py
test_binary_sensor.py
test_climate.py Update aioairzone to v0.9.4 (#127792) 2024-10-11 12:39:39 +02:00
test_config_flow.py Use FlowResultType enum in config flow tests A-M (#114681) 2024-04-03 09:21:17 +02:00
test_coordinator.py Dynamically add Airzone entities (#121891) 2024-07-13 21:45:08 +02:00
test_diagnostics.py Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
test_init.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_select.py Add Airzone main zone mode select (#124566) 2024-08-26 17:57:31 +02:00
test_sensor.py Update aioairzone to v0.8.1 (#122481) 2024-07-23 14:22:42 -05:00
test_switch.py Add Airzone switch entities to zones (#124562) 2024-10-21 16:33:22 +02:00
test_water_heater.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
util.py Update aioairzone to v0.9.4 (#127792) 2024-10-11 12:39:39 +02:00