24.01.2022, 08:25
It makes sense to turn the pump off when the script is disabled. Otherwise it can be left on when the resident script is disabled.
Event script:
Event script:
Code:
pump_address = '1/1/1'
value = event.getvalue()
script.set('Pump Interval', value)
grp.checkwrite(pump_address, value)