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.
56 lines
1.6 KiB
56 lines
1.6 KiB
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# Guest Mode Speech - guest arrival/departure announcements.
|
|
# Announces guest-mode changes without mixing in vacation/house-sitter logic.
|
|
# -------------------------------------------------------------------
|
|
# Related Issue: 793
|
|
######################################################################
|
|
- alias: 'Guest Mode Audio Feedback'
|
|
id: 3622ba04-9a28-4c02-807c-be4abc663fe0
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_boolean.guest_mode
|
|
from: 'off'
|
|
to: 'on'
|
|
|
|
action:
|
|
- service: script.speech_engine
|
|
data:
|
|
value1: >
|
|
Guest Mode has been enabled. Must be a party. [Summarize the weather for our guests]
|
|
call_no_announcement: 1
|
|
call_inside_weather: 1
|
|
call_outside_weather: 1
|
|
call_garage_check: 1
|
|
call_window_check: 1
|
|
|
|
- alias: 'Guest Mode Reset'
|
|
id: b4434ffd-476b-4d79-bd9d-65222883f9da
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- group.family
|
|
from: 'not_home'
|
|
to: 'home'
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.guest_mode
|
|
state: 'on'
|
|
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
entity_id:
|
|
- input_boolean.guest_mode
|
|
- service: script.speech_engine
|
|
data:
|
|
value1: >-
|
|
Guest Mode has been disabled and normal automations will continue.
|
|
call_no_announcement: 1
|