GetPlanEnergy returns plan target energy
()
| 350 | |
| 351 | // GetPlanEnergy returns plan target energy |
| 352 | func (lp *Loadpoint) GetPlanEnergy() (time.Time, float64) { |
| 353 | lp.RLock() |
| 354 | defer lp.RUnlock() |
| 355 | return lp.getPlanEnergy() |
| 356 | } |
| 357 | |
| 358 | // getPlanEnergy returns plan target energy |
| 359 | func (lp *Loadpoint) getPlanEnergy() (time.Time, float64) { |
nothing calls this directly
no test coverage detected