Is it possible to play an audio file, or even just a tone to either the Unifi G4 Instant or the G4 Pro doorbell?
I have an automation to unlock my August deadbolt with fingerprints from the G4 Pro, but no indication that the lock is open.
I have a TTS alert, but it’s loud. Maybe there’s a way to lower the volume?
description: ""
triggers:
- trigger: webhook
allowed_methods:
- POST
- PUT
local_only: true
webhook_id: "- asdfgafsdasdfasdfa"
conditions: []
actions:
- choose:
- conditions:
- condition: device
device_id: asdfasdfasdf
domain: lock
entity_id: asdfasdfsdf
type: is_locked
sequence:
- action: lock.unlock
metadata: {}
data: {}
target:
device_id: asdfasdfasdf
- conditions:
- condition: device
device_id: asdfasdfasdf
domain: lock
entity_id: asdfasdfasdf
type: is_unlocked
sequence:
- action: lock.lock
metadata: {}
data: {}
target:
device_id: asdfasdfasdf
- action: media_player.volume_set
metadata: {}
data:
volume_level: 0.5
target:
device_id: asdfasdfasdf
- if:
- condition: device
device_id: asdfasdfasdf
domain: lock
entity_id: asdfasdfasdf
type: is_unlocked
then:
- action: tts.speak
metadata: {}
data:
cache: true
media_player_entity_id: media_player.doorbell_speaker
message: Door unlocked
options: {}
target:
entity_id: tts.google_en_com
mode: single
type or paste code here
Is there a better way to do this?