mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Convert components to async-def syntax (#1821)
This commit is contained in:
@@ -146,5 +146,5 @@ def stepper_set_speed_to_code(config, action_id, template_arg, args):
|
||||
|
||||
|
||||
@coroutine_with_priority(100.0)
|
||||
def to_code(config):
|
||||
async def to_code(config):
|
||||
cg.add_global(stepper_ns.using)
|
||||
|
||||
Reference in New Issue
Block a user