cancel
Showing results for 
Search instead for 
Did you mean: 

ADT - Yale-Nest Automation

Fear76
Community Member

I am trying to build an automation whereby ADT is disarmed when I unlock the Yale-Nest lock using my keypad code.  It is to work when google senses I am in the vicinity of home, and between certain hours.  Everything seems ok but I get an error in the action:  "The combination of optional fields in the Struct is not eligible."

This does not make sense since the ArmDisarm Struct is available for ADT.

I also tried replacing the action with an OKGoogle Command of "Disarm ADT" which does work by prompting a speaker to ask for the disarm PIN, but that is pointless if I am outside.  I tried in the command "Disarm ADT; [PIN]" which did nothing.

Anyone with ideas of how to make this work?

Maybe there is a way to program my ADT disarm PIN into the automation?

What I have is below.  Thanks.

 

metadata:
name: Yale Nest Lock disarms ADT
description: When the Yale Lock is unlocked using the passcode, and ADT is armed, ADT will disarm

automations:
# ---- STARTERS ---- #
starters:
- type: device.state.LockUnlock
state: isLocked
is: false
device: Front door - Porch

# ---- CONDITIONS ---- #
condition:
type: and
conditions:
- type: home.state.HomePresence
state: homePresenceMode
is: HOME
- type: time.between
before: 09:30:00 PM
after: 05:15:00 AM
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN

# ---- ACTIONS ---- #
actions:
- type: device.command.ArmDisarm
arm: false
devices: ADT Living Room - Living room

6 REPLIES 6

danedavis
Community Member

I'm having the same problem.

Hypothesis
Community Member

Hello. Just wanted to see if you had made any progress in handling this issue? I'm running into the same thing.

I haven't yet.

Having the same problem. It's mind boggling why the ADT device in automation provides options to arm, however, for disarm, the only option is to use a text command. 

Fear76
Community Member

Google:  please advise.  It has been nearly 3 months without a response.

akalini
Community Member

A response would be nice! Is there a way to work around this with a text command that includes the PIN? Obviously, not ideal, but better than nothing.