Skip to content

EMS-ESP Unloads shortly after changing to Heat mode #110

@ScottWoolven5

Description

@ScottWoolven5

I am using EMS-ESP connected to my Worcester Greenstar 2000 boiler. The automated calibration never finishes to I've just set a manual overshoot protection value. However shortly after changing the mode to Heat, the thermostat resets back to Off.

Below is the log:

2025-10-08 17:49:43.184 DEBUG (MainThread) [custom_components.sat.config_flow] Discovered MQTT at [mqtt://ems-esp/boiler_data]

2025-10-08 17:49:43.185 DEBUG (MainThread) [custom_components.sat.config_flow] Identified gateway type ems: ems-esp

2025-10-08 17:49:43.834 INFO (MainThread) [custom_components.sat.coordinator] Set central heater state DeviceState.ON

2025-10-08 17:49:44.370 DEBUG (MainThread) [custom_components.sat.config_flow] Discovered MQTT at [mqtt://ems-esp/boiler_data]

2025-10-08 17:49:44.370 DEBUG (MainThread) [custom_components.sat.config_flow] Identified gateway type ems: ems-esp

2025-10-08 17:49:45.064 DEBUG (MainThread) [custom_components.sat.config_flow] Discovered MQTT at [mqtt://ems-esp/boiler_data]

2025-10-08 17:49:45.064 DEBUG (MainThread) [custom_components.sat.config_flow] Identified gateway type ems: ems-esp

2025-10-08 17:49:45.155 DEBUG (MainThread) [custom_components.sat.config_flow] Discovered MQTT at [mqtt://ems-esp/heating_active]

2025-10-08 17:49:45.155 DEBUG (MainThread) [custom_components.sat.config_flow] Identified gateway type ems: ems-esp

2025-10-08 17:49:45.203 DEBUG (MainThread) [custom_components.sat.relative_modulation] Relative Modulation initialized for heating system: radiators

2025-10-08 17:49:45.204 DEBUG (MainThread) [custom_components.sat.pwm] Initialized PWM control with duty cycle thresholds - Lower: 20.00%, Upper: 80.00%

2025-10-08 17:49:45.204 INFO (MainThread) [custom_components.sat.pwm] PWM control reset to initial state.

2025-10-08 17:49:45.206 INFO (MainThread) [custom_components.sat.climate] Overshoot Handling detected, enabling Pulse Width Modulation.

2025-10-08 17:49:45.207 INFO (MainThread) [custom_components.sat.pwm] PWM control reset to initial state.

2025-10-08 17:49:45.207 INFO (MainThread) [custom_components.sat.climate] Pulse Width Modulation is disabled or in IDLE state. Running normal heating cycle.

2025-10-08 17:49:45.207 DEBUG (MainThread) [custom_components.sat.climate] Calculated setpoint for normal cycle: 55.0°C

2025-10-08 17:49:45.207 DEBUG (MainThread) [custom_components.sat.mqtt] Publishing MQTT command: payload='{"cmd": "selflowtemp", "value": 55.0}', topic='ems-esp/boiler', simulation='False'

2025-10-08 17:49:45.251 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Thermostat for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 205, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/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-10-08 17:49:45.258 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Thermostat for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 105, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/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-10-08 17:49:45.264 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Thermostat for number
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 135, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 228, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!

The last error message repeats over and over.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions