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

ABL eMH: force re-enable outlet #17950

Merged
merged 4 commits into from
Jan 7, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
wip
  • Loading branch information
premultiply committed Jan 2, 2025
commit f755adc13348d9f523d2e3d24fbdf16a0ac10cf6
2 changes: 1 addition & 1 deletion charger/abl.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (wb *ABLeMH) Status() (api.ChargeStatus, error) {
default:
// ensure Outlet is re-enabled after wake-up
if b[1] == 0xE0 { // Outlet is disabled
return api.StatusNone, wb.set(ablRegModifyState, 0xA1A1)
return api.StatusA, wb.set(ablRegModifyState, 0xA1A1)
}

status, ok := ablStatus[b[1]]
Expand Down
Loading