rroller / dahua

Dahua Camera and Doorbell Home Assistant Integration
MIT License
387 stars 73 forks source link

Failed to handle message, error: 'NoneType' object has no attribute 'get', Line: 110 #360

Closed goncalorijo closed 3 months ago

goncalorijo commented 3 months ago

I'm getting these errors, but everything seems to be working correctly.

image

rroller commented 3 months ago

Thanks. Hard for me to tell what's going on from this screenshot. I'll see if I can put in some guard around nils where this error might originate from

rroller commented 3 months ago

speculative fix in https://github.com/rroller/dahua/releases/tag/0.9.58

rroller commented 3 months ago

Please reopen if you see this again

goncalorijo commented 3 months ago

Thank you for your reply and fix.

I've updated and restarted, but the erros keep showing up.

This error originated from a custom integration.

Logger: custom_components.dahua Source: custom_components/dahua/vto.py:117 integration: Dahua (documentation, issues) First occurred: 9:07:42 PM (41 occurrences) Last logged: 10:31:05 PM

Failed to handle message, error: 'NoneType' object has no attribute 'get', Line: 113

Screenshot_20240609-223139