mirror of
https://github.com/esphome/esphome.git
synced 2026-09-03 19:46:02 +00:00
[esphome.ota] Drop narrative comment from multi-port validator
This commit is contained in:
@@ -78,12 +78,6 @@ def ota_esphome_final_validate(config):
|
||||
else:
|
||||
new_ota_conf.append(ota_conf)
|
||||
|
||||
# BREAKING CHANGE: Only a single ESPHome OTA instance is supported. Historically
|
||||
# the config layer merged multiple configs by port to accommodate users who had a
|
||||
# local 'ota:' block and then imported a remote package that also declared one —
|
||||
# the merge kept their build working. That merge behavior is preserved. But two
|
||||
# ESPHome OTA instances on *different* ports is not a real-world use case and
|
||||
# creates ambiguity for listeners, socket wake hooks, and safe_mode coordination.
|
||||
if len(merged_ota_esphome_configs_by_port) > 1:
|
||||
raise cv.Invalid(
|
||||
f"Only a single '{CONF_OTA}' '{CONF_PLATFORM}: {CONF_ESPHOME}' instance is "
|
||||
|
||||
Reference in New Issue
Block a user