Trying to improve reliability to lightning detection and cleaning up yaml
This commit is contained in:
parent
6048d5f7bc
commit
f4e8a135f9
|
@ -8,7 +8,6 @@ automation:
|
|||
# Using the HACS Daily Snapshot Clean Up Plugin
|
||||
- id: daily_snapshot_clean_up
|
||||
alias: Daily snapshot clean up
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '03:00:00'
|
||||
|
@ -18,7 +17,6 @@ automation:
|
|||
# Morning 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: '04:30:00'
|
||||
|
@ -31,18 +29,26 @@ automation:
|
|||
# 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
|
||||
|
||||
# Store Lightning count
|
||||
- id: refresh_total_lightning_count
|
||||
alias: Refresh Total Lightning Count
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
minutes: /30
|
||||
action:
|
||||
- service: script.store_lightning_count
|
||||
|
||||
|
||||
# startup auotmations to update some custom sensors due to new order of home assistant firing up
|
||||
- id: startup_automations
|
||||
alias: startup_automations
|
||||
initial_state: 'on'
|
||||
trigger:
|
||||
platform: homeassistant
|
||||
event: start
|
||||
|
|
Loading…
Reference in New Issue