Hi all,
I am trying to figure out a single stat to show the last time the value of a item was “1”.
SELECT last("value") FROM "BasementWaterSensor_AlarmFlood" WHERE ("value" = '1') AND $timeFilter GROUP BY time($__interval) fill(null)
But I am getting no luck, is there something else I should be doing?
Thanks