mirror of
https://github.com/esphome/esphome.git
synced 2026-02-25 12:55:30 -07:00
eb83c85a087b19fe8e35e12b090bea8469e01d9c
Add a ci-custom.py check that prevents powf() from being introduced into esphome/core/ and base entity platform components (sensor, light, climate, etc.). These files are linked into every build, and powf pulls in __ieee754_powf (~2.3KB flash). Existing legitimate uses of powf with non-integer exponents (gamma correction in helpers.cpp) are excluded. New uses can opt out with // NOLINT if truly necessary.
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
486 MiB
Languages
C++
64.1%
Python
35.6%
C
0.2%
