mirror of
https://github.com/esphome/esphome.git
synced 2026-03-27 02:31:54 +08:00
6c95f2e706e87fd64667de1791267229dcea2d44
When Pvariable types contain template arguments with :: (e.g. Automation<std::optional<bool>>), the namespace extraction logic incorrectly split on :: inside the template params, producing invalid C++ identifiers like Automation<std__automation_id__pstorage. Fix by stripping template arguments before extracting the namespace. Extract the logic into a testable _extract_component_ns helper.
…
…
…
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
623 MiB
Languages
C++
63.3%
Python
36.3%
C
0.3%
