#Reacting on a Matter event-based button
1 messages · Page 1 of 1 (latest)
Very much like https://blog.ceard.tech/2025/01/zigbee2mqtt-2.0#step-by-step
triggers:
- trigger: state
entity_id: event.office_dial_moes_action
to: ~
# null and ~ (and NULL) are functionally identical - I just happen to prefer ~
conditions:
- condition: template
value_template: >-
{{ trigger.to_state.attributes.event_type == 'toggle' }}
Replace with your entity and event types