Skip to content

Fix grid import status changing when allow_export is set#3

Merged
Bre77 merged 1 commit intomainfrom
claude/fix-grid-import-status-5itI3
Feb 7, 2026
Merged

Fix grid import status changing when allow_export is set#3
Bre77 merged 1 commit intomainfrom
claude/fix-grid-import-status-5itI3

Conversation

@Bre77
Copy link
Member

@Bre77 Bre77 commented Feb 7, 2026

The gridImportExport API expects a disallow_charge_from_grid_with_solar_installed
parameter (true = disallow), but the onoff.charge_grid capability stores the
inverted value (true = allowed). The allow_export listener and flowSetAllowExport
were passing the capability value without negating it, causing the charge-from-grid
setting to flip whenever the export setting was changed.

https://claude.ai/code/session_011vUXXaaXMLMPQgdM18heMx

The gridImportExport API expects a `disallow_charge_from_grid_with_solar_installed`
parameter (true = disallow), but the `onoff.charge_grid` capability stores the
inverted value (true = allowed). The `allow_export` listener and `flowSetAllowExport`
were passing the capability value without negating it, causing the charge-from-grid
setting to flip whenever the export setting was changed.

https://claude.ai/code/session_011vUXXaaXMLMPQgdM18heMx
@Bre77 Bre77 merged commit 4b80122 into main Feb 7, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants