v0.7.13
This commit is contained in:
+6
-1
@@ -6,7 +6,12 @@ use crate::{config::Config, db::Db, models::{ApiEvent, DeviceCommand, RuntimeSet
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct PendingControllerCommand {
|
||||
pub command: DeviceCommand,
|
||||
/// Recent controller-requested values for climate fields. Keep a short history because
|
||||
/// some GREE modules expose intermediate/out-of-order status snapshots while settling.
|
||||
pub commands: Vec<DeviceCommand>,
|
||||
/// Matching pre-command values for the same fields. A brief rollback to one of these
|
||||
/// values is firmware settling, not necessarily a physical-remote takeover.
|
||||
pub baselines: Vec<DeviceCommand>,
|
||||
pub expires_at: Instant,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user