Update Light flash description (#98252)

* Update Light flash description

`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.

* Revert removal of flash from turn-off

As discussed in feedback, turn-off does indeed seem to support flash.
This commit is contained in:
Andy Barratt 2023-08-16 09:06:37 +01:00 committed by GitHub
parent 8efb9dad7e
commit 6c573953e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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