formatting

This commit is contained in:
Gábor Poczkodi 2024-11-06 19:51:34 +01:00
parent 78e620aae6
commit bc5d891053

View file

@ -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])