HAsmartirrigation: Daily bucket calculation is not correct when using a solar radiation sensor

What happened?

Everything working fine until early April 2024 - so likely when I updated to HA 2024.4.

Since then buckets are no longer updating so something is not working correctly.

My weather station data is all good and nothing has changed so I am not sure what is happening.

How to reproduce

  1. setup smart irrigation as normal with the default so that buckets are updated daily at 11pm
  2. after 11pm I notice that the bucket doesn’t change or if it does it is a tiny amount

Relevant log output

Logger: homeassistant.util.loop
Source: util/loop.py:99
First occurred: 8:07:13 AM (14 occurrences)
Last logged: 8:07:18 AM

Detected blocking call to import_module inside the event loop by custom integration 'smart_irrigation' at custom_components/smart_irrigation/helpers.py, line 436: mod = importlib.import_module( (offender: /config/custom_components/smart_irrigation/helpers.py, line 436: mod = importlib.import_module(), please create a bug report at https://github.com/jeroenterheerdt/HASmartIrrigation/issues

Which version are you running?

2024.5.2

Diagnostics file

  • I have attached a diagnostics file

Additional information

please find diagnostic file here. Happy to help with any further info and troubleshooting.

config_entry-smart_irrigation-7f7127f4c22a04d1cbd475295c54538c.json

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 100 (40 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks so much for the work on this. I have updated my test system to use the latest beta and will see how it goes over the next few days…

I see already there is a lot of data…

image