mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-26 02:37:03 +00:00
Add documentation for pilight dimmer as light (#11531)
* Add documentation for pilight dimmer as light see https://github.com/home-assistant/home-assistant/pull/30107 * Change dimmers to light
This commit is contained in:
parent
639d9047e2
commit
3f58993701
@ -22,6 +22,7 @@ There is currently support for the following device types within Home Assistant:
|
|||||||
- [Binary Sensor](#binary-sensor)
|
- [Binary Sensor](#binary-sensor)
|
||||||
- [Sensor](#sensor)
|
- [Sensor](#sensor)
|
||||||
- [Switch](#switch)
|
- [Switch](#switch)
|
||||||
|
- [Light](#light)
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
@ -304,6 +305,52 @@ switch:
|
|||||||
state: 'off'
|
state: 'off'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
|
||||||
|
{% configuration %}
|
||||||
|
lights:
|
||||||
|
description: The list that contains all command lights.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
keys:
|
||||||
|
entry:
|
||||||
|
description: Name of the command light, which are the same like for switches. Multiple entries are possible.
|
||||||
|
required: true
|
||||||
|
type: list
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
light:
|
||||||
|
- platform: pilight
|
||||||
|
lights:
|
||||||
|
test2:
|
||||||
|
on_code:
|
||||||
|
protocol: kaku_dimmer
|
||||||
|
id: 23298822
|
||||||
|
unit: 10
|
||||||
|
'on': 1
|
||||||
|
off_code:
|
||||||
|
protocol: kaku_dimmer
|
||||||
|
id: 23298822
|
||||||
|
unit: 10
|
||||||
|
'off': 1
|
||||||
|
on_code_receive:
|
||||||
|
protocol: kaku_dimmer
|
||||||
|
id: 23298822
|
||||||
|
unit: 10
|
||||||
|
state: 'on'
|
||||||
|
off_code_receive:
|
||||||
|
protocol: kaku_dimmer
|
||||||
|
id: 23298822
|
||||||
|
unit: 10
|
||||||
|
state: 'off'
|
||||||
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
- A list of tested RF transceiver hardware is available [here](https://manual.pilight.org/electronics/index.html). This might be useful before buying.
|
- A list of tested RF transceiver hardware is available [here](https://manual.pilight.org/electronics/index.html). This might be useful before buying.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user