Here is one choice. Ping + Arp custom_component device tracker - Configuration - Home Assistant Community