mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-18 03:15:45 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'VERY HIGH WINDS:'
|
||||
value1: >-
|
||||
{% set windspeed = states.sensor.dark_sky_wind_speed.state | round %}
|
||||
@@ -36,7 +36,7 @@
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{% set windspeed = states.sensor.dark_sky_wind_speed.state | round %}
|
||||
{% if ( windspeed > 25 ) and ( windspeed <= 40 ) %}
|
||||
@@ -52,7 +52,7 @@
|
||||
- service: script.emergency
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{% set windspeed = states.sensor.dark_sky_wind_speed.state | round %}
|
||||
{% if ( windspeed > 25 ) and ( windspeed <= 40 ) %}
|
||||
|
@@ -19,7 +19,7 @@
|
||||
action:
|
||||
# This Group is defined in the groups directory.
|
||||
- service: group.set
|
||||
data_template:
|
||||
data:
|
||||
object_id: "arriving"
|
||||
add_entities: >-
|
||||
{{ trigger.to_state.entity_id }}
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
- delay: '00:01:00'
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
# {% set person = state_attr(trigger.entity_id, "friendly_name")%} This is another way to do it.
|
||||
# {% set person = trigger.entity_id.split('.')[1]|replace('_', ' ')%}
|
||||
personarriving: >
|
||||
@@ -81,7 +81,7 @@
|
||||
call_window_check: 1
|
||||
|
||||
- service: group.set
|
||||
data_template:
|
||||
data:
|
||||
object_id: "arriving"
|
||||
entities: []
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
who: 'parents'
|
||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} has been {{ (trigger.to_state.state)|replace('_', ' ') }}."
|
||||
apns_id: 'information'
|
||||
@@ -31,6 +31,6 @@
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
call_window_check: 1
|
||||
call_inside_weather: 1
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"Guest Mode has been enabled for the rest of the day.",
|
||||
@@ -54,7 +54,7 @@
|
||||
entity_id:
|
||||
- input_boolean.guest_mode
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"Guest Mode has been disabled and normal automations will continue.",
|
||||
|
@@ -19,6 +19,6 @@
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
NestStatus: "The {{ trigger.entity_id.split('.')[1].split('_')[0]}} {{ trigger.entity_id.split('.')[1].split('_')[1]}} has now been turned on for {{(trigger.to_state.state)}}."
|
||||
call_window_check: 1
|
||||
|
@@ -13,11 +13,11 @@
|
||||
{{ not is_state('media_player.livingroomCC', 'playing') }}
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
NewDevice: "There has been a new device detected on the network. Be sure to appropriately catagorize {{trigger.event.data.host_name}} within Circle."
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"New Device on the Network! @MeetCircle has alerted me and now it is locked down.",
|
||||
|
Reference in New Issue
Block a user