2019-11-10 00:11:03 +00:00
|
|
|
###############################################################################
|
|
|
|
# @author : Jeffrey Stone
|
|
|
|
# @date : 02/19/2019
|
|
|
|
# @package : Daily
|
|
|
|
# @description : Maint Automation that occurs every day
|
|
|
|
###############################################################################
|
|
|
|
automation:
|
2019-11-16 02:41:10 +00:00
|
|
|
# Using the HACS Daily Snapshot Clean Up Plugin
|
|
|
|
- id: daily_snapshot_clean_up
|
|
|
|
alias: Daily snapshot clean up
|
|
|
|
initial_state: 'on'
|
|
|
|
trigger:
|
2019-11-10 00:11:03 +00:00
|
|
|
- platform: time
|
2019-11-16 02:41:10 +00:00
|
|
|
at: '03:00:00'
|
2019-11-10 00:11:03 +00:00
|
|
|
action:
|
2019-11-16 02:41:10 +00:00
|
|
|
- service: clean_up_snapshots_service.clean_up
|
|
|
|
|
2020-06-07 23:32:41 +00:00
|
|
|
# Morning Entity Refresh - For all those sensors that need a little push
|
2020-04-10 17:38:28 +00:00
|
|
|
- id: daily_entity_refresh
|
|
|
|
alias: Daily Entity Refresh
|
|
|
|
initial_state: 'on'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
2020-04-14 02:17:05 +00:00
|
|
|
at: '04:30:00'
|
2020-04-10 17:38:28 +00:00
|
|
|
action:
|
|
|
|
- service: homeassistant.update_entity
|
|
|
|
entity_id: sensor.today_is
|
2020-04-14 02:17:05 +00:00
|
|
|
- service: homeassistant.update_entity
|
|
|
|
entity_id: sensor.holiday
|
2020-06-07 23:32:41 +00:00
|
|
|
|
|
|
|
# Nightly Entity Refresh - For all those sensors that need a little push
|
|
|
|
- id: daily_entity_refresh2
|
|
|
|
alias: Daily Entity Refresh2
|
|
|
|
initial_state: 'on'
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
at: '17:00:00'
|
|
|
|
action:
|
|
|
|
- service: homeassistant.update_entity
|
|
|
|
entity_id: sensor.school_tomorrow
|
|
|
|
|
2019-11-10 00:11:03 +00:00
|
|
|
|