Turn on plug when temp sensor is below a certain temperature

Hi All,

I have a Samsung motion sensor in my basement office that also measures temperature. I have a pedestal fan connected to a smart plug, I would like the fan to come on below 20 degrees. I have attempted this using a current state node but it isn’t working

Can anyone help with the correct settings for the node to do this

Thanks in advance

Current state is equal to a conditional, it will let a automation continue but it wont start it. Use an event state to act as a trigger that will fire on state changes.

You might want to consider creating a generic thermostat entity instead. Then you’ll have the added functionality of being able to adjust the temperature setpoint, or turning off/on from the front-end.

1 Like

Thank you,

I found a YT tutorial which does not look too bad, it’s the Node Red part I struggle with