mirror of
https://github.com/esphome/esphome.git
synced 2025-10-22 19:53:46 +01:00
[core] Fix compilation errors when platform sections have no entities (#10023)
This commit is contained in:
@@ -323,7 +323,6 @@ async def number_in_range_to_code(config, condition_id, template_arg, args):
|
||||
|
||||
@coroutine_with_priority(100.0)
|
||||
async def to_code(config):
|
||||
cg.add_define("USE_NUMBER")
|
||||
cg.add_global(number_ns.using)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user