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

RainMachine component: Error doing job: Task exception was never retrieved (2022.7.6) #75653

Closed
LeapFrogSupport opened this issue Jul 23, 2022 · 5 comments · Fixed by #75668
Closed

Comments

@LeapFrogSupport
Copy link

LeapFrogSupport commented Jul 23, 2022

The problem

After update from 2022.6.6 to 2202.7.6, the first run of a RainMachine Program caused the 'Error doing job: Task exception was never retrieved' error. Note: RainMachine polling for updates is enabled in the integration.

In an attempt to provide additional information I enabled debug on homeassistant.components.rainmachine and triggered the Rainmachine Program manually from their webUI but was not able to replicate the error.

HA and RainMachine logs for both the initial error and the debug test are attached
homeassistant_rainmachine_2202.7.6_log.txt

What version of Home Assistant Core has the issue?

core-2022.7.6

What was the last working version of Home Assistant Core?

core-2022.6.6

What type of installation are you running?

Home Assistant Container

Integration causing the issue

rainmachine

Link to integration documentation on our website

https://www.home-assistant.io/integrations/rainmachine/

Diagnostics information

config_entry-rainmachine-b7ccb0bfc40c4353a41607819c171d26.json.txt

Example YAML snippet

Core integration

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: components/rainmachine/sensor.py:246
First occurred: 5:52:11 AM (171 occurrences)
Last logged: 6:20:26 AM
Error doing job: Task exception was never retrieved

2022-07-23 05:52:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval
await self._async_re
[config_entry-rainmachine-b7ccb0bfc40c4353a41607819c171d26.json.txt](https://github.com/home-assistant/core/files/9174251/config_entry-rainmachine-b7ccb0bfc40c4353a41607819c171d26.json.txt)
fresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/components/rainmachine/__init__.py", line 435, in _handle_coordinator_update
self.update_from_latest_data()
File "/usr/src/homeassistant/homeassistant/components/rainmachine/sensor.py", line 246, in update_from_latest_data
assert isinstance(self._attr_native_value, datetime)
AssertionError

Additional information

_No response

_

@probot-home-assistant
Copy link

Hey there @bachya, mind taking a look at this issue as it has been labeled with an integration (rainmachine) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)


rainmachine documentation
rainmachine source
(message by IssueLinks)

@bachya
Copy link
Contributor

bachya commented Jul 23, 2022

Please provide a diagnostics dump.

@LeapFrogSupport
Copy link
Author

LeapFrogSupport commented Jul 23, 2022

Updated above, thanks for looking into this.

@bachya
Copy link
Contributor

bachya commented Jul 23, 2022

Thanks! Very helpful. Working on a fix now.

@LeapFrogSupport
Copy link
Author

Wow, outstanding, professional response. Much appreciated, and thanks again!

@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants