v0.4.2
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user