1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-05 13:47:06 +00:00

12 Commits

Author SHA1 Message Date
Shay Levy
47efb68780
Add missing translations for LG webOS TV and fix names () 2025-01-24 14:13:10 +01:00
Shay Levy
bb4a497247
Impove LG webOS TV tests quality ()
* Impove LG webOS TV tests quality

* Review comments
2025-01-08 23:12:09 +02:00
Shay Levy
43ec63eabc
Cleanup LG webOS TV name () 2025-01-08 12:06:02 +01:00
Erik Montnemery
ecb3bf79f3
Revert "Add support for subentries to config entries" ()
Revert "Add support for subentries to config entries ()"

This reverts commit ad15786115673c5b3fe40ea2f5d61b4b896f433e.
2024-12-18 13:51:05 +01:00
Erik Montnemery
ad15786115
Add support for subentries to config entries ()
* 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
Erik Montnemery
d82bff1bc2
Index config entry discovery_keys by discovery domain ()
* Index config entry discovery_keys by discovery domain

* Add new signal

* Update tests

* Update homeassistant/config_entries.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fix imports

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 21:48:11 +02:00
Erik Montnemery
b2982c18bb
Reinitialize zeroconf discovery flow on unignore ()
* Reinitialize zeroconf discovery flow on unignore

* Adjust tests

* Improve comments

* Fix logic for updating discovery keys

* Add tests

* Use mock_config_flow helper in new config_entries test

* Add discovery_keys attribute to ConfigEntry

* Update zeroconf rediscovery

* Change type of ConfigEntry.discovery_keys

* Update tests

* Fix DiscoveryKey.from_json_dict and add tests

* Fix test

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 16:49:21 +02:00
Robert Resch
ad50136dbd
Add created_at/modified_at to config entries () 2024-07-29 22:08:46 +02:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
Erik Montnemery
6908497c3d
Add minor version to config entries () 2023-12-12 08:44:35 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ()
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Shay Levy
a34148104a
Add diagnostics to webostv () 2022-10-28 14:48:16 +02:00