13 void setup()
override;
Base class for all cover devices.
cover::CoverTraits get_traits() override
void stop_prev_trigger_()
CoverOperation
Enum encoding the current operation of a cover.
binary_sensor::BinarySensor * close_endstop_
void set_close_endstop(binary_sensor::BinarySensor *close_endstop)
Trigger * get_stop_trigger() const
cover::CoverOperation last_operation_
void set_max_duration(uint32_t max_duration)
void set_close_duration(uint32_t close_duration)
void set_open_duration(uint32_t open_duration)
uint32_t last_recompute_time_
bool state
The current reported state of the binary sensor.
Trigger * prev_command_trigger_
void start_direction_(cover::CoverOperation dir)
bool is_at_target_() const
Trigger * get_open_trigger() const
void set_open_endstop(binary_sensor::BinarySensor *open_endstop)
Trigger * get_close_trigger() const
binary_sensor::BinarySensor * open_endstop_
void recompute_position_()
void dump_config() override
uint32_t last_publish_time_
Implementation of SPI Controller mode.
Base class for all binary_sensor-type classes.
void control(const cover::CoverCall &call) override
The cover is currently opening.
float get_setup_priority() const override