mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
Fix duplicate
This commit is contained in:
parent
02ed2c0ebe
commit
72e72d7d4b
1 changed files with 0 additions and 9 deletions
|
@ -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 a new issue