v0.14.2-connectivity
This commit is contained in:
+3
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user