mirror of
https://github.com/esphome/esphome.git
synced 2025-09-19 19:52:20 +01:00
[core] Fix compilation errors when platform sections have no entities (#10023)
This commit is contained in:
@@ -285,5 +285,4 @@ async def new_light(config, *args):
|
||||
|
||||
@coroutine_with_priority(100.0)
|
||||
async def to_code(config):
|
||||
cg.add_define("USE_LIGHT")
|
||||
cg.add_global(light_ns.using)
|
||||
|
Reference in New Issue
Block a user