Tasmota/tasmota/berry/modules/antiburn/autoexec.be
2024-12-22 10:58:53 +01:00

22 lines
417 B
Plaintext

# Register the command 'Antiburn'
# Module loaded in memory only when the command is first used
# rm Antiburn.tapp; zip Antiburn.tapp -j -0 antiburn/*
var wd = tasmota.wd
lv.antiburn = def()
import sys
var path = sys.path()
path.push(wd)
import antiburn
path.pop()
antiburn.start()
end
tasmota.add_cmd("Antiburn",
def ()
lv.antiburn()
tasmota.resp_cmnd_done()
end
)