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