Weather plugin and thermostat

Hi

I have a scene where my thermostat sets a new temperature when the temperature goes below -8c. It works fine, but the scene also triggers when the temperature hits -9, -10 … and so on. Is there a way to just trigger the scene only at -8?

[quote=“j0ergensen, post:1, topic:170487”]Hi

I have a scene where my thermostat sets a new temperature when the temperature goes below -8c. It works fine, but the scene also triggers when the temperature hits -9, -10 … and so on. Is there a way to just trigger the scene only at -8?[/quote]

I think what your saying is once the conditional ‘x < -8’ has been achieved you dont want the scene to fire anymore? Then an easy way would be to use a virtual state device and in the action part of your code you trip this virtual device to on. Then in the conditional part of your code check that this is off && x < -8. Then if the temp > -8 turn off the device.