From 6c573953e332c615fdca28963c60a2fb260b6a3b Mon Sep 17 00:00:00 2001 From: Andy Barratt Date: Wed, 16 Aug 2023 09:06:37 +0100 Subject: [PATCH] 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. --- homeassistant/components/light/strings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/strings.json b/homeassistant/components/light/strings.json index 80e2ca54562..8be954f4653 100644 --- a/homeassistant/components/light/strings.json +++ b/homeassistant/components/light/strings.json @@ -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",