From 0157ec97a13b27f7380b6052d0854208c0163ff2 Mon Sep 17 00:00:00 2001 From: Daniel de Jong <64607512+daniel-jong@users.noreply.github.com> Date: Tue, 29 Sep 2020 17:24:42 +0200 Subject: [PATCH] Pilight state min and max brightness settings (#14516) Co-authored-by: Franck Nijhof --- source/_integrations/pilight.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_integrations/pilight.markdown b/source/_integrations/pilight.markdown index 6218a4b0a1f..d8453a6ba61 100644 --- a/source/_integrations/pilight.markdown +++ b/source/_integrations/pilight.markdown @@ -310,7 +310,9 @@ switch: ## Light Pilight dimmer devices, which can have different brightness values, can be used as a light. -The configuration parameters are the same for dimmers and switches. +The configuration parameters are the same for dimmers and switches, but dimmers support a minimum and maximum dimming level. + +The `dimlevel_min` and `dimlevel_max` settings are to be set in the range of `0` to `15`, as used by pilight. Any dimming performed by Home Assistant (most likely in a `0` to `100` range) will be converted as a percentage of the available configured range in Pilight. {% configuration %} lights: @@ -331,6 +333,8 @@ light: - platform: pilight lights: test2: + dimlevel_min: 2 + dimlevel_max: 14 on_code: protocol: kaku_dimmer id: 23298822