mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
formatting
This commit is contained in:
parent
556cb74d5f
commit
955a486eba
1 changed files with 3 additions and 3 deletions
|
@ -541,6 +541,7 @@ SetTunerFrequencyAction = si4713_ns.class_(
|
|||
"SetTunerFrequencyAction", automation.Action, cg.Parented.template(Si4713Component)
|
||||
)
|
||||
|
||||
|
||||
@automation.register_action(
|
||||
"si4713.set_tuner_frequency", SetTunerFrequencyAction, FREQUENCY_SCHEMA
|
||||
)
|
||||
|
@ -556,9 +557,8 @@ MeasureAction = si4713_ns.class_(
|
|||
"MeasureAction", automation.Action, cg.Parented.template(Si4713Component)
|
||||
)
|
||||
|
||||
@automation.register_action(
|
||||
"si4713.measure", MeasureAction, FREQUENCY_SCHEMA
|
||||
)
|
||||
|
||||
@automation.register_action("si4713.measure", MeasureAction, FREQUENCY_SCHEMA)
|
||||
async def measure_action_to_code(config, action_id, template_arg, args):
|
||||
var = cg.new_Pvariable(action_id, template_arg)
|
||||
await cg.register_parented(var, config[CONF_ID])
|
||||
|
|
Loading…
Reference in a new issue