#August Smart Locks: Locking Door Issues when already locked

1 messages · Page 1 of 1 (latest)

distant spear
#

I made an automation for my August Yale lock (with SmartSense) to lock every night and it seems like it keeps trying to lock an already locked door - thus exceeding API limits. why doesn't it first check if the door is currently locked before trying to lock it?...

#

is there any way to add a script whenever something calls lock.frontdoor to check its status first? internally within the August/Yale integration

autumn kite
distant spear
autumn kite
jade horizonBOT
#

@distant spear To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

distant spear
# jade horizon

I can't find the correct tick on my iPhone sorry. I was wondering if there is a way in the device settings script when lock is called so it's global whenever lock entity is called instead of specific automation

#

If you post the ticks in a message I might be able to copy and paste them

distant spear
autumn kite
#

ok so you look like this currently (with less errors)

#

add an if block to actions

#

move the lock action into the block as "else"

#

then add a condition in the box. this condition needs to check that the state of the lock is set to LOCKED. I cant show exactly how it would look as I don't have the device.

#

so the flow is:
trigger - check if do is locked - if locked do nothing - else send lock door command.

autumn kite
distant spear
#

@autumn kite i am at my desk now reviewing this. however, from my scripting knowledge, won't an "and if...x", like for if not unlocked - stop the whole automation? for example, i have security alarm also turning on. so if the door is locked, won't this prohibit the full automation from running its remaining tasks

distant spear
#

@autumn kite I'll just make separate automation instances though