1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 14:18:14 +00:00

improve error message

This commit is contained in:
J. Nick Koston 2025-02-23 18:35:44 -05:00
parent a15715e646
commit de3a4727e6
No known key found for this signature in database

View File

@ -207,7 +207,7 @@ def validate_remaining_connections(config):
raise cv.Invalid(
f"Exceeded `{CONF_MAX_CONNECTIONS}`: "
f"Components attempted to consume {used_slots} slot(s) out of available "
f"configured maximum {config[CONF_MAX_CONNECTIONS]} connection slots; "
f"configured maximum {config[CONF_MAX_CONNECTIONS]} connection slot(s); "
f"Decrease the number of BLE clients or increase "
f"`{CONF_MAX_CONNECTIONS}` to {used_slots}."
)