GetStatus returns the charging status
()
| 137 | |
| 138 | // GetStatus returns the charging status |
| 139 | func (lp *Loadpoint) GetStatus() api.ChargeStatus { |
| 140 | lp.RLock() |
| 141 | defer lp.RUnlock() |
| 142 | return lp.status |
| 143 | } |
| 144 | |
| 145 | // GetMode returns loadpoint charge mode |
| 146 | func (lp *Loadpoint) GetMode() api.ChargeMode { |
no test coverage detected