我决定我应该开始版本控制我的 Home Assistant 配置,并希望首先提交未经编辑的配置,看看我已经做了哪些更改。我可以在任何地方找到 config 文件夹(和其他相关文件,如果有的话)的完整副本吗?
我在哪里可以找到家庭助理的默认配置?
物联网
家庭助理
2021-06-08 14:20:11
1个回答
这个官方指南建议只有config
目录应该是版本控制的,而且还有一个特定的.gitignore
. 这适用于家庭助理 0.105.3 的全新安装,留下五个文件:
groups.yaml
,scenes.yaml
和scripts.yaml
, 都是空的automations.yaml
,只包含[]
configuration.yaml
,内容如下:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml