Occasionally a charge_state query will return a result with a null value for charging_state. I see this happen most right after the car wakes up. This can lead to a spurious "Charge State Becomes" notification because it appears that the state goes from Disconnected to Unknown to Disconnected. This triggers a Charge State Becomes: Disconnected" notification. The workaround involves special casing the "unknown" state.
Occasionally a charge_state query will return a result with a null value for charging_state. I see this happen most right after the car wakes up. This can lead to a spurious "Charge State Becomes" notification because it appears that the state goes from Disconnected to Unknown to Disconnected. This triggers a Charge State Becomes: Disconnected" notification. The workaround involves special casing the "unknown" state.