toggle_after support for Shelly switch #1880
Unanswered
hickford
asked this question in
Integration 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.
-
Integration name
Shelly
Link to integration documentation on our website
https://www.home-assistant.io/integrations/shelly/
Describe the enhancement
Shelly's Switch.Set API has a "toggle_after" parameter https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch#switchset
It would nice to support this in Home Assistant in turn_on for a Shelly switch
Relatedly, you can query the current timer with Shelly's Switch.GetStatus API https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch#status . The response includes properties timer_started_at and timer_duration
It would nice to show this in Home Assistant.
Use cases
I would like to make an automation to turn on a heater for a period of time
A workaround is to use a more complex automation (on, wait, off) but this is harder to reason about if you have multiple overlapping automations.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions