changed Presence_Overall item triggers

This commit is contained in:
2017-11-15 11:00:34 +01:00
parent c8a3f1c4ee
commit b69f484b3f

View File

@@ -18,7 +18,7 @@ end
// Turn on heating if someone returns home during heating time period
rule "Heizung Wohnzimmer ein 2"
when
Item Presence_Overall received command ON
Item Presence_Overall changed to ON
then
if (ThermostatEGWohnzimmer_Status.state==ON) {
sendCommand(ThermostatEGWohnzimmer_4_SetTemperature, 19)
@@ -28,7 +28,7 @@ end
// Turn off (turn to a lower temperature) heating if everybody has left home or heating time period is over
rule "Heizung Wohnzimmer aus"
when
Item Presence_Overall received command OFF or
Item Presence_Overall changed to OFF or
Time cron "0 0 22 ? * MON" or
Time cron "0 0 22 ? * TUE" or
Time cron "0 0 22 ? * WED" or