5
30
81
注册会员
我来回答
使用道具 举报
322
1345
金牌会员
netsnake 发表于 2022-2-19 15:31 非大佬! 开发者工具那不是有事件么?分析下,触发相关事件,应该能完成你的要求把! 类似 device_regi ...
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
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-5-19 14:17 , Processed in 0.137142 second(s), 25 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.