mirror of
https://github.com/esphome/esphome.git
synced 2025-09-14 09:12:19 +01:00
[core] Fix compilation errors when platform sections have no entities
This commit is contained in:
@@ -1139,5 +1139,4 @@ def _lstsq(a, b):
|
||||
|
||||
@coroutine_with_priority(100.0)
|
||||
async def to_code(config):
|
||||
cg.add_define("USE_SENSOR")
|
||||
cg.add_global(sensor_ns.using)
|
||||
|
Reference in New Issue
Block a user