Jeffrey Stone e02d084c92 Updated to V5 Version - Hassio Style
Lots of updates here.

Updated my Readme - Added Affiliate Links, added some more information, better organized devices
Updated gitignore with paths realtive to my hassio config
Combined my switches and lights into single yaml files instead of the directory structure previously
Added zigbee2mqtt.yaml to packages - contains automations and such for zigbee2mqtt

Archived my previous version in the V4-config branch.
2019-11-08 12:54:11 -05:00

40 lines
1.1 KiB
YAML
Executable File

###############################################################################
# @author : Jeffrey Stone
# @date : 07/15/2019
# @package : Reminders
# @description : Autoamtions to set reminders
###############################################################################
input_datetime:
kat_pill_reminder:
name: Kat Pill Reminder
has_date: false
has_time: true
heartworm_reminder:
name: Heartworm Reminder
has_date: true
has_time: false
automation:
# Massive automation to call all the reminder scripts.
- id: turn_reminders_on
alias: Turn Reminders On
initial_state: true
trigger:
- entity_id: calendar.reminders
from: 'off'
platform: state
to: 'on'
action:
- service: script.heartworm_on
script:
# Check to see if heartworm is the reminder in the cal
heartworm_on:
sequence:
- condition: template
value_template: '{{ states.calendar.reminders.attributes.message == "Heartworm" }}'
- service: input_boolean.turn_on
entity_id: input_boolean.heartworm