mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
0594e22e3a8b144ed0c2d673369878c1ef8819e1
The write_interval == 0 case (sync every loop) is only used on host or for testing. For the vast majority of real devices using the default 60s interval, loop() and the runtime branch are unnecessary overhead. Use a compile-time define to separate the two modes so that: - Normal case: no loop() override, no write_interval_ member, just set_interval - Zero interval case: loop() syncs every iteration, no interval needed
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%
