core/tests/components/fritz
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
conftest.py
const.py Fix `conntected_to` attribute of device tracker entities in a AVM Fritz mesh setup (#129259) 2024-10-27 14:42:43 +01:00
test_button.py Remove obsolete entity count safeguards when using `snapshot_platform` test helper (#127736) 2024-10-06 15:50:16 +02:00
test_config_flow.py Improve type hints in fritz config flow (#130511) 2024-11-13 13:45:52 +01:00
test_diagnostics.py Use SnapshotAssertion in more AVM Fritz!Box Tools tests (#125037) 2024-09-03 16:39:06 +02:00
test_image.py Update fritzconnection to 1.14.0 (#127793) 2024-10-07 20:00:24 +02:00
test_init.py
test_sensor.py Translate UpdateFailed error in AVM Fritz/BOX Tools (#131466) 2024-11-24 18:32:37 +01:00
test_switch.py Improve handling of call deflection switches in AVM Fritz!Tools (#127592) 2024-10-05 19:16:34 +02:00
test_update.py Remove obsolete entity count safeguards when using `snapshot_platform` test helper (#127736) 2024-10-06 15:50:16 +02:00