We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The getCharging function determines if the car by calling indexOf("CHARGING") but this matches "NOT_CHARGING" as well, resulting in a false positive.
getCharging
indexOf("CHARGING")
"NOT_CHARGING"
🍃 api BatteryStatusRecordsRequest 👍 { status: 200, VoltLabel: { HighVolt: '240', LowVolt: '120' }, BatteryStatusRecords: { OperationResult: 'START', OperationDateAndTime: '2017/10/30 23:55', BatteryStatus: { BatteryChargingStatus: 'NOT_CHARGING', BatteryCapacity: '240', BatteryRemainingAmount: '140', BatteryRemainingAmountWH: '14320', BatteryRemainingAmountkWH: '', SOC: [Object] }, PluginState: 'CONNECTED', CruisingRangeAcOn: '97000', CruisingRangeAcOff: '103000', NotificationDateAndTime: '2017/10/30 23:56', TargetDate: '2017/10/30 23:55' } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
getCharging
function determines if the car by callingindexOf("CHARGING")
but this matches"NOT_CHARGING"
as well, resulting in a false positive.The text was updated successfully, but these errors were encountered: