Door Pin

I’m having an issue (I think) with trying to setup some actions to happen when I enter my pin on my door. its always saying its true so does this mean that it will always fire off the action that is set for that condition? I tried to add the _ in the name of my condition, and also tried the repeat flag. its always staying true. now if is supposed to happen and it will only really kick off when the pin is entered I am OK. I just dont want it trying to send the “home” command to my nest all the time.

Trigger:
tPinEntered PIN Code #3 is entered on Front Lock

Conditions:
_cPinEntered Yes tPinEntered

Actions for Condition: _cPinEntered

Device Actions:

Immediate

Device Action Arguments
Nest SetOccupancyState NewOccupancyState=Occupied

I worked around this by checking if the door is unlocked and the pin was entered after the last time the door was locked.

tFrontDoorLockPin1 and tFrontDoorUnlocked and (tFrontDoorLocked; tFrontDoorLockPin1)

[quote=“crimsondr, post:2, topic:185301”]I worked around this by checking if the door is unlocked and the pin was entered after the last time the door was locked.

tFrontDoorLockPin1 and tFrontDoorUnlocked and (tFrontDoorLocked; tFrontDoorLockPin1)[/quote]

Similar to the solution that Rex and Richard suggested for my problem of disarming the alarm by the PIN; making the value of the PIN received dependent on some other state, in this case the door locked in my case the alarm armed.