Skip to content

Commit

Permalink
Update Light flash description
Browse files Browse the repository at this point in the history
`light.turn_on` service description for the `flash` option gave the impression of a boolean value being required when in fact a string of either `short` or `long` was required.  Updated this to match the documentation found at https://www.home-assistant.io/integrations/light

`light.turn_off` also described the existence of a `flash` option when none exists.  I've removed this, which matches the aforementioned documentation too.
  • Loading branch information
apbarratt committed Aug 15, 2023
1 parent 3cf86d5 commit b48f4fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions homeassistant/components/light/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
},
"flash": {
"name": "Flash",
"description": "If the light should flash."
"description": "Tell light to flash, can be either value short or long."
},
"effect": {
"name": "Effect",
Expand All @@ -323,10 +323,6 @@
"transition": {
"name": "[%key:component::light::services::turn_on::fields::transition::name%]",
"description": "[%key:component::light::services::turn_on::fields::transition::description%]"
},
"flash": {
"name": "[%key:component::light::services::turn_on::fields::flash::name%]",
"description": "[%key:component::light::services::turn_on::fields::flash::description%]"
}
}
},
Expand Down

0 comments on commit b48f4fe

Please sign in to comment.