This commit is contained in:
Mateusz Gruszczyński
2026-08-23 23:32:26 +02:00
parent b23578a0c8
commit f569b7db14
42 changed files with 597 additions and 4104 deletions
+20
View File
@@ -323,6 +323,26 @@ pub struct Reading {
pub source: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ZoneReading {
pub id: i64,
pub zone_id: String,
pub device_id: String,
pub timestamp: DateTime<Utc>,
pub gree_temperature: Option<f64>,
pub external_temperature: Option<f64>,
pub control_temperature: Option<f64>,
pub target_temperature: Option<f64>,
pub device_setpoint: Option<f64>,
pub outdoor_temperature: Option<f64>,
pub power: bool,
pub mode: String,
pub fan_speed: u8,
pub demand: bool,
pub control_source: String,
pub active_preset: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EventLog {
pub id: i64,