2020-02-14 04:21:11 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
# @CCOSTAN
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
|
|
# August Smart Lock support for my Front Door - [August Smart Lock](https://amzn.to/2SKGVDk) with Home Assistant.
|
|
|
|
#-------------------------------------------
|
|
|
|
######################################################################
|
|
|
|
## August Smart Lock - https://amzn.to/2SKGVDk
|
|
|
|
######################################################################
|
|
|
|
|
2020-10-04 19:03:48 +00:00
|
|
|
# Moved Authentication to UI Integrations
|
2020-02-14 04:21:11 +00:00
|
|
|
# Added to the LOCK group
|
|
|
|
# Added a check lock routine to the Briefing.yaml - Will check locks whenever there is a speech event.
|
2025-01-17 19:45:32 +00:00
|
|
|
# Door will autoLock in 20 minutes. this is set up in the August App.
|
2020-02-14 04:21:11 +00:00
|
|
|
|
2020-10-04 19:03:48 +00:00
|
|
|
######################################################################
|
|
|
|
## Door Lock Status Announcements - Only during normal hours.
|
|
|
|
######################################################################
|
|
|
|
|
2020-02-14 04:21:11 +00:00
|
|
|
automation:
|
|
|
|
- alias: 'Door Locked Announcement'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: a4294b3b-51f3-4e32-8e71-b9ef865add3b
|
2020-02-14 04:21:11 +00:00
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id:
|
|
|
|
- lock.front_door
|
|
|
|
from: 'unlocked'
|
|
|
|
to: 'locked'
|
|
|
|
for: '00:00:30'
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: script.speech_engine
|
2020-09-26 14:52:45 +00:00
|
|
|
data:
|
2020-02-14 04:21:11 +00:00
|
|
|
DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}."
|
|
|
|
|
2020-10-04 19:03:48 +00:00
|
|
|
- alias: 'August Battery Monitor'
|
|
|
|
id: 82d6d09b-fba1-4320-8048-067043b490fc
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: numeric_state
|
|
|
|
entity_id: sensor.front_door_battery
|
|
|
|
below: 25
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: script.notify_engine
|
|
|
|
data:
|
|
|
|
title: 'Low Battery'
|
|
|
|
value1: 'The August Door lock is at {{ states("sensor.front_door_battery") }}% '
|
2023-11-17 22:16:41 +00:00
|
|
|
group: 'Battery_Alert'
|
2025-01-17 19:45:32 +00:00
|
|
|
|
|
|
|
- alias: 'FrontDoor Bell Camera on Front Door Lock'
|
|
|
|
id: Doorbell_camera_front_door
|
|
|
|
mode: single
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: lock.front_door
|
|
|
|
to: 'unlocked'
|
|
|
|
action:
|
|
|
|
- service: media_player.play_media
|
|
|
|
target:
|
|
|
|
entity_id: media_player.kitchen
|
|
|
|
data:
|
|
|
|
media_content_id: 'show front doorbell camera'
|
|
|
|
media_content_type: custom
|
|
|
|
- delay: '00:20:00'
|
|
|
|
- service: media_player.play_media
|
|
|
|
target:
|
|
|
|
entity_id: media_player.kitchen
|
|
|
|
data:
|
|
|
|
media_content_id: 'hide front doorbell camera'
|
|
|
|
media_content_type: custom
|