mirror of
https://github.com/esphome/esphome.git
synced 2025-11-20 16:55:49 +00:00
[core] Fix compilation errors when platform sections have no entities (#10023)
This commit is contained in:
@@ -232,7 +232,6 @@ async def new_text_sensor(config, *args):
|
||||
|
||||
@coroutine_with_priority(100.0)
|
||||
async def to_code(config):
|
||||
cg.add_define("USE_TEXT_SENSOR")
|
||||
cg.add_global(text_sensor_ns.using)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user