mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix aioesphomeapi API logger with explicit api.port in the YAML. (#2310)
This commit is contained in:
		| @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) | ||||
|  | ||||
| async def async_run_logs(config, address): | ||||
|     conf = config["api"] | ||||
|     port: int = conf[CONF_PORT] | ||||
|     port: int = int(conf[CONF_PORT]) | ||||
|     password: str = conf[CONF_PASSWORD] | ||||
|     noise_psk: Optional[str] = None | ||||
|     if CONF_ENCRYPTION in conf: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user