4
111
923
高级会员
查看全部评分
使用道具 举报
event_types: - press - double_press - long_press event_type: double_press device_class: button friendly_name: 主卧无线开关
alias: 双击_主卧无线开关执行关闭主卧所有灯 description: 双击 trigger: - platform: state entity_id: - event.wireless_switch_1162_button condition: - condition: template value_template: >- {{ state_attr('event.wireless_switch_1162_button', 'event_type') == 'double_press'}} action: - parallel: - service: light.turn_off metadata: {} data: {} target: entity_id: - light.yeelink_bslamp2_7e4d_light - light.opple_bydceiling_16b3_light - light.lemesh_wy0c15_db84_light mode: single
13
794
论坛技术达人
18
231
1064
金牌会员
138
2130
itispip 发表于 2024-6-6 01:44 migateway3不是原生支持这个吗?
1
38
758
0
5
42
新手上路
46
252
中级会员
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-9-8 10:34 , Processed in 0.085476 second(s), 35 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.