示例#1
0
 def discovery_zeroconf(
         timeout: int = DEFAULT_TIMEOUT) -> List[ZeroconfDevice]:
     """Discover Vizio devices on network using zeroconf."""
     results = discover_zc("_viziocast._tcp.local.", timeout=timeout)
     _LOGGER.info(results)
     return results
示例#2
0
 def discovery_zeroconf(timeout: int = DEFAULT_TIMEOUT) -> List[ZeroconfDevice]:
     results = discover_zc("_viziocast._tcp.local.", timeout=timeout)
     _LOGGER.info(results)
     return results