Merge pull request #366 from SyncrowIOT/DATA-param-removal

removed param from first CTE
This commit is contained in:
Dona Maria Absi
2025-05-08 13:32:32 +03:00
committed by GitHub

View File

@ -30,7 +30,6 @@ device_logs AS (
WHERE product.cat_name = 'hps'
AND "device-status-log".code = 'presence_state'
AND device.uuid::text = P.device_id
AND (P.event_date IS NULL OR "device-status-log".event_time::date = P.event_date)
),
presence_detection AS (