Skip to content
New issue

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

add missing max_current in model and api.yml #633

Merged
merged 1 commit into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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