v0.4.3
This commit is contained in:
@@ -212,25 +212,6 @@ WHERE NOT EXISTS (
|
||||
)
|
||||
"#;
|
||||
|
||||
pub const LIST_ZONE_READINGS_BY_ZONE: &str = r#"
|
||||
SELECT id,zone_id,device_id,timestamp,gree_temperature,external_temperature,
|
||||
control_temperature,target_temperature,device_setpoint,outdoor_temperature,
|
||||
power,mode,fan_speed,demand,control_source,active_preset
|
||||
FROM zone_readings
|
||||
WHERE zone_id=?1 AND timestamp>=?2
|
||||
ORDER BY timestamp ASC
|
||||
LIMIT ?3
|
||||
"#;
|
||||
|
||||
pub const LIST_ZONE_READINGS_ALL: &str = r#"
|
||||
SELECT id,zone_id,device_id,timestamp,gree_temperature,external_temperature,
|
||||
control_temperature,target_temperature,device_setpoint,outdoor_temperature,
|
||||
power,mode,fan_speed,demand,control_source,active_preset
|
||||
FROM zone_readings
|
||||
WHERE timestamp>=?1
|
||||
ORDER BY timestamp ASC
|
||||
LIMIT ?2
|
||||
"#;
|
||||
|
||||
pub const LIST_ZONE_HISTORY_BY_ZONE_BUCKETED: &str = r#"
|
||||
SELECT MIN(id),zone_id,MAX(device_id),MIN(timestamp),
|
||||
|
||||
Reference in New Issue
Block a user