mirror of
https://github.com/esphome/esphome.git
synced 2024-11-06 09:25:37 +01:00
Fix duplicate
This commit is contained in:
parent
02ed2c0ebe
commit
72e72d7d4b
@ -560,15 +560,6 @@ async def timeout_filter_to_code(config, filter_id):
|
|||||||
return var
|
return var
|
||||||
|
|
||||||
|
|
||||||
@FILTER_REGISTRY.register(
|
|
||||||
"timeout", TimeoutFilter, cv.positive_time_period_milliseconds
|
|
||||||
)
|
|
||||||
async def timeout_filter_to_code(config, filter_id):
|
|
||||||
var = cg.new_Pvariable(filter_id, config)
|
|
||||||
await cg.register_component(var, {})
|
|
||||||
return var
|
|
||||||
|
|
||||||
|
|
||||||
@FILTER_REGISTRY.register(
|
@FILTER_REGISTRY.register(
|
||||||
"debounce", DebounceFilter, cv.positive_time_period_milliseconds
|
"debounce", DebounceFilter, cv.positive_time_period_milliseconds
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user