13 void setup()
override;
fan::FanTraits get_traits() override
void set_switch_id(uint8_t switch_id)
void set_speed_id(uint8_t speed_id)
void set_direction_id(uint8_t direction_id)
optional< uint8_t > switch_id_
TuyaFan(Tuya *parent, int speed_count)
void control(const fan::FanCall &call) override
optional< uint8_t > oscillation_id_
void dump_config() override
TuyaDatapointType speed_type_
TuyaDatapointType oscillation_type_
Implementation of SPI Controller mode.
optional< uint8_t > direction_id_
optional< uint8_t > speed_id_
void set_oscillation_id(uint8_t oscillation_id)