Moon YAML removal

Just upgraded to 2022.10.
Received this message

Configuring Moon using YAML has been removed.

Your existing YAML configuration is not used by Home Assistant.

Remove the YAML configuration from your configuration.yaml file and 
restart Home Assistant to fix this issue.

I have the word “moon” listed in a lot of weather files and such.
How do I know which ones to remove.
Thanks

probably it is the integration mentioned above.
You might have it somewhere in your yaml file, like this:

- patform: moon
...
...
...

Thanks that did it.
Greatly appreciated.