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

Calendar/Schedule not updating on long running HA instance #61

Open
tinuva opened this issue Mar 30, 2023 · 10 comments
Open

Calendar/Schedule not updating on long running HA instance #61

tinuva opened this issue Mar 30, 2023 · 10 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tinuva
Copy link

tinuva commented Mar 30, 2023

I find that if my HA is not restarted for a long period, the calendar/schedule eventually stops updating.

In the area/zone entity sensor.load_shedding_area_capetown_6_durbanville, I see the following attributes:

Forecast
- stage: 1
start_time: '2023-03-29T03:00:00+00:00'
end_time: '2023-03-29T04:30:00+00:00'

Last update
March 23, 2023 at 8:53:59 AM

I seem to be on version 1.3.0

See the difference between HA and ESP:
HA
Screenshot_20230330-064246
ESP
Screenshot_20230330-064319

@wernerhp
Copy link
Owner

Hmm...anything in the Logs?
What's the attributes for the stage and area sensors in Dev Tools?

@tinuva
Copy link
Author

tinuva commented Mar 31, 2023

Havent seen anything in the logs.

The stage sensor was up to date. the attributes for hte area is in the OP.

@wernerhp
Copy link
Owner

wernerhp commented Mar 31, 2023

Hmm...I see...not updating the forecast, because the area schedule is not updating every day as it should.
I wonder if it has something to do with it being the end of the month. Will check if it updates tomorrow.

image

@wernerhp
Copy link
Owner

Interesting that yours and mine both were last updated March 23, 2023 🤔

@kolakidd
Copy link

I've had the same issue before and had it again this week, this evening, I hit reload, and it sorted it out, and it loaded the latest schedules. It does feel like a month-end issue because I have tried that before to no avail.

@charliesjc
Copy link

Mine was doing the same thing with my area sensor, I see the last update was on 26 March, I hit reload under Devices and it's working again. The Eskom load shedding sensor kept updating correctly, though.

@wernerhp
Copy link
Owner

I suppose the workaround in the meantime is to set up an automation to reload the integration every 3-5 days

@crashza
Copy link

crashza commented Jan 22, 2024

Same issue here.

@Mephisto-za
Copy link

yup here as well, thanks for the reload tip.

@wernerhp wernerhp added the bug Something isn't working label Nov 25, 2024
@wernerhp wernerhp added this to the v1.5.0 milestone Nov 25, 2024
@wernerhp wernerhp self-assigned this Nov 25, 2024
@wernerhp
Copy link
Owner

The issue might be fixed in https://github.com/wernerhp/ha.integration.load_shedding/releases/tag/v1.5.0-beta.2 . Need to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants