Add config flow (Settings > Integrations)#349
Open
teh-hippo wants to merge 3 commits intomacxq:mainfrom
Open
Conversation
Skip battery entity creation when the FoxESS API reports hasBattery=false. Adds optional hasBattery config override. Reduces log noise for solar-only systems going offline at night.
126636a to
6ac2383
Compare
The integration uses the FoxESS Cloud API (foxesscloud.com), not local device communication.
Add config flow so the integration can be set up via the HA UI. The setup step collects API key, device serial number, and name, then validates against the FoxESS Cloud API. Battery status is auto-detected from the API response and exposed as an option toggle alongside extended PV and Evo inverter mode. Existing YAML configurations continue to work unchanged.
6ac2383 to
517f36e
Compare
Author
|
@macxq would you be able to cast your eye over this? |
svanscho
reviewed
Apr 20, 2026
| "dependencies": ["rest"], | ||
| "documentation": "https://github.com/macxq/foxess-ha", | ||
| "iot_class": "local_polling", | ||
| "iot_class": "cloud_polling", |
svanscho
reviewed
Apr 20, 2026
| "domain": "foxess", | ||
| "name": "HA & FoxESSCloud integration", | ||
| "codeowners": ["@macxq","@r-amado","@fozzieuk"], | ||
| "config_flow": true, |
|
I just found this after submitting my own config_flow PR #369. Looks like there's demand for such a feature! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds config flow support so the integration can be set up through the Home Assistant UI instead of requiring
configuration.yaml. Related to #199.The setup basically mimics the YAML inputs, and does some checks before accepting them.
If a YAML platform config is already active, the flow aborts with a message asking the user to remove it first. Existing YAML setups continue to work without changes.
Depends on #348 (solar-only support).
Tested end-to-end on a live HA instance.