-
- Downloads
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 ecb3bf79. * 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 ec6f6131. * 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>
Showing
- homeassistant/components/config/config_entries.py 130 additions, 0 deletionshomeassistant/components/config/config_entries.py
- homeassistant/components/kitchen_sink/__init__.py 10 additions, 3 deletionshomeassistant/components/kitchen_sink/__init__.py
- homeassistant/components/kitchen_sink/config_flow.py 67 additions, 0 deletionshomeassistant/components/kitchen_sink/config_flow.py
- homeassistant/components/kitchen_sink/sensor.py 20 additions, 2 deletionshomeassistant/components/kitchen_sink/sensor.py
- homeassistant/components/kitchen_sink/strings.json 21 additions, 0 deletionshomeassistant/components/kitchen_sink/strings.json
- homeassistant/config_entries.py 452 additions, 9 deletionshomeassistant/config_entries.py
- homeassistant/helpers/data_entry_flow.py 2 additions, 2 deletionshomeassistant/helpers/data_entry_flow.py
- homeassistant/helpers/device_registry.py 198 additions, 16 deletionshomeassistant/helpers/device_registry.py
- homeassistant/helpers/entity_platform.py 49 additions, 5 deletionshomeassistant/helpers/entity_platform.py
- homeassistant/helpers/entity_registry.py 88 additions, 1 deletionhomeassistant/helpers/entity_registry.py
- script/hassfest/translations.py 9 additions, 0 deletionsscript/hassfest/translations.py
- tests/common.py 24 additions, 0 deletionstests/common.py
- tests/components/acaia/snapshots/test_binary_sensor.ambr 1 addition, 0 deletionstests/components/acaia/snapshots/test_binary_sensor.ambr
- tests/components/acaia/snapshots/test_button.ambr 3 additions, 0 deletionstests/components/acaia/snapshots/test_button.ambr
- tests/components/acaia/snapshots/test_init.ambr 1 addition, 0 deletionstests/components/acaia/snapshots/test_init.ambr
- tests/components/acaia/snapshots/test_sensor.ambr 3 additions, 0 deletionstests/components/acaia/snapshots/test_sensor.ambr
- tests/components/accuweather/snapshots/test_sensor.ambr 131 additions, 0 deletionstests/components/accuweather/snapshots/test_sensor.ambr
- tests/components/accuweather/snapshots/test_weather.ambr 1 addition, 0 deletionstests/components/accuweather/snapshots/test_weather.ambr
- tests/components/aemet/snapshots/test_diagnostics.ambr 2 additions, 0 deletionstests/components/aemet/snapshots/test_diagnostics.ambr
- tests/components/airgradient/snapshots/test_button.ambr 3 additions, 0 deletionstests/components/airgradient/snapshots/test_button.ambr
Loading
Please register or sign in to comment