Skip to content

Commit

Permalink
Change light.turn_on and light.turn_off descriptions to match HA style (
Browse files Browse the repository at this point in the history
#138213)

Change light.turn_on and turn_off descriptions to match HA style

Also remove one excessive comma from the light.toggle action description.
  • Loading branch information
NoRi2909 authored Feb 10, 2025
1 parent 12173a9 commit 20f6bd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/light/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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%]",
Expand Down Expand Up @@ -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%]",
Expand All @@ -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%]",
Expand Down

0 comments on commit 20f6bd3

Please sign in to comment.