Translations:Rule Examples/68/en
defineRule("roller_shutter_1_both_on", {
asSoonAs: function() { return relay_up_1 && relay_down_1; }, then: function () { relay_up_1 = 0; relay_down_1 = 0; log("Both roller shutter relays on, switching them off"); } });
})();