I’m having issues with an automation I created using NFC tag scanning to toggle my garage door. Occasionally it works and can’t figure out the issue. This morning I scanned it 3 times and while the automation showed in the logbook and trace appears to have called the toggle it didn’t do anything. When I first set it up a few days ago I found that just adding the device wasn’t cutting it so I added the entity also. While that worked the couple times I tried it apparently wasn’t the permanent fix. Here is the automation config as shown in a trace:
id: 'xxx'
alias: Toggle garage door w/Tags
description: Open garage door
trigger:
- platform: tag
tag_id: 1
- platform: tag
tag_id: 2
- platform: tag
tag_id: 3
condition: []
action:
- service: cover.toggle
target:
device_id: id#
entity_id: cover.garage_door
mode: single
Here’s a shot of the trace timeline:
This showed in step details when I clicked the little arrow down next to the diagram:
I have no idea what any is this is telling me so I hope someone can help.
EDIT: for safety (don’t know if I need too) I removed tag id and such