From 6bbf3bf8171a1f1786f03c6c0bf4a3fdf2812aa0 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 16 Jul 2021 08:24:08 +0200 Subject: [PATCH] Add light white parameter to services.yaml --- homeassistant/components/light/services.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/homeassistant/components/light/services.yaml b/homeassistant/components/light/services.yaml index e2a8a94a74a22..778203a1c934b 100644 --- a/homeassistant/components/light/services.yaml +++ b/homeassistant/components/light/services.yaml @@ -265,6 +265,17 @@ turn_on: min: -100 max: 100 unit_of_measurement: "%" + white: + name: White + description: + Set the light to white mode and change its brightness, where 0 turns + the light off, 1 is the minimum brightness and 255 is the maximum + brightness supported by the light. + advanced: true + selector: + number: + min: 0 + max: 255 profile: name: Profile description: Name of a light profile to use.