mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
0f10a13631700dace1473fd20b82388c2933fa2a
When MAC suffix is not used, pre_setup takes const char* parameters so string literals stay in flash. When MAC suffix is used, it takes mutable char* for the static buffers that get overwritten with the actual MAC address. This avoids const_cast entirely. Also adds ESPHOME_NAME_ADD_MAC_SUFFIX define for static analysis.
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
614 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
