Solaredge modbus issues

Hello there,

Maybe this question is already out there, if so correct me or give me the link.

I have installed Solaredge modbus with HACS. And it gives me everything of the converter to see in mij HA.
So the energie board is correct en working fine.
But in my system log I get some messages of errors.

Logger: homeassistant
First occurred: 5 juli 2022 om 20:33:59 (1718 occurrences)
Last logged: 10:59:02

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/solaredge_modbus/", line 194, in async_refresh_modbus_data
  File "/config/custom_components/solaredge_modbus/", line 157, in _modbus_data_updated
  File "/usr/src/homeassistant/homeassistant/helpers/", line 533, in async_write_ha_state
  File "/usr/src/homeassistant/homeassistant/helpers/", line 680, in _async_write_ha_state
  File "/usr/src/homeassistant/homeassistant/", line 1429, in async_set
    state = State(
  File "/usr/src/homeassistant/homeassistant/", line 1097, in __init__
    raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.solaredge_m1_import_varh_q3. State max length is 255 characters.

I’m a HA user for about a year now and stil exploring HA, and I’m getting more and more the hang of it…its a addictive programma hahah…I like it so much.

But I’m trying to get the error out of my system for my ease.

Thank you for your help…


Daniel van lit