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

Spot sensor Status Unknown #3

Closed
pabe40 opened this issue Jan 14, 2024 · 3 comments
Closed

Spot sensor Status Unknown #3

pabe40 opened this issue Jan 14, 2024 · 3 comments

Comments

@pabe40
Copy link

pabe40 commented Jan 14, 2024

I find your addition to EPEX Spot usefull and looking forward to use it.
Issues with Latest End Time setting smaller than earliest start time.

Latest time to end the appliance. Set it to same value as earliest start time to cover 24h. If set to smaller value than earliest start time, it automatically refers to following day.

When doing so, the status becomes unknown.

ps: setting the same time for both only works when both set to 12:00:00 AM.

@mampfes
Copy link
Owner

mampfes commented Jan 14, 2024

Ok, I see the problem:

When switching from one day to the other, the old data will be discarded. Therefore, the integration can't calculate the start time anymore and sets the sensor state to invalid. I need to cache the historic data.

@mampfes
Copy link
Owner

mampfes commented Jan 16, 2024

#5

ready for testing

@mampfes
Copy link
Owner

mampfes commented Jan 25, 2024

fixed in latest commit

@mampfes mampfes closed this as completed Jan 25, 2024
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

2 participants