18 void setup()
override;
void set_min_value(uint32_t min_value)
void set_invert_position_report(bool invert_position_report)
void set_position_report_id(uint8_t position_report_id)
Base class for all cover devices.
optional< uint8_t > direction_id_
void set_invert_position(bool invert_position)
cover::CoverTraits get_traits() override
void set_direction_id(uint8_t direction_id)
void set_direction_(bool inverted)
TuyaCoverRestoreMode restore_mode_
void set_position_id(uint8_t position_id)
optional< uint8_t > position_report_id_
bool invert_position_report_
void set_restore_mode(TuyaCoverRestoreMode restore_mode)
void set_control_id(uint8_t control_id)
void control(const cover::CoverCall &call) override
void set_max_value(uint32_t max_value)
void set_tuya_parent(Tuya *parent)
optional< uint8_t > control_id_
Implementation of SPI Controller mode.
optional< uint8_t > position_id_
void dump_config() override