Skip to content

Commit

Permalink
Merge pull request #633 from KipK/master
Browse files Browse the repository at this point in the history
add missing max_current in model and api.yml
  • Loading branch information
jeremypoulter committed May 9, 2023
2 parents 40c7ee1 + 2a9d6d4 commit ce2dfe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ paths:
rapi_connected: 1
amp: 0
pilot: 32
max_current: 32
temp1: 282
temp2: -2560
temp3: -2560
Expand Down
3 changes: 3 additions & 0 deletions models/Status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ properties:
pilot:
type: integer
description: 'the pilot value, in amps'
max_current:
type: integer
description: 'the actual max current value defined either by max_current_soft or a running claim'
temp:
type: number
description: 'the derived temperature, in 1/10th °C'
Expand Down

0 comments on commit ce2dfe9

Please sign in to comment.