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

Select SoC value before schedule start #1040

Open
Ahmad-Wahid opened this issue Apr 17, 2024 · 0 comments
Open

Select SoC value before schedule start #1040

Ahmad-Wahid opened this issue Apr 17, 2024 · 0 comments

Comments

@Ahmad-Wahid
Copy link
Contributor

Ahmad-Wahid commented Apr 17, 2024

I think we'll need some sort of inference here, e.g. in case the last SoC value was a couple of minutes before start. One possibility: something like sensor.search_beliefs(most_recent_event=True, events_before=start). Possibly with a events_after=start-max_staleness if we don't want the last SoC value to be unacceptably old.

Originally posted by @Flix6x in #1018 (comment)

I'd leave it None for now, in which case the filter for `events_after' can be left out. [...] we can discuss where this max_staleness parameter should live.

Originally posted by @Flix6x in
#1018 (comment)

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