Add output part to binary light example (#1061)

This commit is contained in:
Klaas Schoute 2021-05-08 08:23:26 +02:00 committed by GitHub
parent 4c26033ef0
commit 30a30b1eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
------------------------ ------------------------