cover component needs new triggers #3497
Unanswered
clydebarrow
asked this question in
Component enhancements
Replies: 1 comment
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
cover
Link to component documentation on our website
https://esphome.io/components/cover/
Describe the enhancement
The cover component has two triggers
on_openandon_closed. The first is badly named, it fires when the cover completes an open, thus should beon_opened. These triggers also only fire if the cover is fully open or closed.New triggers are needed:
The
on_opentrigger should be renamed toon_openedand the old name deprecated.Use cases
Automations based on cover operations need appropriate triggers to initiate actions, e.g. to start an auto-close timeout whenever the cover stops in a position other than fully closed.
This requires the
on_idletrigger.Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions