Device_tracker ping on windows not working? (SOLVED)

hello. use Home Assistant 0.74.1 on windows 10.

device_tracker:

  • platform: ping
    count: 2
    interval_seconds: 10
    hosts:
    lgtv: 192.168.0.1

from debug:

2018-07-26 15:12:00 DEBUG (SyncWorker_10) [homeassistant.components.device_tracker.ping] No response from 192.168.0.1 failed=2

from windows cmd:

Pinging 192.168.0.1 with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64

pls help me anyone ? thx

anyone? simple component not work?

OMG! Resolved IT!

in ping.py

if sys.platform == ‘win32’:
self._ping_cmd = [‘ping’, ‘-n 1’, ‘-w’, ‘1000’, self.ip_address]

changed on:
if sys.platform == ‘win32’:
self._ping_cmd = [‘ping’, ‘-n’,‘1’, ‘-w’, ‘1000’, self.ip_address]

and all working! thx