set supports stop

This commit is contained in:
klaudiusz223 2023-12-24 21:24:42 +01:00
parent a7d9152204
commit 0f8c3ebfd7

View file

@ -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;
}