[core] Fix compilation errors when platform sections have no entities (#10023)
This commit is contained in:
1 parent
fd442cc485
commit
296442d8f1
19 files changed
+18
-22
No files matched your search
@@ -654,7 +654,6 @@ async def binary_sensor_is_off_to_code(config, condition_id, template_arg, args)
|
||||
|
||||
@coroutine_with_priority(100.0)
|
||||
async def to_code(config):
|
||||
cg.add_define("USE_BINARY_SENSOR")
|
||||
cg.add_global(binary_sensor_ns.using)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user