You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.1 KiB

######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# August Package - August Smart Lock - https://amzn.to/2SKGVDk.
# Centralizes the August package configuration and helpers.
# -------------------------------------------------------------------
# Notes: August Smart Lock support for my Front Door - [August Smart Lock](https://amzn.to/2SKGVDk) with Home Assistant
######################################################################
# Moved Authentication to UI Integrations
# Added to the LOCK group
# Added a check lock routine to the Briefing.yaml - Will check locks whenever there is a speech event.
# Door will autoLock in 20 minutes. this is set up in the August App.
######################################################################
## Door Lock Status Announcements - Only during normal hours.
######################################################################
automation:
- alias: 'Door Locked Announcement'
id: a4294b3b-51f3-4e32-8e71-b9ef865add3b
trigger:
- platform: state
entity_id:
- lock.front_door
from: 'unlocked'
to: 'locked'
for: '00:00:30'
action:
- service: script.speech_engine
data:
DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}."
- alias: 'August Battery Monitor'
id: 82d6d09b-fba1-4320-8048-067043b490fc
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.front_door_battery
below: 20
action:
- service: script.notify_engine
data:
title: 'Low Battery'
value1: 'The August Door lock is at {{ states("sensor.front_door_battery") }}% '
group: 'Battery_Alert'
- service: script.send_to_logbook
data:
topic: "BATTERY"
message: "August Door lock battery low: {{ states('sensor.front_door_battery') }}%"

Powered by TurnKey Linux.