mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-13 23:36:42 +00:00
Closes #881 - Obsolete Service_TEMPLATE and Data_TEMPLATE
This commit is contained in:
@@ -242,7 +242,7 @@ automation:
|
||||
data:
|
||||
entity_id: climate.downstairs
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"The {{ trigger.to_state.attributes.friendly_name }} has been opened for about 5 minutes. I will shut down the Air Conditioner so you can enjoy the fresh air.",
|
||||
@@ -326,7 +326,7 @@ automation:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.tv_time
|
||||
|
||||
# - service_template: >-
|
||||
# - service: >-
|
||||
# {% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
|
||||
# light.turn_on
|
||||
# entity_id:
|
||||
@@ -353,7 +353,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: 'Someone has opened up the Alarm Panel Door!'
|
||||
who: 'carlo'
|
||||
apns_id: 'information'
|
||||
|
@@ -109,12 +109,12 @@ automation:
|
||||
state: 'home'
|
||||
action:
|
||||
- service: media_player.volume_set
|
||||
data_template:
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.alarm_clock
|
||||
volume_level: 0.3
|
||||
- service: media_player.play_media
|
||||
data_template:
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.alarm_clock
|
||||
#media_content_id: "http://listen.181fm.com/181-kickincountry_128k.mp3"
|
||||
|
@@ -32,7 +32,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}."
|
||||
|
||||
- alias: 'Door UnLocked Announcement'
|
||||
@@ -46,5 +46,5 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
DoorUnLocked: "The {{ trigger.to_state.name }} has been {{ trigger.to_state.state }} for 10 minutes. I will lock it in 10 minutes if it is still unlocked."
|
||||
|
@@ -48,12 +48,12 @@ automation:
|
||||
value_template: "{% if states('sensor.low_battery') %}true{% endif %}"
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data_template:
|
||||
data:
|
||||
title: Low Battery
|
||||
message: "{{ states('sensor.low_battery') }}"
|
||||
notification_id: low-battery-alert
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Low battery levels: {{ states('sensor.low_battery') }}"
|
||||
who: 'carlo'
|
||||
apns_id: 'information'
|
||||
|
@@ -30,7 +30,7 @@ automation:
|
||||
- service: blink.blink_update
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Check Fridge'
|
||||
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes."
|
||||
who: 'family'
|
||||
@@ -39,7 +39,7 @@ automation:
|
||||
- wait_template: "{{ states.group.family.state == 'home' }}"
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes."
|
||||
no_fridge: 1
|
||||
|
||||
|
@@ -27,12 +27,12 @@ automation:
|
||||
- wed
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data_template:
|
||||
data:
|
||||
title: Low Ink
|
||||
message: "{{ trigger.to_state.attributes.friendly_name }} is at {{ trigger.to_state.state }} "
|
||||
notification_id: low-battery-alert
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "{{ trigger.to_state.attributes.friendly_name }} is at {{ trigger.to_state.state }} "
|
||||
who: 'carlo'
|
||||
apns_id: 'information'
|
||||
|
@@ -21,7 +21,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"Somebody just hit {{ trigger.entity_id }} steps on the #Fitbit!",
|
||||
|
@@ -108,7 +108,7 @@ automation:
|
||||
for: '00:02:30'
|
||||
|
||||
action:
|
||||
# - service_template: >
|
||||
# - service: >
|
||||
# {% set hour=states("sensor.time").split(':')[0] | int %}
|
||||
# {% if hour >= 7 and hour <= 9 and states.input_boolean.school_mode.state == 'on'%}
|
||||
# input_boolean.turn_off
|
||||
@@ -118,7 +118,7 @@ automation:
|
||||
# entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
DoorClosed: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}."
|
||||
call_garage_check: 1
|
||||
|
||||
@@ -148,7 +148,7 @@ automation:
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Check/Close Garage Doors - High Speed Wind Alert:'
|
||||
value1: "Small: {{ states('cover.small_garage_door')}}"
|
||||
value2: "Large: {{ states('cover.large_garage_door')}}"
|
||||
@@ -156,7 +156,7 @@ automation:
|
||||
who: 'parents'
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
"The winds are picking up outside. The wind speed is {{ states('sensor.dark_sky_wind_speed')|round}} miles per hour. For safety, please close the garage doors.
|
||||
{% if is_state('cover.large_garage_door', 'open') -%}
|
||||
@@ -168,7 +168,7 @@ automation:
|
||||
{% endif %}"
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"Wind speed is {{ states('sensor.dark_sky_wind_speed')|round}} miles per hour. For safety, I'm going to close the @garadget doors.",
|
||||
@@ -226,7 +226,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Check Garage Doors:'
|
||||
value1: "Small: {{ states('cover.small_garage_door')}}"
|
||||
value2: "Large: {{ states('cover.large_garage_door')}}"
|
||||
@@ -235,5 +235,5 @@ automation:
|
||||
apns_id: 'information'
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Please check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}}"
|
||||
|
@@ -35,7 +35,7 @@ automation:
|
||||
offset: '+02:30:00'
|
||||
action:
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
{{ [
|
||||
"I have just finished crunching the numbers and here is the latest #Solar Production graph. "
|
||||
|
@@ -20,10 +20,10 @@ automation:
|
||||
|
||||
action:
|
||||
- service: ifttt.trigger
|
||||
data_template: {"event":"GitPost", "value2":"HACS - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}", "value1":"Update to HACS {{state_attr('sensor.hacs','repositories')}}: There is {{ states.sensor.hacs.state }} update."}
|
||||
data: {"event":"GitPost", "value2":"HACS - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}", "value1":"Update to HACS {{state_attr('sensor.hacs','repositories')}}: There is {{ states.sensor.hacs.state }} update."}
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
Hey @CCostan - There are {{ states.sensor.hacs.state }} updates to HACS components:
|
||||
{%- for repo in state_attr("sensor.hacs","repositories") -%}
|
||||
|
@@ -22,7 +22,7 @@ automation:
|
||||
action:
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: '{{trigger.event.data.title}} - {{trigger.event.data.link}}'
|
||||
image: >-
|
||||
{% set pictures = [
|
||||
|
@@ -160,7 +160,7 @@ automation:
|
||||
|
||||
- delay: '0{{ (range(4, 8)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"Today is {{ states.sensor.holiday.state }}. Time to adjust the outside light colors!",
|
||||
|
@@ -69,7 +69,7 @@ automation:
|
||||
actionName: NOT_HOME
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Medicine Reminder'
|
||||
value1: 'Ok. I will remind you when you get home.'
|
||||
who: 'carlo'
|
||||
@@ -77,7 +77,7 @@ automation:
|
||||
- wait_template: >-
|
||||
{{ states.person.carlo.state == 'home' }}
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Medicine Reminder'
|
||||
value1: 'Now that your home, please take your medicine!'
|
||||
who: 'carlo'
|
||||
@@ -107,7 +107,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Medicine Alert!'
|
||||
value1: 'Please take your Medicine!'
|
||||
ios_category: "tablet"
|
||||
|
@@ -28,7 +28,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The Garage charger is now in {{ states('sensor.carlojuice_charging_status') }} mode."
|
||||
who: 'parents'
|
||||
apns_id: 'information'
|
||||
@@ -70,7 +70,7 @@ automation:
|
||||
entity_id: switch.juicebox_restart
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"The #JuiceBox Pro had to be restarted. It was unable to connect back to @emotorwerks servers.",
|
||||
@@ -106,13 +106,13 @@ automation:
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The Juice Box Charger is pulling {{ states('sensor.carlojuice_amps') }} AMPs. This is above the safety mark of 30. Please unplug charger immediately."
|
||||
who: 'parents'
|
||||
apns_id: 'JuiceBox'
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The Juice Box Charger is pulling {{ states('sensor.carlojuice_amps') }} AMPs. This is above the safety mark of 30. Please unplug charger immediately."
|
||||
|
||||
- delay: 00:02:00
|
||||
@@ -140,13 +140,13 @@ automation:
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The Juice Box Charger is running very Hot. Temperature is around {{ states('sensor.carlojuice_temperature') }} degrees. This is above the safety mark of 140. Please unplug the car immediately."
|
||||
who: 'parents'
|
||||
apns_id: 'JuiceBox'
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The Juice Box Charger is running very Hot. Temperature is around {{ states('sensor.carlojuice_temperature') }} degrees. This is above the safety mark of 140. Please unplug the car immediately."
|
||||
|
||||
- delay: 00:02:00
|
||||
@@ -162,7 +162,7 @@ automation:
|
||||
action:
|
||||
- delay: '0{{ range(0,3) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"The #Chevy Bolt Charged for {{(states.sensor.carlojuice_charge_time.state | int /60) | round() }} minutes and Juiced up {{states.sensor.carlojuice_energy_added.state |int /1000}} KwHs.",
|
||||
|
@@ -58,7 +58,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Lightning Warning!'
|
||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Be careful if outdoors."
|
||||
ios_category: "LIGHTNING"
|
||||
@@ -66,7 +66,7 @@ automation:
|
||||
apns_id: 'Alert'
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Lightning has been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home. Please make sure everyone is inside the house."
|
||||
call_window_check: 1
|
||||
call_garage_check: 1
|
||||
@@ -75,7 +75,7 @@ automation:
|
||||
minutes: 20
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"{{ states('sensor.blitzortung_lightning_counter') }} lightning strike(s) have been detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our home.",
|
||||
|
@@ -32,11 +32,11 @@ automation:
|
||||
# - input_select.log_component
|
||||
action:
|
||||
- service: logger.set_level
|
||||
data_template:
|
||||
data:
|
||||
homeassistant.components: "{{ states.input_select.log_level.state }}"
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: "My logging level has just been set to {{ states.input_select.log_level.state }}"
|
||||
image: >-
|
||||
{{ [
|
||||
|
@@ -36,7 +36,7 @@ automation:
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.justin_go
|
||||
data_template:
|
||||
data:
|
||||
color_name: >
|
||||
{% if states.sensor.bear_stone.state|int == 1 %}
|
||||
gold
|
||||
@@ -48,7 +48,7 @@ automation:
|
||||
red
|
||||
{% endif %}
|
||||
|
||||
- service_template: >
|
||||
- service: >
|
||||
{% if states.sensor.bear_stone.state|int > 0 %}
|
||||
light.turn_on
|
||||
{% else %}
|
||||
|
@@ -41,7 +41,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"#Neato returning to base. Vacuumed up a TON. (https://amzn.to/2CKHZya)",
|
||||
@@ -77,7 +77,7 @@ automation:
|
||||
- wait_template: "{{ states.group.family.state == 'home' }}"
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{% set error = states.vacuum.carlo_neato.attributes['status'] %}
|
||||
{{ [
|
||||
@@ -91,7 +91,7 @@ automation:
|
||||
entity_id: vacuum.carlo_neato
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Help Neato'
|
||||
value1: "{{ states.vacuum.carlo_neato.attributes['status'] }}"
|
||||
who: 'family'
|
||||
|
@@ -54,21 +54,21 @@ automation:
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "An emergency has been detected on {{ trigger.to_state.attributes.friendly_name }} Please investigate IMMEDIATELY."
|
||||
who: "family"
|
||||
apns_id: '{{ trigger.to_state.attributes.friendly_name }}'
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: "An emergency has been detected on {{ trigger.to_state.attributes.friendly_name }} @CCostan (https://www.vcloudinfo.com/2017/06/psa-check-out-your-smoke-detectors-once.html)"
|
||||
|
||||
- service: script.emergency
|
||||
data_template:
|
||||
data:
|
||||
call_garage_open: 1
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ automation:
|
||||
action:
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
|
||||
who: "family"
|
||||
apns_id: '{{ trigger.to_state.attributes.friendly_name }}'
|
||||
|
@@ -148,11 +148,11 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: 'Offline Devices:'
|
||||
value3: "{{ states.sensor.network_detail.state }}"
|
||||
who: 'carlo'
|
||||
|
||||
# - service: script.speech_engine
|
||||
# data_template:
|
||||
# data:
|
||||
# value1: "The following Devices are in an Offline state {{ trigger.to_state.state }}"
|
||||
|
@@ -37,7 +37,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"Attention please. The Phyn unit has detected a possible leak. Please verify there are no leaks in the house. "
|
||||
@@ -45,7 +45,7 @@ automation:
|
||||
call_no_announcement: 1
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"The @Phyn has detected a {{ trigger.event.data.alert_type }} and notified us using Home Assistant. ",
|
||||
@@ -61,7 +61,7 @@ automation:
|
||||
{{ states.sun.sun.state == 'above_horizon' }}
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Phyn Leak Detection'
|
||||
value1: 'Phyn is sensing {{ trigger.event.data.alert_type }} and turned off the water. Please verify {{ trigger.event.data.where }}.'
|
||||
who: 'parents'
|
||||
@@ -77,17 +77,17 @@ automation:
|
||||
actionName: PHYN_WATER_ON
|
||||
action:
|
||||
- service: ifttt.trigger
|
||||
data_template: {"event":"phyn_water_on"}
|
||||
data: {"event":"phyn_water_on"}
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Phyn Leak Detection'
|
||||
value1: 'Request Recieved. Attempting to Turn the Water back on.'
|
||||
who: 'parents'
|
||||
apns_id: 'IFTTT_Phyn'
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: >
|
||||
{{ [
|
||||
"I have been asked to Turn the House Water back on. Please verify there are no leaks in the house. "
|
||||
|
@@ -15,7 +15,7 @@ automation:
|
||||
action:
|
||||
- delay: '00:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"I blocked {{states.sensor.pi_hole_ads_blocked_today.state}} ads. That is {{states.sensor.pi_hole_ads_percentage_blocked_today.state}}% of my internet traffic.",
|
||||
@@ -37,7 +37,7 @@ automation:
|
||||
action:
|
||||
- delay: '0{{ (range(1, 5)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"There are currently {{states.sensor.pi_hole_dns_unique_clients.state}} clients on my network.",
|
||||
|
@@ -26,7 +26,7 @@ automation:
|
||||
value_template: "{{ states('binary_sensor.grid_status') == 'off' }}"
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: "Electrical Grid Status {{ (trigger.to_state.state)|replace('on', 'up')|replace('off', 'down') }}."
|
||||
value1: "Please verify with the Tesla App."
|
||||
who: 'parents'
|
||||
@@ -48,7 +48,7 @@ automation:
|
||||
- group.interior_lights
|
||||
- group.exterior_lights
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: "Electrical Grid Status {{ (trigger.to_state.state)|replace('True', 'up')|replace('False', 'down') }}."
|
||||
value1: "Taking actions to turning off the House Lights to preserve Battery Power."
|
||||
who: 'family'
|
||||
@@ -62,7 +62,7 @@ automation:
|
||||
- group.exterior_lights
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Because of the Power Outage, the Lights will be recycled for 3 minutes. Lights may turn on and off during this time."
|
||||
|
||||
- delay:
|
||||
@@ -73,7 +73,7 @@ automation:
|
||||
- group.exterior_lights
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: "Automatic light recycling has been completed. Any abnormalities will have to be addressed in the Hue App most likely. "
|
||||
|
||||
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/547
|
||||
@@ -100,7 +100,7 @@ automation:
|
||||
- climate.upstairs
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: "Electrical Grid Status {{ (trigger.to_state.state)|replace('True', 'up')|replace('False', 'down') }}."
|
||||
value1: "Taking actions to turning off the AC units to preserve Battery Power."
|
||||
who: 'family'
|
||||
@@ -144,7 +144,7 @@ automation:
|
||||
preset_mode: eco
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: "Electrical Grid Status {{ (trigger.to_state.state)|replace('True', 'up')|replace('False', 'down') }}."
|
||||
value1: "All AC systems are set back to normal operations."
|
||||
who: 'family'
|
||||
|
@@ -31,7 +31,7 @@ automation:
|
||||
above: 80
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: 'Hard Drive Monitor:'
|
||||
value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
value3: 'Attempting to clean'
|
||||
@@ -46,7 +46,7 @@ automation:
|
||||
above: 90
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: 'Hard Drive Monitor:'
|
||||
value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
who: 'carlo'
|
||||
|
@@ -28,13 +28,13 @@ automation:
|
||||
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data_template:
|
||||
data:
|
||||
payload: '{{ states("sensor.date") }}'
|
||||
topic: 'ifttt/rachio/watering_time'
|
||||
retain: true
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"Just finished watering the lawn with @_Rachio.",
|
||||
|
@@ -41,11 +41,11 @@ input_boolean:
|
||||
# - service: media_player.volume_set
|
||||
# entity_id:
|
||||
# - media_player.livingroomCC
|
||||
# data_template:
|
||||
# data:
|
||||
# volume_level: 0.2
|
||||
#
|
||||
# - service: media_player.play_media
|
||||
# data_template:
|
||||
# data:
|
||||
# entity_id:
|
||||
# - media_player.LivingRoomCC
|
||||
# media_content_id: "http://listen.181fm.com/181-kickincountry_128k.mp3"
|
||||
|
@@ -52,7 +52,7 @@ automation:
|
||||
command: find_remote
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Living Room Remote'
|
||||
value1: 'Find Remote'
|
||||
ios_category: "REMOTELR"
|
||||
@@ -74,7 +74,7 @@ automation:
|
||||
entity_id: input_boolean.living_room_remote_finder
|
||||
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
title: 'Living Room Remote'
|
||||
value1: 'Remote has been found.'
|
||||
who: "family"
|
||||
|
@@ -92,5 +92,5 @@ automation:
|
||||
#Turn it back on!
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
data_template:
|
||||
data:
|
||||
entity_id: "{{ trigger.entity_id }}"
|
||||
|
@@ -43,12 +43,12 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: 'Go Outside! There is a Rocket Launch very soon! {{states.sensor.next_launch.attributes.stream }}'
|
||||
apns_id: 'information'
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
{{ [
|
||||
"There is a Rocket launch happening right now! I can see it if I look closely. {{states.sensor.next_launch.attributes.stream }}",
|
||||
@@ -70,7 +70,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
{{ [
|
||||
"The ISS is above me right now!",
|
||||
@@ -96,7 +96,7 @@ automation:
|
||||
action:
|
||||
- delay: '0{{ (range(1, 5)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
{{ [
|
||||
"There is a Full Moon out tonight!",
|
||||
|
@@ -31,7 +31,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
data:
|
||||
value1: 'Travis validation testing failed.'
|
||||
who: 'carlo'
|
||||
apns: 'information'
|
||||
|
@@ -38,7 +38,7 @@ automation:
|
||||
- media_player.livingroomCC
|
||||
- media_player.entry_alarm_panel
|
||||
- media_player.bedroom_alarm_panel
|
||||
data_template:
|
||||
data:
|
||||
message: >
|
||||
<speak>
|
||||
{{states.sensor.last_message.state}}
|
||||
|
@@ -47,7 +47,7 @@ automation:
|
||||
- media_player.livingroomCC
|
||||
- media_player.entry_alarm_panel
|
||||
- media_player.bedroom_alarm_panel
|
||||
data_template:
|
||||
data:
|
||||
media_content_id: >
|
||||
"https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/speechcons/self_destruct.mp3"
|
||||
media_content_type: audio/mp4
|
||||
|
@@ -35,7 +35,7 @@ automation:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.sleepy_dog
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
data:
|
||||
call_no_announcement: 1
|
||||
value1: >
|
||||
{{ [
|
||||
|
@@ -189,7 +189,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: media_player.play_media
|
||||
data_template:
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.livingroomCC
|
||||
- media_player.bedroom_alarm_panel
|
||||
@@ -207,7 +207,7 @@ automation:
|
||||
|
||||
action:
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >-
|
||||
{% set repo = trigger.event.data.repo %}
|
||||
{% set issue = trigger.event.data.issue %}
|
||||
@@ -253,7 +253,7 @@ automation:
|
||||
action:
|
||||
- delay: '0{{ range(0,2) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}'
|
||||
- service: script.tweet_engine_random
|
||||
data_template:
|
||||
data:
|
||||
pick: >-
|
||||
{% set pick = [
|
||||
"solar",
|
||||
@@ -293,7 +293,7 @@ automation:
|
||||
action:
|
||||
- delay: '0{{ range(0,2) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}'
|
||||
- service: script.tweet_youtube_engine_setup
|
||||
data_template:
|
||||
data:
|
||||
pick: !include ../templates/speech/youtube_picker.yaml
|
||||
|
||||
- alias: 'Random YouTube Videos CCostan'
|
||||
@@ -320,6 +320,6 @@ automation:
|
||||
# {%- endif -%}
|
||||
action:
|
||||
- service: script.tweet_youtube_engine_setup
|
||||
data_template:
|
||||
data:
|
||||
who: 'ccostan'
|
||||
pick: !include ../templates/speech/youtube_picker.yaml
|
||||
|
@@ -31,7 +31,7 @@ automation:
|
||||
- delay: '00:10:00'
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"New Video! {{ states('sensor.vcloudinfo') }} - {{ state_attr('sensor.vcloudinfo','url') }} "
|
||||
@@ -41,7 +41,7 @@ automation:
|
||||
- delay: '00:10:00'
|
||||
|
||||
- service: script.tweet_engine_no_image
|
||||
data_template:
|
||||
data:
|
||||
tweet: >
|
||||
{{ [
|
||||
"New Video! {{ states('sensor.vcloudinfo') }} - {{ state_attr('sensor.vcloudinfo','url') }} "
|
||||
|
Reference in New Issue
Block a user