Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for delayed actions #324

Closed
2 tasks done
ldotlopez opened this issue Jan 20, 2024 · 1 comment
Closed
2 tasks done

Add support for delayed actions #324

ldotlopez opened this issue Jan 20, 2024 · 1 comment
Labels

Comments

@ldotlopez
Copy link

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Add support for delayed actions like: turn on the A/C in 2 hours

This is different that scheduling with a calendar or fixed hours, sometimes I need to turn on / off some device after some interval.

I'm about to take a look at the code and do this myself, but before going into depth I want to know if there is interest in this feature and if it may be merged

Additional info

I tried to implement it using standard timers, helpers, automations and scripts but it gets to messy, fragile, complicated and not reusable, not to mention the UI.

I think that scheleduler-component has all the infrastructure ready to support this feature: code and UI components.

  • Action should be disabled after finish due to it's nature, reenabling it should start the timer again
  • Disabling the action causes the internal timer to be canceled.
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant