Why does my Generic Thermostat (with Zigbee Thermostat and plug) ignore maximum runtime setting once a day?

Hi, my generic thermostat setup, which uses a sonoff temperature sensor to switch an oil heater on and off via a zigbee power plug, seems to ignore it’s maximum runtime about once a day and I can’t work out why. Any ideas?

Is the plug at any point unavailable?

Hello xrt07 ,
Could you possibly show us your YAML so we can get a better idea what is happening?

  1. 3 dots
  2. edit in yaml
  3. copy
  4. paste here using the</> key in the post editor.

    How to format code or use the</> key in the post editor.