本帖最后由 mars.z 于 2024-12-18 10:34 编辑
二楼已经解答了哦,直接中枢设备自动化里面没有这个条件的
ha这边收到中枢虚拟事件作为自动化触发条件的话,是用中枢的
event.xiaomi_cn_xxxxx_hub1_virtual_event_e_4_1
这个实体触发。
发生虚拟事件用这个action触发的
示例:
action: notify.send_message
data:
message: "["测试事件"]"
target:
entity_id: notify.xiaomi_cn_xxxxxxx_hub1_emit_virtual_event_a_4_1
|