mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-12 13:39:50 +01:00
Update custom.rst to include changes made in CoverTraits (#2944)
Update documentation to add changes made in https://github.com/esphome/esphome/pull/3897 traits.set_supports_stop(true) required now in the custom cover for stop button to be exposed.
This commit is contained in:
parent
b3fb5b3b84
commit
89451cbe46
@ -30,6 +30,7 @@ two methods:
|
||||
traits.set_is_assumed_state(false);
|
||||
traits.set_supports_position(true);
|
||||
traits.set_supports_tilt(false);
|
||||
traits.set_supports_stop(true);
|
||||
return traits;
|
||||
}
|
||||
void control(const CoverCall &call) override {
|
||||
|
Loading…
Reference in New Issue
Block a user