Manually trigger ping for more accurate presence detection

This might be a bit of a special case, but just in case others would like this too: I think it would be nice to have a way to manually ask for a host to get pinged (on top of the standard poll loop).

Context: I use the ping integration for presence detection. When I get home, it naturally can take as long as the poll period to detect that I’m back. However, we also have a Nest camera that triggers motion detected events (etc.). If I could manually trigger pings, I could set it up so that camera events trigger a couple extra pings to reduce the latency between “I’m home” and “hass knows I’m home”.

You can automate this with the homeassistant.update_entity service. Trigger on your camera and use the service to update your ping sensor.

Perfect, thank you @tom_l!

This sounds like exactly what I’m looking for.