diff --git a/esphome/components/api/api.proto b/esphome/components/api/api.proto index 9b62f8e758..afb66ebb13 100644 --- a/esphome/components/api/api.proto +++ b/esphome/components/api/api.proto @@ -308,6 +308,9 @@ enum EntityCategory { ENTITY_CATEGORY_DIAGNOSTIC = 2; } +// Entity name/object_id max_data_length = 120 matches NAME_MAX_LENGTH +// in esphome/config_validation.py (validated at config time). + // ==================== BINARY SENSOR ==================== message ListEntitiesBinarySensorResponse { option (id) = 12;