Home-AssistantConfig/config/automation/ifttt_calendar.yaml.disabled

23 lines
705 B
Plaintext
Raw Normal View History

2018-01-02 00:00:45 +00:00
###################################
## IFTTT checks Office 365 Calendar and Notifies me of appointments. Flash lights but only at reasonable hours.
2020-09-26 17:15:36 +00:00
## Will have to figure out a new way to query O365 Calendar items. Possibly use MS Flow for this and HA webhooks.
2018-01-02 00:00:45 +00:00
###################################
- alias: 'IFTTT Appointment reminder'
2020-07-20 18:33:03 +00:00
id: 271d2fa0-4dfa-4af2-90de-3f61ff94a420
2020-02-15 21:22:42 +00:00
2018-01-02 00:00:45 +00:00
trigger:
- platform: event
2020-02-15 21:22:42 +00:00
#Sent from IFTTT Webhooks : {"action":"IFTTT_Appointment:}
event_type: ifttt_webhook_received
event_data:
action: IFTTT_Appointment
2018-01-02 00:00:45 +00:00
condition:
- condition: time
2020-02-15 21:22:42 +00:00
after: '08:00:00'
2018-01-02 00:00:45 +00:00
before: '20:00:00'
2020-02-15 21:22:42 +00:00
2018-01-02 00:00:45 +00:00
action:
- service: script.flash_notify