Skip to content

Commit ce2dfe9

Browse files
Merge pull request #633 from KipK/master
add missing max_current in model and api.yml
2 parents 40c7ee1 + 2a9d6d4 commit ce2dfe9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ paths:
5454
rapi_connected: 1
5555
amp: 0
5656
pilot: 32
57+
max_current: 32
5758
temp1: 282
5859
temp2: -2560
5960
temp3: -2560

models/Status.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ properties:
6868
pilot:
6969
type: integer
7070
description: 'the pilot value, in amps'
71+
max_current:
72+
type: integer
73+
description: 'the actual max current value defined either by max_current_soft or a running claim'
7174
temp:
7275
type: number
7376
description: 'the derived temperature, in 1/10th °C'

0 commit comments

Comments
 (0)