虽然您可以直接从用户界面配置大多数主助手配置, some parts need you to edit
配置.yaml. This file contains integrations to be loaded along with their configurations. Throughout the documentation you will find snippets that you can add to your configuration file to enable specific functionality.
If you use Home Assistant Container, you can find
配置.yaml in the config folder that you mounted in your container.
If you use Home Assistant Core, you can find
配置.yaml in the config folder passed to the
hass command (default is
Most integrations in Home Assistant that do not interact with devices or services can reload changes made to their configuration in
配置.yaml. To do this, go to 配置 ->服务器控件并向下滚动到yaml配置重新加载部分（替代，在UI中命中“C”并搜索）。
If you run the container or core installation methods, you will need to manually make a backup of your configuration folder. Be aware that some of the files you need start with
., which is hidden by default from both
ls (in SSH), in Windows Explorer, and macOS Finder. You’ll need to ensure that you’re viewing all files before you copy them.