FactoryAssistant/homeassistant/helpers
Erik Montnemery 4b34d1bbb5
Merge config subentry feature branch to dev (#136121)
* Reapply "Add support for subentries to config entries" (#133470) (#136061)

* Reapply "Add support for subentries to config entries" (#133470)

This reverts commit ecb3bf79f3.

* Update test snapshot

* Add config subentry support to device registry (#128157)

* Add config subentry support to device registry

* Apply suggestions from code review

* Update syrupy serializer

* Update snapshots

* Address review comments

* Allow a device to be connected to no or a single subentry of a config entry

* Update snapshots

* Revert "Allow a device to be connected to no or a single subentry of a config entry"

This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.

* Update test snapshots

* Bump release version in comments

* Rename config_subentries to config_entries_subentries

* Add config subentry support to entity registry (#128155)

* Add config subentry support to entity registry

* Update syrupy serializer

* Update snapshots

* Update snapshots

* Accept suggested changes

* Clean registries when removing subentry (#136671)

* Clean up registries when removing subentry

* Update tests

* Clean up subentries from deleted devices when removing config entry (#136669)

* Clean up subentries from deleted devices when removing config entry

* Move

* Add config subentry support to entity platform (#128161)

* Add config subentry support to entity platform

* Rename subentry_id to config_subentry_id

* Store subentry type in subentry (#136687)

* Add reconfigure support to config subentries (#133353)

* Add reconfigure support to config subentries

* Update test

* Minor adjustment

* Rename supported_subentry_flows to supported_subentry_types

* Address review comments

* Add subentry support to kitchen sink (#136755)

* Add subentry support to kitchen sink

* Add subentry reconfigure support to kitchen_sink

* Update kitchen_sink tests with subentry type stored in config entry

* Update kitchen_sink

* Update kitchen_sink

* Adjust kitchen sink tests

* Fix hassfest

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Improve docstrings and strings.json

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-10 16:40:07 +01:00
..
service_info Move UsbServiceInfo to service_info helpers (#135663) 2025-01-15 15:10:25 +01:00
__init__.py Remove deprecated (moved) helpers from helpers.__init__ (#120172) 2024-06-22 20:55:03 +02:00
aiohttp_client.py Bump aiohttp-asyncmdnsresolver to 0.1.0 (#137492) 2025-02-05 22:04:52 -05:00
area_registry.py Adjust to recommended propcache.api import paths (#136150) 2025-01-21 10:58:22 +01:00
category_registry.py Add created_at/modified_at to category registry (#122454) 2024-07-23 14:39:38 +02:00
chat_session.py Stream OpenAI messages into the chat log (#137400) 2025-02-09 00:01:24 -05:00
check_config.py Standardize util imports (#136723) 2025-01-28 15:54:06 +01:00
collection.py Enable Ruff B024 (#136088) 2025-01-20 19:14:50 +02:00
condition.py Standardize homeassistant imports in core and base platforms (#136730) 2025-01-28 13:11:48 -05:00
config_entry_flow.py Fix DiscoveryFlowHandler when discovery_function returns bool (#133563) 2025-01-16 12:31:16 -10:00
config_entry_oauth2_flow.py Include the redirect URL in the Google Drive instructions (#136906) 2025-01-30 22:59:03 -08:00
config_validation.py Standardize homeassistant imports in core and base platforms (#136730) 2025-01-28 13:11:48 -05:00
data_entry_flow.py Merge config subentry feature branch to dev (#136121) 2025-02-10 16:40:07 +01:00
debounce.py Fix data update coordinator garbage collection (#137299) 2025-02-04 11:20:06 +01:00
deprecation.py Use generics for deprecation helpers (#138171) 2025-02-09 23:38:58 +01:00
device.py Address device helper review comments (#120615) 2024-06-27 08:50:20 +02:00
device_registry.py Merge config subentry feature branch to dev (#136121) 2025-02-10 16:40:07 +01:00
discovery.py Enable all TID ruff rules (#126312) 2024-09-20 12:25:51 +02:00
discovery_flow.py Make FlowHandler.context a typed dict (#126291) 2024-10-08 12:18:45 +02:00
dispatcher.py Improve formatting in core files (#135256) 2025-01-10 09:08:37 +01:00
entity.py Adjust to recommended propcache.api import paths (#136150) 2025-01-21 10:58:22 +01:00
entity_component.py Use new syntax for TypeVar defaults (#135780) 2025-01-17 09:12:52 +01:00
entity_platform.py Merge config subentry feature branch to dev (#136121) 2025-02-10 16:40:07 +01:00
entity_registry.py Merge config subentry feature branch to dev (#136121) 2025-02-10 16:40:07 +01:00
entity_values.py Align max expected entities constant between modules (#118102) 2024-05-27 14:06:16 -10:00
entityfilter.py Drop unnecessary lambdas in the entity filter (#122941) 2024-07-31 20:44:47 +02:00
event.py Enable RUF021 (#135832) 2025-01-17 10:20:45 +01:00
floor_registry.py Improve code of normalized name registry (#125282) 2024-10-01 11:20:52 -05:00
frame.py Adjust to recommended propcache.api import paths (#136150) 2025-01-21 10:58:22 +01:00
group.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
hassio.py Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper (#127228) 2024-10-30 12:43:41 +01:00
http.py Bump ruff to 0.9.1 (#135197) 2025-01-14 11:46:12 +01:00
httpx_client.py Fix method subtyping [helpers] (#134213) 2024-12-29 17:16:38 +01:00
icon.py Enable RUF023 (#135830) 2025-01-17 12:28:27 +01:00
importlib.py Use HassKey for importlib helper (#117116) 2024-05-08 17:42:28 -05:00
instance_id.py Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
integration_platform.py Fix duplicate call to async_register_preload_platform (#133909) 2024-12-23 09:20:44 -10:00
intent.py Add single target constraint to async_match_targets (#136643) 2025-01-27 14:06:21 -05:00
issue_registry.py Standardize homeassistant imports in core and base platforms (#136730) 2025-01-28 13:11:48 -05:00
json.py Remove unused noqas (#135583) 2025-01-15 10:02:18 +01:00
label_registry.py Improve code of normalized name registry (#125282) 2024-10-01 11:20:52 -05:00
llm.py Simplify llm calendar tool (#137402) 2025-02-05 11:42:41 +01:00
location.py Add more util aliases to import conventions (#136153) 2025-01-21 15:58:23 +01:00
network.py Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper (#127228) 2024-10-30 12:43:41 +01:00
normalized_name_base_registry.py Improve code of normalized name registry (#125282) 2024-10-01 11:20:52 -05:00
ratelimit.py Use PEP 695 for function annotations (2) (#117659) 2024-05-18 11:44:39 +02:00
recorder.py Fail tests if recorder creates nested sessions (#122579) 2024-07-25 21:18:55 +02:00
redact.py Update mypy dev 1.11.0a8 (#120032) 2024-06-21 13:15:18 +02:00
registry.py Speed up registry indices (#117897) 2024-05-22 14:07:39 -04:00
reload.py Add first batch of Ruff PYI rules (#115100) 2024-04-07 11:30:50 -10:00
restore_state.py Standardize homeassistant imports in core and base platforms (#136730) 2025-01-28 13:11:48 -05:00
schema_config_entry_flow.py Remove options property from OptionFlow (#129890) 2024-11-06 23:28:01 +01:00
script.py Adjust to recommended propcache.api import paths (#136150) 2025-01-21 10:58:22 +01:00
script_variables.py Remove unnecessary assignment of Template.hass from script variables helper (#123712) 2024-08-12 21:51:24 +02:00
selector.py Add enable_millisecond to duration selector (#122821) 2024-07-31 16:13:05 +02:00
sensor.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
service.py Add start_conversation service to Assist Satellite (#134921) 2025-01-29 21:32:10 -05:00
signal.py Use HassKey for helpers (2) (#117013) 2024-05-07 11:24:13 -05:00
significant_change.py Use PEP 695 for simple type aliases (#117633) 2024-05-17 14:42:21 +02:00
singleton.py Add overload for async singleton call with HassKey (#134059) 2025-01-17 19:22:48 +01:00
start.py Improve annotation styling (#118032) 2024-05-24 15:05:53 +02:00
state.py Change lock state to an enum (#126379) 2024-09-24 12:30:50 +02:00
storage.py Standardize homeassistant imports in core and base platforms (#136730) 2025-01-28 13:11:48 -05:00
sun.py Use PEP 695 for simple type aliases (#117633) 2024-05-17 14:42:21 +02:00
system_info.py Improve is docker env checks (#132404) 2025-01-02 17:21:49 +01:00
temperature.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
template.py Improve type hints in template helper (#136253) 2025-01-22 15:27:01 +00:00
trace.py Standardize homeassistant imports in core and base platforms (#136730) 2025-01-28 13:11:48 -05:00
translation.py Enable RUF023 (#135830) 2025-01-17 12:28:27 +01:00
trigger.py Update trigger validation message (#126749) 2024-09-25 15:33:03 +02:00
trigger_template_entity.py Fix correct handling in ManualTriggerEntity (#130135) 2024-11-21 20:46:03 +01:00
typing.py Add voluptuous type aliases (#120399) 2024-06-25 11:58:27 +02:00
update_coordinator.py Fix memory leak when unloading DataUpdateCoordinator (#137338) 2025-02-05 09:29:23 +01:00