My modem/router is pretty slow to recover after a power outage. I created an quick and dirty automation that uses the ping integration to see if it can reach cloudflare. When the network comes back up, reload the core.
It strikes me as akin to doing surgery with a splitting maul but I don’t see any harm. Internet hiccup? Just reload it all.
alias: Reload on Wan Up
description: ""
triggers:
- trigger: state
entity_id:
- binary_sensor.wan
from: "off"
to: "on"
conditions: []
actions:
- action: homeassistant.reload_all
data: {}
mode: single
Sure, it’ll fire on every internet hiccup but I don’t see the harm. Am I missing something obvious?