mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:47:51 +01:00
Cast port to int for ota pushing (#7888)
This commit is contained in:
parent
f042c6e643
commit
982ce1db72
@ -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…
Reference in New Issue
Block a user