Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101645

Potential Issue with Automation

$
0
0

@bigverm23 wrote:

so i created this automation, and have recently noticed after the lock unlocks due to home-away status, it nearly immediately unlocks itself.

Code looks ok to me, but I am brand new at this so I’m likely missing something. Please help!!

- id: door_lock_presence
  alias: Unlock door on arrival
  trigger:
    platform: zone
    entity_id: device_tracker.life360_ken, device_tracker.life360_katie, device_tracker.addieiphone
    zone: zone.mt_airy_home
    event: enter
  action:
    service: lock.unlock
    entity_id: lock.frontdoor_lock_locked
- id: door_lock_nopresence
  alias: Lock door on departure
  trigger:
    platform: zone
    entity_id: device_tracker.life360_ken, device_tracker.life360_katie, device_tracker.addieiphone
    zone: zone.mt_airy_home
    event: leave
  action:
    service: lock.lock
    entity_id: lock.frontdoor_lock_locked

Posts: 8

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 101645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>