From 3547b8691e019bc86e2ed61afd01e389c964ddc6 Mon Sep 17 00:00:00 2001 From: Santobert Date: Fri, 4 Oct 2019 17:46:23 +0200 Subject: [PATCH] Add examples to lights service (#27192) --- homeassistant/components/light/services.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/light/services.yaml b/homeassistant/components/light/services.yaml index 97186f56a8f..9173f79f964 100644 --- a/homeassistant/components/light/services.yaml +++ b/homeassistant/components/light/services.yaml @@ -40,12 +40,14 @@ turn_on: description: Name of a light profile to use. example: relax flash: - description: If the light should flash. + description: If the light should flash. Valid values are short and long. + example: short values: - short - long effect: description: Light effect. + example: random values: - colorloop - random @@ -60,7 +62,8 @@ turn_off: description: Duration in seconds it takes to get to next state. example: 60 flash: - description: If the light should flash. + description: If the light should flash. Valid values are short and long. + example: short values: - short - long @@ -105,12 +108,14 @@ toggle: description: Name of a light profile to use. example: relax flash: - description: If the light should flash. + description: If the light should flash. Valid values are short and long. + example: short values: - short - long effect: description: Light effect. + example: random values: - colorloop - random