Remove spurious Zeroconf instance from api client (#3143)

This commit is contained in:
Otto Winter 2022-02-09 14:57:00 +01:00 committed by GitHub
parent 35e6a13cd1
commit 2622e59b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,6 @@ async def async_run_logs(config, address):
if CONF_ENCRYPTION in conf: if CONF_ENCRYPTION in conf:
noise_psk = conf[CONF_ENCRYPTION][CONF_KEY] noise_psk = conf[CONF_ENCRYPTION][CONF_KEY]
_LOGGER.info("Starting log output from %s using esphome API", address) _LOGGER.info("Starting log output from %s using esphome API", address)
zc = zeroconf.Zeroconf()
cli = APIClient( cli = APIClient(
address, address,
port, port,