@coroutine
def async_setup_scanner(hass, config, async_see, discovery_info=None):
    bind = (config[CONF_HOST], config[CONF_PORT])
    _LOGGER.info('Listening on %s:%s', bind[0], bind[1])
    proto = (lambda : SyslogScannerUDP(hass, async_see, config[CONF_DEVICES]))
    listen = hass.loop.create_datagram_endpoint(proto, local_addr=bind)
    hass.async_add_job(listen)
    return True
@coroutine
def async_setup_scanner(hass, config, async_see, discovery_info=None):
    bind = (config[CONF_HOST], config[CONF_PORT])
    _LOGGER.info('Listening on %s:%s', bind[0], bind[1])
    proto = (lambda : SyslogScannerUDP(hass, async_see, config[CONF_DEVICES]))
    listen = hass.loop.create_datagram_endpoint(proto, local_addr=bind)
    hass.async_add_job(listen)
    return True