Configuration Validation does not validate

Hi anyone else experienced this issue?
If I make changes to my yaml configuration (which is stored in packages) and I press the configuration validation button is gives me an all clear. But when I reload the automations I sometimes get an error message in notifications that automation is broken. Sure enough I have a typo or something else wrong with the code which I would have expected (and in the past it did) config validation to have picked up.

This may be because I have all my configuration in yaml files within a packages folder.

Not a major issue but diminished the usefulness of the configuration validation.

The UI check is a quick check that catches only some errors. You should use the command line config check to actually validate your config.

Not familiar with the command line check.

https://www.home-assistant.io/common-tasks/os/#configuration-check
or
https://www.home-assistant.io/common-tasks/container/#configuration-check
or
https://www.home-assistant.io/common-tasks/core/#configuration-check

Thanks Tinkerer I will check them out