mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Add output part to binary light example (#1061)
This commit is contained in:
parent
4c26033ef0
commit
30a30b1eba
@ -18,7 +18,12 @@ The ``binary`` light platform creates a simple ON/OFF-only light from a
|
|||||||
light:
|
light:
|
||||||
- platform: binary
|
- platform: binary
|
||||||
name: "Desk Lamp"
|
name: "Desk Lamp"
|
||||||
output: output_component1
|
output: light_output
|
||||||
|
|
||||||
|
output:
|
||||||
|
- id: light_output
|
||||||
|
platform: gpio
|
||||||
|
pin: GPIO16
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
------------------------
|
------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user