mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 15:04:54 +01:00
formatting
This commit is contained in:
parent
78e620aae6
commit
bc5d891053
1 changed files with 1 additions and 3 deletions
|
@ -39,9 +39,7 @@ LOG_ACTION_SCHEMA = automation.maybe_simple_id(
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@automation.register_action(
|
@automation.register_action("store_yaml.log", LogAction, LOG_ACTION_SCHEMA)
|
||||||
"store_yaml.log", LogAction, LOG_ACTION_SCHEMA
|
|
||||||
)
|
|
||||||
async def log_action_to_code(config, action_id, template_arg, args):
|
async def log_action_to_code(config, action_id, template_arg, args):
|
||||||
var = cg.new_Pvariable(action_id, template_arg)
|
var = cg.new_Pvariable(action_id, template_arg)
|
||||||
await cg.register_parented(var, config[CONF_ID])
|
await cg.register_parented(var, config[CONF_ID])
|
||||||
|
|
Loading…
Reference in a new issue