Hi forum people,
I’ve got some NFC tags, one on the washer and one on the dryer. I want it to wait an allotted amount of time, and then send a TTS and push notification to my phone after it’s elapsed. This all works fine, except it sends the notification to both my phone, and my housemate’s phone. I want to set a condition so that it sends the notification to only the person who scanned it’s phone. How can I accomplish this?
Example code (I was testing with this)
- id: '1656639187904'
alias: Tag Tester is scanned
description: ''
trigger:
- platform: tag
tag_id: ae164a18-dd2c-4a9a-b5b9-0d00d3a40643
action:
- type: turn_on
device_id: 658d2a31a87e44a833b70fdce726772c
entity_id: switch.socket_1
domain: switch
mode: single
Putting user_id or device_id under the trigger didn’t work. Adding a “triggered by” condition in the UI doesn’t work because it only accepts trigger IDs.