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

Interval Mode in action calls #183

Open
hosiz opened this issue Dec 27, 2024 · 1 comment
Open

Interval Mode in action calls #183

hosiz opened this issue Dec 27, 2024 · 1 comment

Comments

@hosiz
Copy link

hosiz commented Dec 27, 2024

It would be really nice to have the option to select between contigous and intermittent in the action calls.

Would be nice if you could have a look into it.

@hosiz
Copy link
Author

hosiz commented Dec 28, 2024

To be clear here is an example call for my request.
Would be fine if we get the set of durations as return or just a boolean (currently in the cheapest times -> True, otherwise -> false)

This action call has the advantage of varable duration requests in comparison to the possibility to crate helpers.
Would be nice to use this option in automations and template-sensors.

action: epex_spot.in_lowest_price_interval  
data:  
  device_id: dc6b93efc4570c616054814d6dcde8d1  
  latest_end_post: 1  
  **interval: intermittent**  
  duration:  
    hours: 3  
    minutes: 15  
    seconds: 5 

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

No branches or pull requests

1 participant