Hmm, let’s say… if you’re interested in unlocked via automation…
contains($args,'usedCode')
– if false, then it was unlocked via automation.
And others…
contains($args,'usedCode:manual, microDeviceTile:[icon:st.locks.lock.locked')
– if true, locked Manually
contains($args,'usedCode:manual, microDeviceTile:[icon:st.locks.lock.unlocked')
– if true, unlocked Manually
There are probably other ways to skin this but this is first thing I can think of.
Edit: I think I’m confusing my functions lol, let me verify
Edit2: Ok, contains() is a valid function.