Hides status_id from flow.{trigger,set,clear}Status

Fixes #3266
This commit is contained in:
Simone Mainardi 2020-01-21 12:27:30 +01:00
parent fcdc69963f
commit 1cbdbbd339
11 changed files with 19 additions and 16 deletions

View file

@ -28,7 +28,7 @@ function script.hooks.periodicUpdate(now)
-- NOTE: the same info will *not* be returned in the next periodicUpdate
local info = json.decode(ext_alert_info)
if info ~= nil then
flow.triggerStatus(flow_consts.status_types.status_external_alert.status_id,
flow.triggerStatus(flow_consts.status_types.status_external_alert,
info, nil, nil, nil, info.severity_id)
end
end