Binary Light¶
The binary
light platform creates a simple ON/OFF-only light from a
binary output component.

# Example configuration entry
light:
- platform: binary
name: "Desk Lamp"
output: light_output
output:
- id: light_output
platform: gpio
pin: GPIO16
Configuration variables:¶
name (Required, string): The name of the light.
output (Required, ID): The id of the binary Output Component to use for this light.
id (Optional, ID): Manually specify the ID used for code generation.
effects (Optional, list): A list of light effects to use for this light, though binary lights only support very few of them.
All other options from Light.