Loadpoint: add min temperature for heating devices (#31749)

This commit is contained in:
Michael Geers 2026-07-13 14:12:33 +02:00 • committed by GitHub
parent 857a93f83e
commit 3bb943cbe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 386 additions and 27 deletions

View file

@ -195,6 +195,7 @@ func (s *HTTPd) RegisterSiteHandlers(site site.API) {
routes := map[string]route{
"mode": {"POST", "/mode/{value:[a-z]+}", handler(eapi.ChargeModeString, pass(lp.SetMode), lp.GetMode)},
"limitsoc": {"POST", "/limitsoc/{value:[0-9]+}", intHandler(pass(lp.SetLimitSoc), lp.GetLimitSoc)},
"mintemp": {"POST", "/mintemp/{value:[0-9]+}", intHandler(pass(lp.SetMinSoc), lp.GetMinSoc)},
"limitenergy": {"POST", "/limitenergy/{value:[0-9.]+}", floatHandler(pass(lp.SetLimitEnergy), lp.GetLimitEnergy)},
"mincurrent": {"POST", "/mincurrent/{value:[0-9.]+}", floatHandler(lp.SetMinCurrent, lp.GetMinCurrent)},
"maxcurrent": {"POST", "/maxcurrent/{value:[0-9.]+}", floatHandler(lp.SetMaxCurrent, lp.GetMaxCurrent)},