descriptions

This commit is contained in:
Dona Maria Absi
2025-03-27 14:39:37 +03:00
parent ec62439f40
commit b36c12c046
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
-- model shows the energy consumed per day per device
WITH total_energy AS (
SELECT
device_id,

View File

@ -1,5 +1,6 @@
-- This model gives the average hourly set and current temperatures per space, per device
-- The only issue witht this model is that it does not represent 24 hours/device. which is normal when no changelog is being recorded.
--Shall I fill the missing hours
WITH avg_set_temp AS (-- average set temperature per device per hour
SELECT
device.uuid AS device_id,