Rather than code, have you tried to create this via a Scene? (Automation tab?)
And/Or maybe via the combination switch plugin?
You can set the combination switch to go on or off when the RFX Temp drops below 2 degrees, and then schedule a scene to run between 7-8 to turn on the heater when the combination switch triggers
I have only the option triggerd when the virtual switch is on or off, and the virtual switch has no on or off.
So the scene “no fros” is always put the heater off on time but does nothing with te trigger.
And the scene “fros on” is always put te heater off on time but does nothing with te trigger.
And do i have to make two scenes one for on en one for off?
Just checking, you are using the ‘Combination Switch’ and in the Scene you’re using ‘Virtual Switch Staus Changes’ (on or off) as the triggers for your scenes ?
in automation i have a scene “frost on” with in the scene a trigger from the combination switch “triggered when de virtual switch is on” with een scheduler starting on a specific time becource there issen’t a option between 7 and 8 pm.
Do you have a Virtual Switch device installed on your Vera?
If so, can you set the Virtual Switch to be turned ‘on’ at 7pm
Add the Virtual Switch (status to on) to the trigger criteria on your combination switch.
This should mean that your ‘frost on’ scene will require all the combination switch requirements to be met before it will be triggered and run our scene.