Repository navigation
Conversation
Count added homeassistant/components/<domain>/manifest.json files, so virtual integrations (manifest only, no __init__.py) are included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SLHDn4hLv4oEzNkgkeqecr
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.
Proposed change
Adds a
single-new-integrationcheck to the home-assistant/core manifest. It warns when a PR adds more than one new integration, which happens for example when someone adds several virtual integrations at once.New integrations are detected by added
homeassistant/components/<domain>/manifest.jsonfiles. A virtual integration only has amanifest.jsonand no__init__.py, so counting manifests catches those too. Manifests undertests/are ignored.warn, listing the domains and asking to split them into separate PRs, with a link to the review process.pass.skip.It runs on opened, reopened, synchronize, and on-demand events, and is registered right after
single-new-platform. The core manifest snapshots gain the new row.Type of change
Additional information
Checklist
mise run test). Your PR cannot be merged unless tests pass.mise run check).mise run format).If behaviour, configuration, or environment variables changed:
README.mdand.env.examplehave been updated accordingly.Generated by Claude Code