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.

29 lines
1.2 KiB

######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Locator Automation - Announces the location of all family members when triggered.
# Defines the Locator Automation triggers, conditions, and actions.
# -------------------------------------------------------------------
# Notes: Announces the location of all family members when triggered
# Notes: Features:
# Notes: - Triggered by input_boolean.locator (for Alexa integration)
# Notes: - Uses speech_engine script to announce where everyone is
# Notes: - Designed for use with Alexa ("Alexa, turn on locator")
######################################################################
- alias: 'Locator'
id: locator-announcement-001
mode: single
trigger:
- platform: state
entity_id: input_boolean.locator
to: 'on'
action:
- service: script.speech_engine
data:
call_no_announcement: 1
- service: input_boolean.turn_off
data:
entity_id: input_boolean.locator

Powered by TurnKey Linux.