Last Value Below Threshold#
This script returns the last datapoint with a value below a given threshold. It can accept multiple data sources.

Configuration#
This script accepts the following configuration parameters:
-- The threshold below which the last value is returned
local threshold = 0
Author: SamAmco