mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
Fix aioesphomeapi API logger with explicit api.port in the YAML. (#2310)
This commit is contained in:
parent
2d79d21c50
commit
efae363739
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
async def async_run_logs(config, address):
|
async def async_run_logs(config, address):
|
||||||
conf = config["api"]
|
conf = config["api"]
|
||||||
port: int = conf[CONF_PORT]
|
port: int = int(conf[CONF_PORT])
|
||||||
password: str = conf[CONF_PASSWORD]
|
password: str = conf[CONF_PASSWORD]
|
||||||
noise_psk: Optional[str] = None
|
noise_psk: Optional[str] = None
|
||||||
if CONF_ENCRYPTION in conf:
|
if CONF_ENCRYPTION in conf:
|
||||||
|
|
Loading…
Reference in a new issue