Skip to content

Commit

Permalink
debug for ccs2Status
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Oct 6, 2024
1 parent 7a8a9b5 commit be89dc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,9 @@ class Bluelink extends utils.Adapter {
}

if (newStatus.hasOwnProperty('ccs2Status')) {

this.log.debug('ccs2Status: ' + JSON.stringify(newStatus.ccs2Status));

Check failure on line 663 in main.js

View workflow job for this annotation

GitHub Actions / check-and-lint (18.x)

Trailing spaces not allowed
// Battery
await this.setStateAsync(vin + '.vehicleStatus.battery.soc-12V', {
val: newStatus.ccs2Status.state.Vehicle.Electronics.Battery.Level,
Expand Down

0 comments on commit be89dc7

Please sign in to comment.