Skip to content

Growatt Nexa 2000 - Parsing warnings 'NoneType' object has no attribute 'size' every hour #198

Description

@super-sonic-zero

In Home Assistant, I am getting this warning in the Addon log every hour.

With log level INFO:

2026-06-16 21:20:27,151 [WARNING] Parsing GrowattModbusBlock:
2026-06-16 21:20:27,152 [WARNING] parsing GrowattModbusMessage: 'NoneType' object has no attribute 'size'
2026-06-16 22:20:27,141 [WARNING] Parsing GrowattModbusBlock:
2026-06-16 22:20:27,142 [WARNING] parsing GrowattModbusMessage: 'NoneType' object has no attribute 'size'
2026-06-16 23:20:27,195 [WARNING] Parsing GrowattModbusBlock:
2026-06-16 23:20:27,195 [WARNING] parsing GrowattModbusMessage: 'NoneType' object has no attribute 'size'
2026-06-17 00:20:27,188 [WARNING] Parsing GrowattModbusBlock:
2026-06-17 00:20:27,188 [WARNING] parsing GrowattModbusMessage: 'NoneType' object has no attribute 'size'
2026-06-17 01:20:27,180 [WARNING] Parsing GrowattModbusBlock:
2026-06-17 01:20:27,181 [WARNING] parsing GrowattModbusMessage: 'NoneType' object has no attribute 'size'

I have captured a message with log level DEBUG, with XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX being the representation of the serial number
Please let me know if there is something else that should be censored.

2026-06-16 20:20:27,151 [DEBUG] Received message (None): ...
2026-06-16 20:20:27,153 [DEBUG] Received: ... same data as below
2026-06-16 20:20:27,154 [WARNING] Parsing GrowattModbusBlock:
2026-06-16 20:20:27,154 [WARNING] parsing GrowattModbusMessage: 'NoneType' object has no attribute 'size'
2026-06-16 20:20:27,155 [DEBUG] Received modbus message: None
2026-06-16 20:20:27,155 [DEBUG] Unknown msg_type 259:
00010007033f0103XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000000000000000000000000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX00000000000000000000000000001a0610161410030000007c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000075760000001a0006001000160014001000000000000000000000003150434755323330303134323332303132323331303134323133303131000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007d00f90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa01760064000f000000000000173b00020000000100000000000000c8000000000000000000c8000000000000000000c8000000000000000000c8000000000000000000c8000000000000000000c8000000000000000000c8000000000000000000c8000003200000000000010001000100000000000000000000000000090001000000000000000000000000000000000000006400000000000000010000392e302e302e300000000000000000000000000000000000000000000000006400000064000000640000006400000064000000640000006400000064000000000000000000000000000000000000000000000000000000000000000000007794

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnext-releaseIssues that need to be fixed before Nest release

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions