mirror of
https://github.com/esphome/esphome.git
synced 2026-09-01 10:36:01 +00:00
cfcf9216f3e53bd2aeae6a9291b7670bc75687b6
Add cv.ByteLength() validator that checks UTF-8 byte length instead of character count. This ensures multibyte characters don't cause the encoded string to exceed the proto max_data_length limit. Switch all length validators that feed into proto fields with max_data_length annotations to use byte length: - Entity names, friendly names, area names, device names - Icons, device classes, units of measurement - Board names, project name/version
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
587 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
