Configuration.yaml - default_configdefault_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/