2024年11月21日星期四 下午6:53:46

Beginner’s Guide to Home Assistant Core Configuration YAML (Single file)

2 年 前
#15385 引用
Beginner’s Guide to Home Assistant Core Configuration YAML(Single file)
0
2 年 前
#15386 引用
Example configuration


https://bbs.hassbian.com/thread-2585-1-1.html
0
2 年 前
#15387 引用
Proper format of Proper format of Configuration.yaml file
0
2 年 前
#16589 引用
Configuration.yaml  - default_config

default_config:
This integration is a meta-component and configures a default set of integrations for Home Assistant to load. The integrations that will be loaded are:

https://www.home-assistant.io/integrations/default_config/   - 点击这个连接,可以看到ha 可以加载哪些内置集成列表

default_config: 有了这个变量配置,ha 会自动加载内置集成



If you removeddefault_config:from your configuration, you must addcounter:to yourconfiguration.yamlfirst, then you can use the UI.

https://www.home-assistant.io/integrations/counter/

如果删除了这个变量,你需要手动添加变量counter,然后才能使用ui 界面进行配置


The history integration will track everything that is going on within Home Assistant and allows the user to browse through it. It depends on the recorder integration for storing the data and uses the same database setting. If any entities are excluded from being recorded, no history will be available for these entities.

This integration is by default enabled, unless
you’ve disabled or removed the default_config: l
ine from your configuration. If that is the case, the following example shows you how to enable this integration manually:

# Basic configuration.yaml entry
history:


https://www.home-assistant.io/integrations/history/
0
2 年 前
#18746 引用
Configuration.yaml  - HTTP

HTTP

https://www.home-assistant.io/integrations/http/


Home Assistant default port



automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


# https://www.home-assistant.io/integrations/http/
http:
  server_port: 28123

0
1 年 前
#18985 引用
ping binary-sensor m1s

https://www.msly.cn/boards/topic/12365/ping-binary-sensor-m1s#16545
0