Automation with Tado temp sensor and Refoss smart plug not working

Hi all, I hope someone can help. Any idea why below automation is not working?

I have a tado thermostate radiotor knob with a temperature sensor. I would like to turn off my Refoss smart plug when it hits 19 degrees on that sensor, but nothing is happening…

- id: '1736853470176'
  alias: Studeerkamer Heater UIT
  description: ''
  triggers:
  - trigger: numeric_state
    entity_id:
    - sensor.studeerkamer_temperature
    attribute: setting
    above: 19
  conditions: []
  actions:
  - action: switch.turn_off
    metadata: {}
    data: {}
    target:
      device_id: 6f428c5171baf40f75ede4ad6c3b0c28
  mode: single

You don’t need the attribute: setting. Leave the attribute box blank unless you are absolutely sure that the temperature is in the setting attribute of your sensor, rather than its state.

Then delete the whole automation and use this instead:

Hi Troon, Thanks the generic thermostat is indeed working now. But it did lead to a follow up question…I was expecting below settings to turn on the heater when it drops below 18 and turn off the heater when it exceeds 20, but that doesnt seem to work.

The minimum and maximum are the range shown on the thermostat card. Here’s mine with a range of 15 to 22:

image

If you want the behaviour you state, set the hot and cold tolerances to 1; then set the thermostat to 19.

I had to wait for it to get colder and warmer and see if it worked. It did! Many thanks.

1 Like