抱歉回复晚了,在homekit-infused/user下面有2个文件,一个device_counters.yaml和一个notifications.yaml,需要在这里配置。
device_counters.yaml就是建立群组,类似下面这样:
all_climate_entities:
name: 所有空调
icon: mdi:fan
entities:
- climate.livingroom_acpartner
- climate.bedroom_acpartner
- climate.studyroom_acpartner
# All Fans (Enter all your fans in here)
all_fan_entities:
name: 所有风扇
icon: mdi:fan
entities:
- fan.sonoff06
- fan.sonoff08
- fan.sonoff09
- fan.xiaomi_air_humidifier
- fan.xiaomi_smart_fan
# Window Sensors
all_window_sensor_entities:
name: 所有窗磁
entities:
- binary_sensor.door_window_sensor_158d00026ba081
- binary_sensor.door_window_sensor_158d0002a16231
- binary_sensor.door_window_sensor_158d00032605b8
# Door Sensors
all_door_sensor_entities:
name: 所有门磁
entities:
- binary_sensor.door_window_sensor_158d0002014310
- binary_sensor.door_window_sensor_158d00032604d3
# Motion Sensors
all_motion_sensor_entities:
name: 所有人体探测器
entities:
- binary_sensor.motion_sensor_158d0001ad5c41
- binary_sensor.motion_sensor_158d0001e02fa1
- binary_sensor.motion_sensor_158d0001e521e9
- binary_sensor.motion_sensor_158d0001e53c30
- binary_sensor.motion_sensor_158d0001e59ac8
做好这个之后,如果动过名字,跟packages/homekit_infused/hki_sensors.yaml中的sensor对照着设置一下。
notifications.yaml 就是那个滑动的通知相关的,我放附件里面参考吧。
notifications.rar
(1.62 KB, 下载次数: 56)
|