You need to learn about packages. I always felt that the concept and a base configuration should be part of the default configuration! Anyhow, please read here: Packages - Home Assistant
- In your configuration.yaml add:
homeassistant: packages: !include_dir_named packages - Create the folder
packages - Create and fill
packages/weewx.yamlwith the content above.
In parallel you can create all kinds of yaml files, for topics. Here is a random example I found via google: home-assistant-config/packages at master · aneisch/home-assistant-config · GitHub