mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
a27f5127d8f2b5c4e3c597e26d01faa430994f77
Add a `force` proto field option that generates `_force` variants of calc_ and encode methods, skipping the zero/empty check. Applied to BluetoothLERawAdvertisement fields that are almost always non-default (address, rssi, data) to eliminate dead branches on the BLE proxy hot path. On-device benchmarks show calculate_size improved from 12,649 ns to 10,982 ns per 12-advertisement batch (-13.2%) with only +8 bytes flash. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
591 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
