(soc loadpoint.SocConfig)
| 450 | } |
| 451 | |
| 452 | func (lp *Loadpoint) setSocConfig(soc loadpoint.SocConfig) { |
| 453 | lp.Soc = soc |
| 454 | lp.settings.SetJson(keys.Soc, soc) |
| 455 | lp.requestUpdate() |
| 456 | } |
| 457 | |
| 458 | // SetSoc sets the PV mode threshold settings |
| 459 | func (lp *Loadpoint) SetSocConfig(soc loadpoint.SocConfig) { |
no test coverage detected