mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 16:58:07 +01: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)
|
||||
await cg.register_parented(var, config[CONF_ID])
|
||||
return var
|
||||
|
Loading…
Reference in New Issue
Block a user