I would like to trigger the powerbutton of my pelletheater when it is above 23°(powering of turning off) and below 21°. It does not work
It triggers and works without “below” and “above” conditions.
This is my automation:
- id: '1608322452545'
alias: Pellet_thermostaat
description: ''
trigger:
- platform: state
entity_id: sensor.trapmotion_temperature
condition:
- condition: or
conditions:
- condition: numeric_state
entity_id: sensor.trapmotion_temperature
attribute: unit_of_measurement
below: 21
- condition: numeric_state
entity_id: sensor.trapmotion_temperature
attribute: unit_of_measurement
above: 23
action:
- type: turn_on
device_id: f70a99d3b46ecd83bf0a6db3869bd5fa
entity_id: switch.70116356840d8e5c4814
domain: switch
mode: single