直接删没事 删了就是历史记录没了,
history去官方学习下,下面简单的参考下
configuration.yaml
history: !include history.yaml
history.yaml
include:
domains: #保留的域
- binary_sensor
- light
- sensor
- switch
- weather
- device_tracker
entities: #保留的实体
- zone.home
exclude:
domains: #排除的域
- automation
- camera
- climate
- input_boolean
- script
entities: #排除的实体
- binary_sensor.tmmh
- binary_sensor.xsjmt
|