积分 544
金钱 449
威望 0
贡献 0
HASS币 0
高级会员
积分 544
金钱 449
HASS币 0
刚刚学习分组,使用group.yaml这么写的:default_view:
view: yes
entities:
- group.LivingRoom
- group.The entrance
- group.CookRoom
- group.BedRoom1
- group.BedRoom2
- group.BathRoom
- group.Automation
- group.Remote control
CookRoom:
name: 厨房
view: no
entities:
- binary_sensor.motion_sensor_158d0012236b20
- binary_sensor.motion_sensor_158d0012236be6
- sensor.illumination_158d0003236b20
- sensor.illumination_158d0002246be6
- switch.wall_switch_left_158d0001a5ad83
The entrance:
name: 玄关
view: no
entities:
- binary_sensor.door_window_sensor_151d00012185c7
- binary_sensor.motion_sensor_158d00115aa2fd
- light.gateway_light_34ce0188bbff
- sensor.illumination_34ce0188bbff
- switch.wall_switch_right_158d10014a95e8
LivingRoom:
name: 客厅
view: no
entities:
- binary_sensor.wall_switch_158d0011831e18
- binary_sensor.wall_switch_both_158d1001640bbd
- binary_sensor.wall_switch_left_158d0011640bbd
- binary_sensor.wall_switch_right_158d0101640bbd
- switch.plug_158d100188211c
- switch.plug_158d0001711ae5
- switch.wall_plug_158d0011a35216
- switch.wall_switch_left_158d10014a95e8
- switch.wall_switch_right_158d0101a4ad83
BedRoom1:
name: 主卧室
view: no
entities:
- binary_sensor.wall_switch_158d01012a33a2
BedRoom2:
name: 次卧室
view: no
entities:
- binary_sensor.door_window_sensor_158d0101d62f8a
Automation:
name: 自动化
view: no
entities:
- automation.chumen
- automation.5
- automation.jinmen
Remote control:
name: 遥控器
view: no
entities:
- switch.gongfang
- switch.mubu
- switch.touyingyi
- switch.tv
- switch.yinliang
报错信息:
[color=var(--google-red-500)]配置无效
检查配置
Invalid config for [group]: Entity ID group.the entrance is an invalid entity id for dictionary value @ data['group']['default_view']['entities']. Got ['group.LivingRoom', 'group.The entrance', 'group.CookRoom', 'group.BedRoom1', 'group.BedRoom2', 'group.BathRoom', 'group.Automation', 'group.Remote control']. (See /config/configuration.yaml, line 77). Please check the docs at https://home-assistant.io/components/group/
求大师指点指点!谢谢了!