I would like to test the connectivity from my network to an always-on external IP (8.8.8.8 or 1.1.1.1). For that I added to configuration.yaml the following snippet:
I wanted to add it to my Lovelace UI in order to get a history of pings. Ideally I would like to graph round_trip_time_avg but even a hit-or-miss graph would be fine:
You’d need a template sensor as suggested above, but you’ll also need to make sure that any sensor is included in your recorder config, if you are using the include option (it doesn’t seem like your ping sensor is and that’s why you get that message).
See the documentation here: