The integration works fine till yesterday. After restart of the system (I had problems with a mqtt device) I get this error, when I check the configuration again:
Invalid config for [modbus]: Error in sensor Sungrow device type code swap(word) not possible due to the registers count: 1, needed: 2 @ data['modbus'][1]['sensors'][0]. Got {'name': 'Sungrow device type code', 'unique_id': 'sg_dev_code', 'slave': 1, 'address': 4999, 'input_type': 'input', 'count': 1, 'data_type': 'uint16', 'swap': 'word', 'scan_interval': 600}. (See ?, line ?).
Then I copied the first line of the new file and checked again with this error.
My sungrow-IP is the IP of the HA, because I installed the "modbus-proxy".
The integration works fine till yesterday. After restart of the system (I had problems with a mqtt device) I get this error, when I check the configuration again:
Invalid config for [modbus]: Error in sensor Sungrow device type code swap(word) not possible due to the registers count: 1, needed: 2 @ data['modbus'][1]['sensors'][0]. Got {'name': 'Sungrow device type code', 'unique_id': 'sg_dev_code', 'slave': 1, 'address': 4999, 'input_type': 'input', 'count': 1, 'data_type': 'uint16', 'swap': 'word', 'scan_interval': 600}. (See ?, line ?).
Then I copied the first line of the new file and checked again with this error.
My sungrow-IP is the IP of the HA, because I installed the "modbus-proxy".
The addon "SVCC" works fine without this error.
What is to do?
Thank you Jürgen