mirror of
https://github.com/esphome/esphome.git
synced 2025-04-26 00:27:19 +00:00
Update esphome/components/api/client.py
This commit is contained in:
parent
4c894270db
commit
726c2051e7
@ -21,7 +21,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
async def async_run_logs(config: dict[str, Any], address: str) -> None:
|
async def async_run_logs(config: dict[str, Any], address: str) -> None:
|
||||||
"""Run the logs command in the event loop."""
|
"""Run the logs command in the event loop."""
|
||||||
conf = config["api"]
|
conf = config["api"]
|
||||||
name = config["esphome"].get("name")
|
name = config["esphome"]["name"]
|
||||||
port: int = int(conf[CONF_PORT])
|
port: int = int(conf[CONF_PORT])
|
||||||
password: str = conf[CONF_PASSWORD]
|
password: str = conf[CONF_PASSWORD]
|
||||||
noise_psk: str | None = None
|
noise_psk: str | None = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user