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
我是这样写的,但是没有触发,不知道是什么情况 |