mirror of
https://github.com/esphome/esphome.git
synced 2026-09-18 10:38:38 +00:00
550f6e7c72798f8b673c1a61eae3426801ebad92
A component's group is wrapped in a single IIFE with no sub-splitting when its to_code emits any of: scope-brace RawStatement, direct RawExpression via cg.add (raw bare-local or field-assignment like 'tz.field = x'), or typed AssignmentExpression (cg.variable). Detection is content-aware so entity_helpers' inline-comment RawStatements and RawExpression-as-CallExpression-arg don't false-positive. Adds 4 regression tests covering each detection path and the non-triggering inverse cases.
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
599 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
