13 void setup()
override;
const float DATA
For components that import data from directly connected sensors like DHT.
Base class for all cover devices.
CoverOperation
Enum encoding the current operation of a cover.
void set_open_duration(uint32_t duration)
void set_current_operation_(cover::CoverOperation operation)
float get_setup_priority() const override
cover::CoverOperation next_direction_
void dump_config() override
uint32_t last_recompute_time_
cover::CoverOperation last_command_
bool is_at_target_() const
Check if the cover has reached or passed the target position.
void process_rx_(uint8_t data)
The cover is currently idle (not moving)
void endstop_reached_(cover::CoverOperation operation)
cover::CoverTraits get_traits() override
void start_direction_(cover::CoverOperation dir)
void control(const cover::CoverCall &call) override
Implementation of SPI Controller mode.
void set_close_duration(uint32_t duration)
void recompute_position_()