()
| 1972 | } |
| 1973 | |
| 1974 | func (lp *Loadpoint) shouldBeConsistent() bool { |
| 1975 | return lp.chargerUpdateCompleted() && lp.phaseSwitchCompleted() |
| 1976 | } |
| 1977 | |
| 1978 | // chargerUpdateCompleted returns true if enable command should be already processed by the charger (so we can try to sync charger and loadpoint) |
| 1979 | func (lp *Loadpoint) chargerUpdateCompleted() bool { |
no test coverage detected