"turn_on_action"/"turn_off_action" as Switch Core functionality #3443
Unanswered
Masterz69
asked this question in
Component enhancements
Replies: 2 comments 4 replies
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
There is the |
Beta Was this translation helpful? Give feedback.
4 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
switch
Link to component documentation on our website
https://esphome.io/components/switch/
Describe the enhancement
Currently "turn_on_action"/"turn_off_action" only available for Template Switch.
Asking to provide that fucntionality as a Core Switch functionality.
Use cases
To trigger whatvere required actions on ESPHome side when UI (like HA) requests to change switch state, regardless of it's current state and followinf state change. F.e. if need to restart a running script when state change requsted by UI (HA or Web).
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions