Update light.markdown to include flash in turn_off options (#28602)

This commit is contained in:
Andy Barratt 2023-08-17 05:43:31 +01:00 committed by GitHub
parent 842c15b7af
commit 30dd618e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,7 @@ Turns one or multiple lights off.
| ---------------------- | -------- | ----------- |
| `entity_id` | no | String or list of strings that point at `entity_id`s of lights. To target all lights, set `entity_id` to `all`.
| `transition` | yes | Integer that represents the time the light should take to transition to the new state in seconds.
| `flash` | yes | Tell light to flash, can be either value `short` or `long`.
### Service `light.toggle`