From c6e1f8878d81ac1140e170ca0918fa2778cb681c Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Fri, 16 Jul 2021 09:03:28 +0200 Subject: [PATCH] Add light white parameter to light/services.yaml (#53075) --- 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 e2a8a94a74a..778203a1c93 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.