core/homeassistant
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
..
auth Improve auth generic typing (#133061) 2024-12-12 20:14:56 +01:00
backports
brands
components Add support for subentries to config entries (#117355) 2024-12-12 20:16:18 +01:00
generated Add Ituran integration (#129067) 2024-12-09 20:19:15 +01:00
helpers Add support for subentries to config entries (#117355) 2024-12-12 20:16:18 +01:00
scripts
util
__init__.py
__main__.py
backup_restore.py Merge feature branch with backup changes to dev (#132954) 2024-12-11 21:49:34 +01:00
block_async_io.py
bootstrap.py
config.py
config_entries.py Add support for subentries to config entries (#117355) 2024-12-12 20:16:18 +01:00
const.py
core.py
core_config.py
data_entry_flow.py
exceptions.py
loader.py
package_constraints.txt Update frontend to 20241127.8 (#133066) 2024-12-12 19:11:07 +01:00
py.typed
requirements.py
runner.py
setup.py
strings.json