Translations:Rule Examples/187/en
// after working hours, the air conditioning is off
defineRule("countersACOff", { when: function() { return (!dev._schedules.working_hours_15m) || (countersTemperature > 18.0); }, then: function (newValue, devName, cellName) { log("countersACOff newValue={}, devName={}, cellName={}", newValue, devName, cellName); dev["wb-mir_75/Play from ROM2"] = true; // shut down air conditioning cash area } });