Pho3niX90 / solis_modbus

Home Assistant HACS integration for Solis inverters
25 stars 5 forks source link

errors in LOG #71

Closed GermanCaruncho closed 1 month ago

GermanCaruncho commented 1 month ago

RHI 6K apparently works, but the following errors appear: 2024-09-10 10:20:12.231 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'solis_modbus' calls async_forward_entry_setup for integration, solis_modbus with title: Solis: 192.168.1.165 and entry_id: 676558b540d0827fb3a8bdf8af6193bc, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/solis_modbus/init.py, line 71: hass.async_create_task(hass.config_entries.async_forward_entry_setup(entry, component)), please create a bug report at https://github.com/Pho3niX90/solis_modbus/issues 2024-09-10 10:20:16.741 WARNING (ImportExecutor_0) [homeassistant.const] POWER_VOLT_AMPERE_REACTIVE was used from solis_modbus, this is a deprecated constant which will be removed in HA Core 2025.9. Use UnitOfReactivePower.VOLT_AMPERE_REACTIVE instead, please report it to the author of the 'solis_modbus' custom integration 2024-09-10 10:20:17.147 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Time-Charging Charge Current 2024-09-10 10:20:17.184 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Time-Charging Discharge Current 2024-09-10 10:20:17.231 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Backup SOC 2024-09-10 10:20:17.254 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Battery Force-charge Power Limitation 2024-09-10 10:20:17.301 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Overcharge SOC 2024-09-10 10:20:17.321 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Overdischarge SOC 2024-09-10 10:20:17.336 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _async_write_ha_state_from_call_soon_threadsafe self._async_verify_state_writable() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 985, in _async_verify_state_writable raise NoEntitySpecifiedError( homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Solis Force Charge SOC

Pho3niX90 commented 1 month ago

Thanks for the submit. Will investigate and update the code.