mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Update dfplayer condition function name (#3619)
This commit is contained in:
parent
53139c293b
commit
cdb16f08f6
@ -348,7 +348,7 @@ async def dfplayer_random_to_code(config, action_id, template_arg, args):
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
async def dfplyaer_is_playing_to_code(config, condition_id, template_arg, args):
|
async def dfplayer_is_playing_to_code(config, condition_id, template_arg, args):
|
||||||
var = cg.new_Pvariable(condition_id, template_arg)
|
var = cg.new_Pvariable(condition_id, template_arg)
|
||||||
await cg.register_parented(var, config[CONF_ID])
|
await cg.register_parented(var, config[CONF_ID])
|
||||||
return var
|
return var
|
||||||
|
Loading…
x
Reference in New Issue
Block a user