mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 09:25:34 +00:00
55a76fcbca6cac5b743a374fd64b74a0fdc8a82d
cleanup_() was computing items_.size() on every call even on the fast path where nothing was removed. All callers only check if items remain (== 0), so return bool and use items_.empty() instead.
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
529 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
