Cast port to int for ota pushing (#7888)

This commit is contained in:
Jesse Hills 2024-12-02 05:10:18 +13:00
parent f042c6e643
commit 982ce1db72
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

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