Hello,
I have a question, is there any way I can optimize my rule for heating to have a one degree offset?
Other recommendations are welcomed.
My rule:
rule "ogrevanje"
when
Item temperatura changed or Item Temperature changed
then
var double termostat=(temperatura.state as DecimalType).doubleValue
var double temp=(Temperature.state as DecimalType).doubleValue
if(termostat>temp){
pec.sendCommand(ON)
}else{
pec.sendCommand(OFF)
}
end