mirror of
https://github.com/esphome/esphome.git
synced 2024-12-28 00:11:43 +01:00
set supports stop
This commit is contained in:
parent
a7d9152204
commit
0f8c3ebfd7
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ CoverTraits TimeBasedTiltCover::get_traits() {
|
|||
traits.set_supports_position(true);
|
||||
traits.set_supports_tilt(this->tilt_close_duration_ !=0 && this->tilt_open_duration_ !=0);
|
||||
traits.set_supports_toggle(true);
|
||||
traits.set_supports_stop(true);
|
||||
traits.set_is_assumed_state(this->assumed_state_);
|
||||
return traits;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue