Home Assistant有两个主要的目录:
一个是配置目录.
有configuration.yaml(配置文件)、.storage(组件信息存储文件夹)、home-assistant.log(程序运行日志)等;
一个是安装目录.
放置有程序核心代码及官方组件代码(components目录)
Home Assistant按配置文件以模块化的方式启用组件。
配置文件的位置是
macOS ~/.homeassistant/configuration.yaml
Linux ~/.homeassistant/configuration.yaml
Windows %APPDATA%\.homeassistant\configuration.yaml
Window下“%APPDATA%”一般位于“c:\users\用户名\AppData\Roaming\”。
If you use Home Assistant Container, you can find configuration.yaml in the config folder that you mounted in your container.
If you use Home Assistant Operating System, you can find configuration.yaml in the /config folder of the installation.
If you use Home Assistant Core, you can find configuration.yaml in the config folder passed to the hass command (default is ~/.homeassistant).
https://www.home-assistant.io/docs/configuration/#Editing%20Configuration.Yaml
source:https://siytek.com/home-assistant-configuration-yaml-beginners-guide/
https://www.msly.cn/boards/topic/11346/beginners-guide-to-home-assistant-core-architecture#16597
Linux
配置目录
find config path
output
安装目录
# root用户运行
Home Assistant Configuration YAML (The Beginners Guide)
https://siytek.com/home-assistant-configuration-yaml-beginners-guide/
Have a look at the wiki. It contains information that might help you.
https://github.com/danielperna84/hass-configurator/wiki/Configuration
https://community.home-assistant.io/t/configurator-file-editor-for-ha-core-in-docker/238472
一个是配置目录.
有configuration.yaml(配置文件)、.storage(组件信息存储文件夹)、home-assistant.log(程序运行日志)等;
一个是安装目录.
放置有程序核心代码及官方组件代码(components目录)
Home Assistant按配置文件以模块化的方式启用组件。
配置文件的位置是
macOS ~/.homeassistant/configuration.yaml
Linux ~/.homeassistant/configuration.yaml
Windows %APPDATA%\.homeassistant\configuration.yaml
Window下“%APPDATA%”一般位于“c:\users\用户名\AppData\Roaming\”。
If you use Home Assistant Container, you can find configuration.yaml in the config folder that you mounted in your container.
If you use Home Assistant Operating System, you can find configuration.yaml in the /config folder of the installation.
If you use Home Assistant Core, you can find configuration.yaml in the config folder passed to the hass command (default is ~/.homeassistant).
https://www.home-assistant.io/docs/configuration/#Editing%20Configuration.Yaml
Home Assistant OS /config
Docker Container /config
OS X ~/.homeassistant
Linux ~/.homeassistant
Windows %APPDATA%/.homeassistant
source:https://siytek.com/home-assistant-configuration-yaml-beginners-guide/
https://www.msly.cn/boards/topic/11346/beginners-guide-to-home-assistant-core-architecture#16597
Linux
配置目录
find config path
find / -name configuration.yaml
output
root@raspberrypi:/var/log# find / -name configuration.yaml
/home/homeassistant20230103/.homeassistant/configuration.yaml
/home/homeassistant20221103/.homeassistant/configuration.yaml
/home/homeassistant20221102/.homeassistant/configuration.yaml
/home/homeassistant/.homeassistant/configuration.yaml
/root/.homeassistant/configuration.yaml
安装目录
# root用户运行
find / -name homeassistant | grep -E 'site-packages|dist-packages'
Home Assistant Configuration YAML (The Beginners Guide)
https://siytek.com/home-assistant-configuration-yaml-beginners-guide/
Have a look at the wiki. It contains information that might help you.
https://github.com/danielperna84/hass-configurator/wiki/Configuration
https://community.home-assistant.io/t/configurator-file-editor-for-ha-core-in-docker/238472
0