Binary Fan¶
The binary
fan platform lets you represent any binary Output Component as a fan.

# Example configuration entry
output:
- id: fan_output
platform: gpio
pin: GPIO16
fan:
- platform: binary
output: fan_output
name: "Living Room Fan"
Configuration variables:¶
output (Required, ID): The id of the binary output component to use for this fan.
name (Required, string): The name for this fan.
oscillation_output (Optional, ID): The id of the output to use for the oscillation state of this fan. Default is empty.
direction_output (Optional, ID): The id of the output to use for the direction state of the fan. Default is empty.
id (Optional, ID): Manually specify the ID used for code generation.
All other options from Fan Component.