Moving datetime inputs to associated package

This commit is contained in:
Jeffrey Stone 2019-07-17 22:05:05 -04:00
parent 14ac4c5b05
commit a225ffe57b
3 changed files with 36 additions and 67 deletions

View File

@ -6,22 +6,6 @@ only_date:
name: Input with only date name: Input with only date
has_date: true has_date: true
has_time: false has_time: false
morning_report:
name: Morning Report
has_date: false
has_time: true
nightly_report:
name: Nightly Report
has_date: false
has_time: true
skylar_morning_report:
name: Skylar Dressed Announcement
has_date: false
has_time: true
skylar_nightly_report:
name: Skylar Bedtime Announcement
has_date: false
has_time: true
outisde_light_delay: outisde_light_delay:
name: Outside Light Delay name: Outside Light Delay
has_date: false has_date: false
@ -30,16 +14,9 @@ announcement_delay:
name: Announcement Delay name: Announcement Delay
has_date: false has_date: false
has_time: true has_time: true
kat_pill_reminder:
name: Kat Pill Reminder
has_date: false
has_time: true
coffee_time: coffee_time:
name: Coffee Time name: Coffee Time
has_date: false has_date: false
has_time: true has_time: true
heartworm_reminder:
name: Heartworm Reminder
has_date: true
has_time: false

View File

@ -2,52 +2,34 @@
# @author : Jeffrey Stone # @author : Jeffrey Stone
# @date : 02/19/2019 # @date : 02/19/2019
# @package : Announcements # @package : Announcements
# @description : Just Normal Announcements. # @description : Daily Announcements.
############################################################################### ###############################################################################
#script:
# annc_storm_statement:
# sequence:
# - condition: state
# entity_id: input_boolean.vacation_mode
# state: 'off'
# - service: script.text_notify
# data:
# message: Severe Storm Statement Issued for Anchorage House
# annc_tstorm_watch:
# sequence:
# - condition: state
# entity_id: input_boolean.vacation_mode
# state: 'off'
# - service: script.text_notify
# data:
# message: Severe Thunderstorm Watch Issued for Anchorage House
# annc_tstorm_warning:
# sequence:
# - condition: state
# entity_id: input_boolean.vacation_mode
# state: 'off'
# - service: script.text_notify
# data:
# message: Severe Thunderstorm Warning Issued for Anchorage House
# annc_tornado_watch:
# sequence:
# - condition: state
# entity_id: input_boolean.vacation_mode
# state: 'off'
# - service: script.text_notify
# data:
# message: Tornado Watch Issued for Anchorage House
# annc_tornado_warning:
# sequence:
# - condition: state
# entity_id: sensor.family_status
# state: Home
# - service: script.alert_notify
# data_template:
# message: "Tornado Warning has been Issued"
###############################
# input_datetime - So the time report automation fires can be set in the UI
###############################
input_datetime:
morning_report:
name: Morning Report
has_date: false
has_time: true
nightly_report:
name: Nightly Report
has_date: false
has_time: true
skylar_morning_report:
name: Skylar Dressed Announcement
has_date: false
has_time: true
skylar_nightly_report:
name: Skylar Bedtime Announcement
has_date: false
has_time: true
################################
# Announcment Automation - fires at the time of the above input_datetimes
################################
automation: automation:
- id: prebed_routine - id: prebed_routine
initial_state: true initial_state: true

View File

@ -5,6 +5,16 @@
# @description : Autoamtions to set 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: automation:
# Massive automation to call all the reminder scripts. # Massive automation to call all the reminder scripts.