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)}}."
value1:"It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')}} outside. I will turn on some extra lights in the living room."
"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!'
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."
"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.",
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')}}"
- 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!",
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.",
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.",
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."
- 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.",
- 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 }}'