Rules using variable not working
I'm trying to create a rule turning on some light when the power consumption of one sensor is above a certain level. When it drops below that level, the light should turn off again. Since my first tries didn't work, I boiled my rules down to something even more simple: sending an email based on the status of a switch.
I still don't get it to work. When taking out the variables the rules work, but they will keep sending emails forever. Not exactly desired either :)
What is it I'm doing wrong? I already notices the rules created in the new GUI are not always correct (checked using the API), so these are created in the old web interface.
I've tried 2 difference approaches - check out the attachments.
Thanks in advance!