GetChargePower returns the current charge power
()
| 674 | |
| 675 | // GetChargePower returns the current charge power |
| 676 | func (lp *Loadpoint) GetChargePower() float64 { |
| 677 | lp.RLock() |
| 678 | defer lp.RUnlock() |
| 679 | return lp.chargePower |
| 680 | } |
| 681 | |
| 682 | // GetChargePowerFlexibility returns the flexible amount of current charging power |
| 683 | func (lp *Loadpoint) GetChargePowerFlexibility(rates api.Rates) float64 { |
no test coverage detected