// SetMinSoC sets loadpoint charge minimum soc
SetMinSoC sets loadpoint charge minimum soc
// SetMinSoC sets loadpoint charge minimum soc
func (lp *LoadPoint) SetMinSoC(soc int) {
	lp.Lock()
	defer lp.Unlock()
	lp.log.DEBUG.Println("set min soc:", soc)
	if lp.SoC.Min != soc {
		lp.SoC.Min = soc
		lp.publish("minSoC", soc)
		lp.requestUpdate()
	}
}
func ( lp * LoadPoint ) SetMinSoC ( soc int ) { lp . Lock ( ) defer lp . Unlock ( ) lp . log . DEBUG . Println ( " " , soc ) if lp . SoC . Min != soc { lp . SoC . Min = soc lp . publish ( " " , soc ) lp . requestUpdate ( ) } }
SetMinSoC sets loadpoint charge minimum soc
SetMinSoC sets loadpoint charge minimum soc
// apply immediately