I"having a SONOFF iPlug Zigbee Smart Plug that I want to turn on when my SONOFF Zigbee Temperature and Humidity Sensor is above 22 degrees. How do i accomplish that ?. I have tried to make an automation. But nothing happens. Based on time it works. Any clues what I am doing wrong. It should be fairly simple, but i am missing something !
Likely, but please show use your automation so that we can tell you what.
The generic thermostat did the trick. But my original automation looks like this :
alias: Badeværelse for meget varme
description: ""
triggers:
- type: temperature
device_id: 1124e4b2f98477ec7d51fb51c342469b
entity_id: ae6762ee1fd3dade1d48a4c84e3a73b2
domain: sensor
trigger: device
above: 22
below: 30
for:
hours: 0
minutes: 1
seconds: 0
conditions:
- condition: time
after: "05:00:00"
before: "23:00:00"
actions:
- type: turn_off
device_id: 18d1a7c7433270d4a7a99be2d76d0902
entity_id: 5a6cffb40cf4a93f10a1a4b234bb86bf
domain: switch
mode: single
Any clues here for what going on ?
It can’t trigger with that.
You need one trigger that is above 22 and one that is below 30.
