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

TypeError: unsupported operand type(s) for *: 'float' and 'NoneType' #52

Closed
lociii opened this issue Dec 15, 2020 · 1 comment
Closed

Comments

@lociii
Copy link

lociii commented Dec 15, 2020

2020-12-15 11:28:59 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/zigbee/application.py", line 1351, in _discover_route
await asyncio.sleep(0.1 * self._nib.RouteDiscoveryTime)
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'

Seems like RouteDiscoveryTime is not initialized (yet).
Message pops up in the log when restarting HA. Please let me know if you need further information.
As far as I can tell there is no misbehavior caused by this error.

I'm running supervised Home Assistant 2020.12.0 using a LAUNCHXL-CC26X2R1

Thanks for having a look.

@puddly
Copy link
Collaborator

puddly commented Dec 21, 2020

Hmm. The only way I can see this happening is if requests are sent before ControllerApplication.startup has completed.

Can you reliably reproduce this?

@puddly puddly closed this as completed Jul 15, 2021
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