Move group toggle descriptions to data_description (#149625)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
karwosts 2025-07-30 03:31:32 -07:00 committed by GitHub
parent ac86f2e2ba
commit a79d2da9a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,12 +21,14 @@
}, },
"binary_sensor": { "binary_sensor": {
"title": "[%key:component::group::config::step::user::title%]", "title": "[%key:component::group::config::step::user::title%]",
"description": "If \"all entities\" is enabled, the group's state is on only if all members are on. If \"all entities\" is disabled, the group's state is on if any member is on.",
"data": { "data": {
"all": "All entities", "all": "All entities",
"entities": "Members", "entities": "Members",
"hide_members": "Hide members", "hide_members": "Hide members",
"name": "[%key:common::config_flow::data::name%]" "name": "[%key:common::config_flow::data::name%]"
},
"data_description": {
"all": "If enabled, the group's state is on only if all members are on. If disabled, the group's state is on if any member is on."
} }
}, },
"button": { "button": {
@ -105,6 +107,9 @@
"device_class": "Device class", "device_class": "Device class",
"state_class": "State class", "state_class": "State class",
"unit_of_measurement": "Unit of measurement" "unit_of_measurement": "Unit of measurement"
},
"data_description": {
"ignore_non_numeric": "If enabled, the group's state is calculated if at least one member has a numerical value. If disabled, the group's state is calculated only if all group members have numerical values."
} }
}, },
"switch": { "switch": {
@ -120,11 +125,13 @@
"options": { "options": {
"step": { "step": {
"binary_sensor": { "binary_sensor": {
"description": "[%key:component::group::config::step::binary_sensor::description%]",
"data": { "data": {
"all": "[%key:component::group::config::step::binary_sensor::data::all%]", "all": "[%key:component::group::config::step::binary_sensor::data::all%]",
"entities": "[%key:component::group::config::step::binary_sensor::data::entities%]", "entities": "[%key:component::group::config::step::binary_sensor::data::entities%]",
"hide_members": "[%key:component::group::config::step::binary_sensor::data::hide_members%]" "hide_members": "[%key:component::group::config::step::binary_sensor::data::hide_members%]"
},
"data_description": {
"all": "[%key:component::group::config::step::binary_sensor::data_description::all%]"
} }
}, },
"button": { "button": {
@ -146,11 +153,13 @@
} }
}, },
"light": { "light": {
"description": "[%key:component::group::config::step::binary_sensor::description%]",
"data": { "data": {
"all": "[%key:component::group::config::step::binary_sensor::data::all%]", "all": "[%key:component::group::config::step::binary_sensor::data::all%]",
"entities": "[%key:component::group::config::step::binary_sensor::data::entities%]", "entities": "[%key:component::group::config::step::binary_sensor::data::entities%]",
"hide_members": "[%key:component::group::config::step::binary_sensor::data::hide_members%]" "hide_members": "[%key:component::group::config::step::binary_sensor::data::hide_members%]"
},
"data_description": {
"all": "[%key:component::group::config::step::binary_sensor::data_description::all%]"
} }
}, },
"lock": { "lock": {
@ -172,7 +181,6 @@
} }
}, },
"sensor": { "sensor": {
"description": "If \"ignore non-numeric\" is enabled, the group's state is calculated if at least one member has a numerical value. If \"ignore non-numeric\" is disabled, the group's state is calculated only if all group members have numerical values.",
"data": { "data": {
"ignore_non_numeric": "[%key:component::group::config::step::sensor::data::ignore_non_numeric%]", "ignore_non_numeric": "[%key:component::group::config::step::sensor::data::ignore_non_numeric%]",
"entities": "[%key:component::group::config::step::binary_sensor::data::entities%]", "entities": "[%key:component::group::config::step::binary_sensor::data::entities%]",
@ -182,14 +190,19 @@
"device_class": "[%key:component::group::config::step::sensor::data::device_class%]", "device_class": "[%key:component::group::config::step::sensor::data::device_class%]",
"state_class": "[%key:component::group::config::step::sensor::data::state_class%]", "state_class": "[%key:component::group::config::step::sensor::data::state_class%]",
"unit_of_measurement": "[%key:component::group::config::step::sensor::data::unit_of_measurement%]" "unit_of_measurement": "[%key:component::group::config::step::sensor::data::unit_of_measurement%]"
},
"data_description": {
"ignore_non_numeric": "[%key:component::group::config::step::sensor::data_description::ignore_non_numeric%]"
} }
}, },
"switch": { "switch": {
"description": "[%key:component::group::config::step::binary_sensor::description%]",
"data": { "data": {
"all": "[%key:component::group::config::step::binary_sensor::data::all%]", "all": "[%key:component::group::config::step::binary_sensor::data::all%]",
"entities": "[%key:component::group::config::step::binary_sensor::data::entities%]", "entities": "[%key:component::group::config::step::binary_sensor::data::entities%]",
"hide_members": "[%key:component::group::config::step::binary_sensor::data::hide_members%]" "hide_members": "[%key:component::group::config::step::binary_sensor::data::hide_members%]"
},
"data_description": {
"all": "[%key:component::group::config::step::binary_sensor::data_description::all%]"
} }
} }
} }