mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
Feature add last_operation to time based cover (#6084)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
de2a92e45d
commit
5288d5ac95
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ class TimeBasedCover : public cover::Cover, public Component {
|
|||
void set_has_built_in_endstop(bool value) { this->has_built_in_endstop_ = value; }
|
||||
void set_manual_control(bool value) { this->manual_control_ = value; }
|
||||
void set_assumed_state(bool value) { this->assumed_state_ = value; }
|
||||
cover::CoverOperation get_last_operation() const { return this->last_operation_; }
|
||||
|
||||
protected:
|
||||
void control(const cover::CoverCall &call) override;
|
||||
|
|
Loading…
Reference in a new issue