forceEvChargingState

abstract suspend fun forceEvChargingState(chargingState: ChargingState)

Forces EvChargingService.chargingState to be set to the given value, regardless of what the regular logic would lead to.

This is useful for manual and automated testing and debugging, for example to mock the Ev charging state in a functional test.