mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 09:05:15 +02:00
Add consistent descriptions to turn on / off and toggle commands (#130985)
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
"services": {
|
"services": {
|
||||||
"turn_on": {
|
"turn_on": {
|
||||||
"name": "[%key:common::action::turn_on%]",
|
"name": "[%key:common::action::turn_on%]",
|
||||||
"description": "Sends the power on command.",
|
"description": "Sends the turn on command.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"activity": {
|
"activity": {
|
||||||
"name": "Activity",
|
"name": "Activity",
|
||||||
@@ -38,11 +38,11 @@
|
|||||||
},
|
},
|
||||||
"toggle": {
|
"toggle": {
|
||||||
"name": "[%key:common::action::toggle%]",
|
"name": "[%key:common::action::toggle%]",
|
||||||
"description": "Toggles a device on/off."
|
"description": "Sends the toggle command."
|
||||||
},
|
},
|
||||||
"turn_off": {
|
"turn_off": {
|
||||||
"name": "[%key:common::action::turn_off%]",
|
"name": "[%key:common::action::turn_off%]",
|
||||||
"description": "Turns the device off."
|
"description": "Sends the turn off command."
|
||||||
},
|
},
|
||||||
"send_command": {
|
"send_command": {
|
||||||
"name": "Send command",
|
"name": "Send command",
|
||||||
|
Reference in New Issue
Block a user