From c936113c7ec7225f7ae1d4311de8d2ba03167e23 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Mon, 7 Oct 2019 20:29:29 -0400 Subject: [PATCH] General events date to monitor --- packages/events.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 packages/events.yaml diff --git a/packages/events.yaml b/packages/events.yaml new file mode 100755 index 0000000..2a630b8 --- /dev/null +++ b/packages/events.yaml @@ -0,0 +1,44 @@ +############################################################################### +# @author : Jeffrey Stone +# @date : 02/19/2019 +# @package : Events +# @description : Special Events. +############################################################################### +automation: + - id: refresh_special_event_sensors + alias: Refresh special event sensors + initial_state: true + trigger: + - platform: time + at: '00:00:01' + - platform: homeassistant + event: start + action: + - service: python_script.special_events + data: + name: Skylar + type: birthday + date: !secret skylar_bday + - service: python_script.special_events + data: + name: Jeff + type: birthday + date: !secret jeff_bday + - service: python_script.special_events + data: + name: Kat + type: birthday + date: !secret kat_bday + - service: python_script.special_events + data: + name: Our wedding + type: anniversary + date: !secret wed_anniversary + - service: python_script.special_events + data: + name: Disney + type: trip + date: !secret disney_trip + + +