blueprints/automation/medication-reminder.yaml aktualisiert
This commit is contained in:
1 parent
036b6f8324
commit
81f2132bd9
1 file changed
+6
-2
@@ -38,8 +38,12 @@ blueprint:
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: tag_scanned
|
||||
event_data:
|
||||
tag_id: "{{ inputs.nfc_tag_id }}"
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: >
|
||||
{{ trigger.event.data.tag_id == inputs.nfc_tag_id }}
|
||||
|
||||
|
||||
variables:
|
||||
scanned_user_id: "{{ trigger.context.user_id }}"
|
||||
|
||||
Reference in new issue
Block a user