- 积分
- 333
- 金钱
- 287
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 333
- 金钱
- 287
- HASS币
- 0
|
Hass.io系统
目前配置customize.yaml一直报错.
情况反映在,直接把customize内容写在configuration.yaml不会有错误,如下面内容:
--------------
customize:
binary_sensor.floorplan:
custom_ui_state_card: floorplan
config: !include floorplan.yaml
sensor.outside_weather:
friendly_name: 室外天气
sensor.rainfall_intensity:
friendly_name: 降雨强度
sensor.outside_temperature:
friendly_name: 室外温度
--------------
但是把customerize.yaml单列后,开始出现问题:
--------------
homeassistant:
packages: !include_dir_named packages
customize: !include customize.yaml
--------------
customize.yaml里面单独写入就开始报错无法启动.
--------------
binary_sensor.floorplan:
custom_ui_state_card: floorplan
config: !include floorplan.yaml
sensor.outside_weather:
friendly_name: 室外天气
sensor.rainfall_intensity:
friendly_name: 降雨强度
sensor.outside_temperature:
friendly_name: 室外温度
--------------
其中 sensor.outside这一类都放在packages这个包内. binary_sensor.floorplan直接写在configuration.yaml里面.
经过确认是 sensor.outside这一类导致的报错, 把这一类全部屏蔽问题解决.
你们有没有遇到这种问题,是怎么解决的,还是说我哪里写错了???
|
|