30 traits.set_oscillation(
true);
33 traits.set_direction(
true);
34 traits.set_speed(
true);
35 traits.set_supported_speed_count(5);
38 traits.set_direction(
true);
39 traits.set_speed(
true);
40 traits.set_supported_speed_count(100);
41 traits.set_oscillation(
true);
59 this->publish_state();
optional< FanDirection > get_direction() const
void control(const fan::FanCall &call) override
optional< int > get_speed() const
fan::FanTraits get_traits() override
optional< bool > get_state() const
optional< bool > get_oscillating() const
Implementation of SPI Controller mode.
void set_type(DemoFanType type)