From d1be6e1c6823c282e6b76d566ecb4606bb1243f9 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 24 Mar 2026 20:26:41 +0100 Subject: [PATCH] Improve input helper action naming consistency (#166382) --- .../components/input_boolean/strings.json | 8 +++--- .../components/input_button/strings.json | 6 ++--- .../components/input_datetime/strings.json | 6 ++--- .../components/input_number/strings.json | 8 +++--- .../components/input_select/strings.json | 26 +++++++++---------- .../components/input_text/strings.json | 6 ++--- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/homeassistant/components/input_boolean/strings.json b/homeassistant/components/input_boolean/strings.json index 030cfc456d6..c11bd0dedc2 100644 --- a/homeassistant/components/input_boolean/strings.json +++ b/homeassistant/components/input_boolean/strings.json @@ -20,19 +20,19 @@ "services": { "reload": { "description": "Reloads helpers from the YAML-configuration.", - "name": "[%key:common::action::reload%]" + "name": "Reload input booleans" }, "toggle": { "description": "Toggles an input boolean on/off.", - "name": "[%key:common::action::toggle%]" + "name": "Toggle input boolean" }, "turn_off": { "description": "Turns off an input boolean.", - "name": "[%key:common::action::turn_off%]" + "name": "Turn off input boolean" }, "turn_on": { "description": "Turns on an input boolean.", - "name": "[%key:common::action::turn_on%]" + "name": "Turn on input boolean" } }, "title": "Input boolean" diff --git a/homeassistant/components/input_button/strings.json b/homeassistant/components/input_button/strings.json index b447fb096b7..92d1ecaabe4 100644 --- a/homeassistant/components/input_button/strings.json +++ b/homeassistant/components/input_button/strings.json @@ -15,12 +15,12 @@ }, "services": { "press": { - "description": "Mimics a physical button press on a device.", - "name": "Press" + "description": "Presses an input button.", + "name": "Press input button" }, "reload": { "description": "Reloads helpers from the YAML-configuration.", - "name": "[%key:common::action::reload%]" + "name": "Reload input buttons" } }, "title": "Input button" diff --git a/homeassistant/components/input_datetime/strings.json b/homeassistant/components/input_datetime/strings.json index 701d2618637..f4e8c15f29d 100644 --- a/homeassistant/components/input_datetime/strings.json +++ b/homeassistant/components/input_datetime/strings.json @@ -37,10 +37,10 @@ "services": { "reload": { "description": "Reloads helpers from the YAML-configuration.", - "name": "[%key:common::action::reload%]" + "name": "Reload input datetimes" }, "set_datetime": { - "description": "Sets the date and/or time.", + "description": "Sets the date and/or time of an input datetime.", "fields": { "date": { "description": "The target date.", @@ -59,7 +59,7 @@ "name": "Timestamp" } }, - "name": "Set" + "name": "Set input datetime value" } }, "title": "Input datetime" diff --git a/homeassistant/components/input_number/strings.json b/homeassistant/components/input_number/strings.json index 6300af1b94e..eccadd476a6 100644 --- a/homeassistant/components/input_number/strings.json +++ b/homeassistant/components/input_number/strings.json @@ -36,15 +36,15 @@ "services": { "decrement": { "description": "Decrements the value of an input number by 1 step.", - "name": "Decrement" + "name": "Decrement input number" }, "increment": { "description": "Increments the value of an input number by 1 step.", - "name": "Increment" + "name": "Increment input number" }, "reload": { "description": "Reloads helpers from the YAML-configuration.", - "name": "[%key:common::action::reload%]" + "name": "Reload input numbers" }, "set_value": { "description": "Sets the value of an input number.", @@ -54,7 +54,7 @@ "name": "Value" } }, - "name": "Set" + "name": "Set input number value" } }, "title": "Input number" diff --git a/homeassistant/components/input_select/strings.json b/homeassistant/components/input_select/strings.json index f4b261ec22c..37936855d83 100644 --- a/homeassistant/components/input_select/strings.json +++ b/homeassistant/components/input_select/strings.json @@ -19,55 +19,55 @@ "services": { "reload": { "description": "Reloads helpers from the YAML-configuration.", - "name": "[%key:common::action::reload%]" + "name": "Reload input selects" }, "select_first": { - "description": "Selects the first option.", - "name": "First" + "description": "Selects the first option of an input select.", + "name": "Select first input select option" }, "select_last": { - "description": "Selects the last option.", - "name": "Last" + "description": "Selects the last option of an input select.", + "name": "Select last input select option" }, "select_next": { - "description": "Selects the next option.", + "description": "Selects the next option of an input select.", "fields": { "cycle": { "description": "If the option should cycle from the last to the first option on the list.", "name": "Cycle" } }, - "name": "Next" + "name": "Select next input select option" }, "select_option": { - "description": "Selects an option.", + "description": "Selects an option of an input select.", "fields": { "option": { "description": "Option to be selected.", "name": "Option" } }, - "name": "Select" + "name": "Select input select option" }, "select_previous": { - "description": "Selects the previous option.", + "description": "Selects the previous option of an input select.", "fields": { "cycle": { "description": "If the option should cycle from the first to the last option on the list.", "name": "[%key:component::input_select::services::select_next::fields::cycle::name%]" } }, - "name": "Previous" + "name": "Select previous input select option" }, "set_options": { - "description": "Sets the options.", + "description": "Sets the options of an input select.", "fields": { "options": { "description": "List of options.", "name": "Options" } }, - "name": "Set options" + "name": "Set input select options" } }, "title": "Input select" diff --git a/homeassistant/components/input_text/strings.json b/homeassistant/components/input_text/strings.json index ad55a9b617a..88c1b9384bf 100644 --- a/homeassistant/components/input_text/strings.json +++ b/homeassistant/components/input_text/strings.json @@ -32,17 +32,17 @@ "services": { "reload": { "description": "Reloads helpers from the YAML-configuration.", - "name": "[%key:common::action::reload%]" + "name": "Reload input texts" }, "set_value": { - "description": "Sets the value.", + "description": "Sets the value of an input text.", "fields": { "value": { "description": "The target value.", "name": "Value" } }, - "name": "Set" + "name": "Set input text value" } }, "title": "Input text"