hey guys,
right now i‘m using an iOS shortcut to call a script when i turn off an alarm (turning lights on when i wake up). however this also triggers the script when i‘m not home.
so i wanted to do an automation that only turns the light on when i‘m home.
i‘m calling automation.trigger
using the shortcuts app, but does someone knows what i have to add as data?
is it only this?
target:
entity_id: automation.name