1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 00:20:30 +01:00

Improve input helper action naming consistency (#166382)

This commit is contained in:
Franck Nijhof
2026-03-24 20:26:41 +01:00
committed by GitHub
parent 151eae4d5a
commit d1be6e1c68
6 changed files with 30 additions and 30 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"