chargingstation view model NPE fix.