Home AssistantHome AssistantContributors
In code
script/hassfestpython -m script.hassfest

Hassfest checks that the files around the code of an integration, like manifest.json, strings.json, services.yaml, and quality_scale.yaml, are complete and consistent. It also generates files from them, like CODEOWNERS and the lists in homeassistant/generated/.

It runs in CI on every pull request to Home Assistant Core, and you can run it yourself with python -m script.hassfest. Custom integrations can use it too, with the hassfest action from the home-assistant/actions repository. See Linters, hassfest, and CI.