12 void setup()
override;
fan::FanTraits get_traits() override
output::BinaryOutput * oscillating_
output::BinaryOutput * output_
void set_output(output::BinaryOutput *output)
output::BinaryOutput * direction_
void set_direction(output::BinaryOutput *direction)
void control(const fan::FanCall &call) override
void dump_config() override
void set_oscillating(output::BinaryOutput *oscillating)
FanDirection direction
The current direction of the fan.
bool oscillating
The current oscillation state of the fan.
Providing packet encoding functions for exchanging data with a remote host.