Homey Community Forum

Flow that turn on or off the socket based on temp

Hi. Need help creating a flow that turns off or on the fibaro socket, to which a heater is connected, when the xiaomi temp sensor goes above or below a given temperature.

Could be something like this:

Where Masterbedroom in the WHEN part is ur Temp sensor and Wasmachine plug is ur Fibaro socket.
U have to make another flow to turn it off ofc.

Perfect, thank you.