mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-09-14 23:55:18 +00:00
More #426 Updates
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
||||
|
@@ -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 }}
|
Reference in New Issue
Block a user