Mine
public text v1 · immutablescope_define site {
vars {temp hum}
configs {
num_ws 1
num_comp 1
num_doser 0
fertigation 0
num_minders 0
heating 0
fogging 0
}
}
scope_define ws {
parent site
bindings {temp temp hum hum}
rules {
read_ws {
outvars temp hum
body {
# variable sa_args autodefined here, this is a sensor
return [list 22 89]
}
}
}
}