mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Pilight state min and max brightness settings (#14516)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
b3671be008
commit
0157ec97a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user