v0.12.0-preety_code

This commit is contained in:
Mateusz Gruszczyński
2026-09-03 15:33:37 +02:00
parent be67932b47
commit 07be4b85d9
87 changed files with 11691 additions and 3172 deletions
+15 -9
View File
@@ -1,16 +1,22 @@
use std::{collections::HashMap, sync::atomic::Ordering, time::{Duration, Instant}};
use crate::{
error::AppError,
home_assistant, influxdb,
models::{
Automation, AutomationPlanRule, ClimateGroup, ControlPlan, ControlPlanEvent, Device,
DeviceCommand, GroupControlPatch, HaReading, NightModeSettings, Reading, RuntimeSettings,
Schedule, TemporaryQuickThermostat, Zone, ZoneControlPlan, ZoneReading,
},
state::{AppState, PendingControllerCommand},
};
use anyhow::Result;
use chrono::{DateTime, Datelike, Local, NaiveTime, Timelike, Utc, Weekday};
use serde_json::{json, Value};
use tokio::time::sleep;
use crate::{
error::AppError,
home_assistant,
influxdb,
models::{Automation, AutomationPlanRule, ClimateGroup, ControlPlan, ControlPlanEvent, Device, DeviceCommand, GroupControlPatch, HaReading, NightModeSettings, Reading, RuntimeSettings, Schedule, TemporaryQuickThermostat, Zone, ZoneControlPlan, ZoneReading},
state::{AppState, PendingControllerCommand},
use std::{
collections::HashMap,
sync::atomic::Ordering,
time::{Duration, Instant},
};
use tokio::time::sleep;
// Functional source split intentionally keeps items in the existing module namespace.
include!("engine/runtime.rs");