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.
25 lines
1.2 KiB
25 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
|
|
# -------------------------------------------------------------------
|
|
# New Device has connected to the network. let everyone know - Home Assistant automation behavior.
|
|
# Defines the New Device has connected to the network. let everyone know triggers, conditions, and actions.
|
|
# -------------------------------------------------------------------
|
|
######################################################################
|
|
- alias: "New device connected"
|
|
id: 5620418d-baaf-4d1f-bf22-8c094b4a53b2
|
|
trigger:
|
|
- platform: event
|
|
event_type: device_tracker_new_device
|
|
|
|
action:
|
|
- wait_template: >-
|
|
{{ not is_state('media_player.livingroomCC', 'playing') }}
|
|
|
|
- service: script.speech_engine
|
|
data:
|
|
NewDevice: "There has been a new device detected on the network. Be sure to appropriately catagorize {{trigger.event.data.host_name}} within Circle."
|
|
|
|
##############################################################################
|