More #426 Updates

This commit is contained in:
ccostan 2020-02-15 16:22:42 -05:00
parent 18dd10bb00
commit 182bcfd91a
9 changed files with 27 additions and 54 deletions

View File

@ -13,6 +13,12 @@
- platform: state
entity_id: input_boolean.good_night
to: 'on'
- platform: event
#Sent from IFTTT Webhooks : {"action":"IFTTT_Away:}
event_type: ifttt_webhook_received
event_data:
action: IFTTT_Away
condition:
- condition: state

View File

@ -7,8 +7,6 @@
entity_id: input_boolean.flash
to: 'on'
from: 'off'
- platform: event
event_type: flash_all
action:
- service: light.turn_on
@ -26,7 +24,10 @@
to: 'on'
from: 'off'
- platform: event
event_type: flash_timer
#Sent from IFTTT Webhooks : {"action":"Flash_Timer:}
event_type: ifttt_webhook_received
event_data:
action: Flash_Timer
action:
- service: light.turn_on

View File

@ -2,17 +2,19 @@
## IFTTT checks Office 365 Calendar and Notifies me of appointments. Flash lights but only at reasonable hours.
###################################
- alias: 'IFTTT Appointment reminder'
trigger:
- platform: event
event_type: IFTTT_Appointment
#Sent from IFTTT Webhooks : {"action":"IFTTT_Appointment:}
event_type: ifttt_webhook_received
event_data:
action: IFTTT_Appointment
condition:
- condition: time
after: '06:00:00'
after: '08:00:00'
before: '20:00:00'
action:
- service: script.flash_notify

View File

@ -1,37 +0,0 @@
###################################
## LOG IFTTT Stuff - Rachio
###################################
- alias: 'Log Sprinkler Activity'
trigger:
- platform: event
event_type: rachio_water_stops
action:
- service: logbook.log
data:
name: "Rachio Sprinkler:"
message: "The Lawn was watered just now."
- service: mqtt.publish
data_template:
payload: '{{ states("sensor.date") }}'
topic: 'ifttt/rachio/watering_time'
retain: true
- service: script.tweet_engine_image
data_template:
tweet: >
{{ [
"Just finished watering the lawn with @_Rachio.",
"The lawn looked thirsty so I watered it.",
"My lawn looks great and we definately do not water it nearly as much as everyone else. (http://amzn.to/2eoPKBW)",
"No rain in the forecast? @_Rachio knows & chose to water the lawn.",
".@CCostan does not even think about watering the lawn. Me and @_Rachio take care of that."
] | random + " #SavingWater"}}
image: >-
{{ [
"/config/www/custom_ui/floorplan/images/branding/sprinkler.png",
"/config/www/custom_ui/floorplan/images/branding/sprinkler2.png",
"/config/www/custom_ui/floorplan/images/branding/sprinkler3.png"
] | random }}

View File

@ -37,10 +37,13 @@ automation:
## LOG IFTTT Stuff - Rachio
###################################
- alias: 'Log Sprinkler Activity'
trigger:
- platform: event
event_type: rachio_water_stops
#Sent from IFTTT Webhooks : {"action":"IFTTT_Rachio", "water_time":" {{DurationInMinutes}}"}
event_type: ifttt_webhook_received
event_data:
action: IFTTT_Rachio
action:
- service: logbook.log

View File

@ -5,6 +5,6 @@
## TPink compatible Devices - https://www.vcloudinfo.com/2018/12/how-to-waterproof-your-outdoor-smart.html
###################################
tplink:
discovery: true
# discovery: false
switch:
- host: 192.168.10.116

View File

@ -170,7 +170,7 @@ automation:
event_type: ifttt_webhook_received
event_data:
action: new_follower
condition:
- condition: state
entity_id: group.bed
@ -187,11 +187,11 @@ automation:
- alias: 'Closed Github Issue'
trigger:
platform: event
#Sent from IFTTT Webhooks : {"action":"closed_github", "repo":" {{RepositoryName}}", "issue":" {{IssueTitle}}","issueurl":" {{IssueURL}}"}
event_type: ifttt_webhook_received
event_data:
action: closed_github
action:
- service: script.tweet_engine_image
data_template:
@ -218,7 +218,6 @@ automation:
{{ pictures|random }}
- alias: 'Random House stats'
trigger:
- platform: time_pattern
hours: '/2'
@ -253,7 +252,6 @@ automation:
{{ pick|random }}
- alias: 'Random YouTube Videos BearStone'
trigger:
- platform: time_pattern
hours: '/7'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 70 KiB