Change light.turn_on and light.turn_off descriptions to match HA style (#138213)

Change light.turn_on and turn_off descriptions to match HA style

Also remove one excessive comma from the light.toggle action description.
This commit is contained in:
Norbert Rittel 2025-02-10 20:34:38 +01:00 committed by GitHub
parent 12173a9d62
commit 20f6bd309e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -285,7 +285,7 @@
"services": {
"turn_on": {
"name": "[%key:common::action::turn_on%]",
"description": "Turn on one or more lights and adjust properties of the light, even when they are turned on already.",
"description": "Turns on one or more lights and adjusts their properties, even when they are turned on already.",
"fields": {
"transition": {
"name": "[%key:component::light::common::field_transition_name%]",
@ -364,7 +364,7 @@
},
"turn_off": {
"name": "[%key:common::action::turn_off%]",
"description": "Turn off one or more lights.",
"description": "Turns off one or more lights.",
"fields": {
"transition": {
"name": "[%key:component::light::common::field_transition_name%]",
@ -383,7 +383,7 @@
},
"toggle": {
"name": "[%key:common::action::toggle%]",
"description": "Toggles one or more lights, from on to off, or, off to on, based on their current state.",
"description": "Toggles one or more lights, from on to off, or off to on, based on their current state.",
"fields": {
"transition": {
"name": "[%key:component::light::common::field_transition_name%]",