5
25
81
注册会员
我来回答
使用道具 举报
317
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 ( 晋ICP备17001384号-1 )
GMT+8, 2025-6-26 21:53 , Processed in 0.949139 second(s), 22 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.