Switch entity state incorrect while discharging
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>