v0.14.2-connectivity

This commit is contained in:
Mateusz Gruszczyński
2026-09-15 10:02:49 +02:00
parent 2fd7e47eb9
commit c3f6e773f8
41 changed files with 1295 additions and 108 deletions
+3 -1
View File
@@ -10,7 +10,7 @@ use crate::{
GroupControlPatch, HaReading, HistorySettings, HomeAssistantSettings,
HomeAssistantSettingsUpdate, HomeAssistantSettingsView, InfluxDbSettings,
InfluxDbSettingsUpdate, InfluxDbSettingsView, ManualDeviceRequest, NightModeSettings,
NotificationSettings, NotificationSettingsUpdate, NotificationSettingsView, Reading,
NotificationSettings, NotificationSettingsUpdate, NotificationSettingsView, NetworkReading, Reading,
RuntimeSettings, Schedule, SettingsSnapshot, TemporaryQuickThermostat,
TemporaryQuickThermostatRequest, Zone,
ZoneControlPatch, ZoneReading,
@@ -77,6 +77,7 @@ const SPA_ROUTES: &[&str] = &[
"/history/zones",
"/history/devices",
"/history/energy",
"/history/network",
"/history/sensors",
"/history/custom",
];
@@ -156,6 +157,7 @@ pub fn router(state: AppState) -> Router {
.route("/api/readings", get(readings))
.route("/api/history", get(history))
.route("/api/history/energy", get(energy_history))
.route("/api/history/network", get(network_history))
.route("/api/control-plan", get(control_plan))
.route("/api/events", get(events))
.route(