Config checks out OK, no error.
Have restarted Home Assistant several times now and still can’t see any new entry at the top of states section of the web UI.
No errors whatsoever; ping XX.X.X.XX is OK.
And apparently known_devices.yml supposedly created by Home Assistant when device_tracker is enabled but I couldn’t see any known_devices.yml created.
Do you notice anything wrong with the above codes or Windows platform does not support device_tracker via ping?
For the life of me, I can’t figure out is it me or is it the Windows limitation.
Use a template for that, I just use it to determine if my router goes offline and if it does I use an RF switch to power it off for 10s and then back on.
I ended up moving to an Ubuntu VM so I can’t help you any further on this however another idea that could be useful to you is the following if you want to stick to Windows:
If using Android phones download Tasker and when you attach to the home WiFi just publish to a MQTT topic and use that as your presence detection.