Cast port to int for ota pushing (#7888)

This commit is contained in:
Jesse Hills 2024-12-02 05:10:18 +13:00 committed by GitHub
parent 8f69d07061
commit 83d6834e27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -363,7 +363,7 @@ def upload_program(config, args, host):
from esphome import espota2
remote_port = ota_conf[CONF_PORT]
remote_port = int(ota_conf[CONF_PORT])
password = ota_conf.get(CONF_PASSWORD, "")
if (