update the branch

This commit is contained in:
Dona Maria Absi
2025-01-20 14:14:06 +03:00
parent 3c6e81d316
commit 607cf23f3c
3 changed files with 16 additions and 0 deletions
@@ -45,6 +45,7 @@ WITH device_logs AS (
group by 1,2,3
)
SELECT
device.subspace_id AS subspace_id,
device.space_device_uuid AS space_id,
@@ -67,3 +68,4 @@ INNER JOIN "space"
ON space.uuid = device.space_device_uuid
WHERE "device-status-log".code = 'presence_state'
GROUP BY 1, 2, 3, 4, 5,6