5
25
81
注册会员
alias: event_test description: '' trigger: - platform: event event_type: entity_registry_updated context: user_id: - e87c94f35b2244cbb0d262ca327d2156 condition: [] action: - service: mqtt.publish data: topic: /event/test payload: '{{ trigger.event.data }}' mode: queued max: 10
使用道具 举报
896
5276
论坛元老
317
1345
金牌会员
netsnake 发表于 2022-2-19 15:36 是不是事件没触发?entity_registry_updated字面意思难道是第一次识别出来才激发event? ...
qq985958118 发表于 2022-2-21 09:55 是hass内置的事件,实体更新的时候触发,比如接入设备,删除设备的时候。 我测试接入设备时,用下图方式 ...
chenquanhao 发表于 2022-2-19 12:58 到自动化跟踪那里看是哪个环节不通过
352
2057
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-10 00:01 , Processed in 1.557444 second(s), 25 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.