feat: PRIMARY_SENSOR env var to choose dashboard temp

This commit is contained in:
henrygd
2025-02-11 15:11:46 -05:00
parent 6b2a9463ca
commit 5ea6eb08a1
4 changed files with 15 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ type Info struct {
AgentVersion string `json:"v"`
Podman bool `json:"p,omitempty"`
GpuPct float64 `json:"g,omitempty"`
HighTemp float64 `json:"ht,omitempty"`
DashboardTemp float64 `json:"dt,omitempty"`
}
// Final data structure to return to the hub