Fixing bug with new today is sensor not updating as expected

This commit is contained in:
Jeffrey Stone 2020-04-10 13:38:28 -04:00
parent e0b2aae233
commit c933e1b566
1 changed files with 12 additions and 12 deletions

View File

@ -5,17 +5,6 @@
# @description : Maint Automation that occurs every day # @description : Maint Automation that occurs every day
############################################################################### ###############################################################################
automation: automation:
# # Reset Daily Weather Alerts at 3am -> Replaced with better solution in weather_alerts_nws.yaml
# - id: reset_weather_alerts
# alias: Reset Weather Alerts
# initial_state: true
# trigger:
# - platform: time
# at: '03:00:01'
# action:
# - service: input_boolean.turn_off
# entity_id: input_boolean.freeze_warning
# Using the HACS Daily Snapshot Clean Up Plugin # Using the HACS Daily Snapshot Clean Up Plugin
- id: daily_snapshot_clean_up - id: daily_snapshot_clean_up
alias: Daily snapshot clean up alias: Daily snapshot clean up
@ -27,5 +16,16 @@ automation:
action: action:
- service: clean_up_snapshots_service.clean_up - service: clean_up_snapshots_service.clean_up
# Nightly Entity Refresh - For all those sensors that need a little push
- id: daily_entity_refresh
alias: Daily Entity Refresh
initial_state: 'on'
trigger:
- platform: time
at: '00:01:45'
condition:
action:
- service: homeassistant.update_entity
entity_id: sensor.today_is