mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +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
546 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
