I want to disable the Home Assistant Alarm if my Side Door was unlocked by the Keypad. I will note that my Lock is accessed through the Smartthings Integration so testing ZWave values might not be available. I did do some debugging and determined that looking at the last change it does tell me the method used when I look at the lock in the UI.
Also looking at the state table in the Home Assistant DB I see this in the attributes field.
{“lock_state”: “locked”, “method”: “keypad”, “friendly_name”: “Side Door Lock”}
I just don’t know how to go about testing and parsing the value of an attribute in an automation trigger.
Would appreciate any help.