1
0
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

This commit is contained in:
J. Nick Koston
2025-08-01 23:58:32 -10:00
parent 4f58e1c8b9
commit bba63625a4
20 changed files with 20 additions and 22 deletions

View File

@@ -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)