For those using custom components via HACS, the check_config script is not that useful.
I am trying to run this in a CI pipeline but validating the config always fails because the platforms are not known to HA core: https://github.com/thibmaek/homeassistant-conf/runs/295790536
Failed config
General Errors:
- Platform error media_player.samsungtv_custom - Integration 'samsungtv_custom' not found.
- Platform error sensor.plex_recently_added - Integration 'plex_recently_added' not found.
- Platform error sensor.radarr_upcoming_media - Integration 'radarr_upcoming_media' not found.
- Platform error sensor.sonarr_upcoming_media - Integration 'sonarr_upcoming_media' not found.
- Platform error sensor.buienalarm - Integration 'buienalarm' not found.
Maybe we could exclude certain components like this:
$ python -m homeassistant --config . \
--script check_config \
--custom-components "media_player.samsungtv_custom,sensor.plex_recently_added,sensor.radarr_upcoming_media,sensor.sonarr_upcoming_media,sensor.buienalarm" \
--info all