Closed apocaliss92 closed 1 year ago
thanks, I see why this is happening. Will fix in next beta (beta 17). You are one of the few so far that doesn't not have OWM set up (the rest of us in the beta, or at least most of us in the beta are testing OWM and sensors side-by-side). Thanks for catching this!
beta17 was just released.
Works now! Thank you very much, glad to help with not own topics 😄
What happened?
Hi again! I updated from b9 to b16 and since two days no more calculations; I could catch this in the logs:
Logger: homeassistant Source: custom_components/smart_irrigation/init.py:330 Integration: Smart Irrigation (documentation, issues) First occurred: 00:07:55 (1 occurrences) Last logged: 00:07:55
Error doing job: Exception in callback async_call_later..run_action(>>) at /usr/src/homeassistant/homeassistant/helpers/event.py:1490
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, self._args)
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 1493, in run_action
hass.async_run_hass_job(job, time_tracker_utcnow())
File "/usr/src/homeassistant/homeassistant/core.py", line 625, in async_run_hass_job
hassjob.target(args)
File "/config/custom_components/smart_irrigation/init.py", line 330, in track_update_time
if self._OWMClient:
^^^^^^^^^^^^^^^
AttributeError: 'SmartIrrigationCoordinator' object has no attribute '_OWMClient'
How to reproduce
Installed b16 and restarted ha
Relevant log output
Which version are you running?
B16
Diagnostics file
Additional information
No response