SAT icon indicating copy to clipboard operation
SAT copied to clipboard

Error unloading entry logs

Open Rick-van-Dam opened this issue 3 months ago • 2 comments

After a HA restart I notice these logs:

2025-11-16 21:49:01.568 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Opentherm Thermostat for climate
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/components/climate/__init__.py", line 205, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/helpers/entity_component.py", line 228, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2025-11-16 21:49:01.570 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Opentherm Thermostat for sensor
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/components/sensor/__init__.py", line 105, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/helpers/entity_component.py", line 228, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2025-11-16 21:49:01.571 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Opentherm Thermostat for number
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/components/number/__init__.py", line 135, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/helpers/entity_component.py", line 228, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2025-11-16 21:49:01.572 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Opentherm Thermostat for binary_sensor
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/components/binary_sensor/__init__.py", line 144, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/homeassistant/helpers/entity_component.py", line 228, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!

SAT seems to be working though but not sure if this means theres some underlying issue. My boiler is a remeha avanta ace 28c.

These errors were also spotted in this issue which might be related: https://github.com/Alexwijn/SAT/issues/110

Rick-van-Dam avatar Nov 16 '25 21:11 Rick-van-Dam

Please reload the SAT integration, then it will work as expected.

sergeantd83 avatar Nov 17 '25 10:11 sergeantd83

This is not possible, probably due to the errors:

Image

Rick-van-Dam avatar Nov 18 '25 07:11 Rick-van-Dam