mirror of
https://github.com/home-assistant/core.git
synced 2026-08-28 09:04:48 +01:00
* 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>
133 lines
3.4 KiB
JSON
133 lines
3.4 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
|
},
|
|
"step": {
|
|
"reauth_confirm": {
|
|
"description": "Select **Submit** to reauthenticate"
|
|
}
|
|
}
|
|
},
|
|
"config_subentries": {
|
|
"entity": {
|
|
"title": "Add entity",
|
|
"step": {
|
|
"add_sensor": {
|
|
"description": "Configure the new sensor",
|
|
"data": {
|
|
"name": "[%key:common::config_flow::data::name%]",
|
|
"state": "Initial state"
|
|
}
|
|
},
|
|
"reconfigure_sensor": {
|
|
"description": "Reconfigure the sensor",
|
|
"data": {
|
|
"name": "[%key:component::kitchen_sink::config_subentries::entity::step::reconfigure_sensor::data::state%]",
|
|
"state": "Initial state"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {}
|
|
},
|
|
"options_1": {
|
|
"sections": {
|
|
"section_1": {
|
|
"data": {
|
|
"bool": "Optional boolean",
|
|
"int": "Numeric input"
|
|
},
|
|
"data_description": {
|
|
"int": "A longer description for the numeric input"
|
|
},
|
|
"description": "This section allows input of some extra data",
|
|
"name": "Collapsible section"
|
|
}
|
|
},
|
|
"submit": "Save!"
|
|
}
|
|
}
|
|
},
|
|
"device": {
|
|
"n_ch_power_strip": {
|
|
"name": "Power strip with {number_of_sockets} sockets"
|
|
}
|
|
},
|
|
"issues": {
|
|
"bad_psu": {
|
|
"title": "The power supply is not stable",
|
|
"fix_flow": {
|
|
"step": {
|
|
"confirm": {
|
|
"title": "The power supply needs to be replaced",
|
|
"description": "Select **Submit** to confirm the power supply has been replaced"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"out_of_blinker_fluid": {
|
|
"title": "The blinker fluid is empty and needs to be refilled",
|
|
"fix_flow": {
|
|
"step": {
|
|
"confirm": {
|
|
"title": "Blinker fluid needs to be refilled",
|
|
"description": "Select **Submit** when blinker fluid has been refilled"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cold_tea": {
|
|
"title": "The tea is cold",
|
|
"fix_flow": {
|
|
"step": {},
|
|
"abort": {
|
|
"not_tea_time": "Can not re-heat the tea at this time"
|
|
}
|
|
}
|
|
},
|
|
"transmogrifier_deprecated": {
|
|
"title": "The transmogrifier component is deprecated",
|
|
"description": "The transmogrifier component is now deprecated due to the lack of local control available in the new API"
|
|
},
|
|
"unfixable_problem": {
|
|
"title": "This is not a fixable problem",
|
|
"description": "This issue is never going to give up."
|
|
}
|
|
},
|
|
"services": {
|
|
"test_service_1": {
|
|
"name": "Test action 1",
|
|
"description": "Fake action for testing",
|
|
"fields": {
|
|
"field_1": {
|
|
"name": "Field 1",
|
|
"description": "Number of seconds"
|
|
},
|
|
"field_2": {
|
|
"name": "Field 2",
|
|
"description": "Mode"
|
|
},
|
|
"field_3": {
|
|
"name": "Field 3",
|
|
"description": "Number of hours"
|
|
},
|
|
"field_4": {
|
|
"name": "Field 4",
|
|
"description": "Direction"
|
|
}
|
|
},
|
|
"sections": {
|
|
"advanced_fields": {
|
|
"name": "Advanced options",
|
|
"description": "Some very advanced things"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|