Skip to content

Add CONFIG_SCHEMA (clear hassfest warning); fix stale docs URL - #36

Merged
fboundy merged 3 commits into
mainfrom
patch
Jul 10, 2026
Merged

fboundy merged 3 commits into
mainfrom
patch

Conversation

@fboundy

@fboundy fboundy commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

The "Validate with hassfest" workflow passes (green) but emits a prominent yellow ##[warning] that reads as a failure:

[WARNING] [CONFIG_SCHEMA] Integrations which implement 'async_setup' or 'setup'
must define either 'CONFIG_SCHEMA', 'PLATFORM_SCHEMA' or 'PLATFORM_SCHEMA_BASE'.
... cv.config_entry_only_config_schema can be used.

The integration defines async_setup (to register the solis_write_holding_register / solis_write_time services) but declares no config schema. It's config-entry only and consumes no YAML config, so this adds:

CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

which clears the warning and formally asserts the integration takes no YAML configuration.

Also repoints the manifest documentation field from the dead solisconnect.readthedocs.io to the published GitHub Pages docs (https://fboundy.github.io/solisconnect/), matching the README fix from #34.

Test plan

  • Full suite: 362 passed (setup/services included — config_entry_only_config_schema doesn't break config-entry setup)
  • ruff check / ruff format --check clean

hassfest emits a CONFIG_SCHEMA warning because the integration defines
async_setup (to register services) without declaring a config schema.
The integration is config-entry only and consumes no YAML config, so
declare CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN).
This clears the yellow hassfest annotation.

Also repoint the manifest 'documentation' field from the dead
solisconnect.readthedocs.io to the published GitHub Pages docs.
@github-actions

Copy link
Copy Markdown
Contributor

Failed to generate code suggestions for PR

fboundy added 2 commits July 10, 2026 12:24
Clears the "Node.js 20 is deprecated" runner warning that GitHub was
annotating on the otherwise-green hassfest check.
@fboundy
fboundy merged commit 5356783 into main Jul 10, 2026
6 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.

1 participant