aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/lua.d/init-daemon-04-oncall.lua
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/project/lua.d/init-daemon-04-oncall.lua')
-rw-r--r--conf.d/project/lua.d/init-daemon-04-oncall.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.d/project/lua.d/init-daemon-04-oncall.lua b/conf.d/project/lua.d/init-daemon-04-oncall.lua
index d473121..8912f26 100644
--- a/conf.d/project/lua.d/init-daemon-04-oncall.lua
+++ b/conf.d/project/lua.d/init-daemon-04-oncall.lua
@@ -54,7 +54,7 @@ function _Unit_Converter(source, args, event)
print("Value in", targetunits, "is", value/base)
_result["result"] = value/base
- ssetSignalValue(source, _result)
+ _setsignalValue(source, _result)
elseif sourcei>targeti then
@@ -66,7 +66,7 @@ function _Unit_Converter(source, args, event)
print("Value in ", targetunits, "is", value*base)
_result["result"] = value/base
- ssetSignalValue(source, _result)
+ _setsignalValue(source, _result)
else
print("No conversion")