mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 20:10:55 +00:00
Cast port to int for ota pushing (#7888)
This commit is contained in:
parent
8f69d07061
commit
83d6834e27
@ -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 (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user