2024-09-03 18:08:43 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
# Guest Mode Announcements
|
|
|
|
# Description: Manages audio announcements for guest mode activation and deactivation
|
|
|
|
#
|
|
|
|
# Features:
|
|
|
|
# - Announces when guest mode is enabled
|
|
|
|
# - Provides weather summary for guests
|
|
|
|
# - Resets guest mode when family returns home
|
|
|
|
#
|
|
|
|
# Integration: Uses speech_engine script for announcements
|
|
|
|
# uses ChromeCast for audio output
|
|
|
|
# Follow me on https://www.vcloudinfo.com/click-here
|
|
|
|
#-------------------------------------------
|
2018-12-27 21:58:52 +00:00
|
|
|
- alias: 'Guest Mode Audio Feedback'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: 3622ba04-9a28-4c02-807c-be4abc663fe0
|
2018-12-27 21:58:52 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id:
|
|
|
|
- input_boolean.guest_mode
|
|
|
|
from: 'off'
|
|
|
|
to: 'on'
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: script.speech_engine
|
2020-09-26 14:52:45 +00:00
|
|
|
data:
|
2018-12-27 21:58:52 +00:00
|
|
|
value1: >
|
2024-07-06 17:11:10 +00:00
|
|
|
Guest Mode has been enabled. Must be a party. [Summarize the weather for our guests]
|
2018-12-27 21:58:52 +00:00
|
|
|
call_no_announcement: 1
|
2024-07-06 17:11:10 +00:00
|
|
|
call_inside_weather: 1
|
|
|
|
call_outside_weather: 1
|
2018-12-27 21:58:52 +00:00
|
|
|
call_garage_check: 1
|
|
|
|
call_window_check: 1
|
2019-01-06 00:40:32 +00:00
|
|
|
|
|
|
|
- alias: 'Guest Mode Reset'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: b4434ffd-476b-4d79-bd9d-65222883f9da
|
2019-01-06 00:40:32 +00:00
|
|
|
|
|
|
|
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
|
2020-09-26 14:52:45 +00:00
|
|
|
data:
|
2024-05-25 00:23:12 +00:00
|
|
|
value1: >-
|
|
|
|
Guest Mode has been disabled and normal automations will continue.
|
2019-01-06 00:40:32 +00:00
|
|
|
call_no_announcement: 1
|