Fix duplicate

This commit is contained in:
Jesse Hills 2023-08-10 18:40:13 +12:00
parent 02ed2c0ebe
commit 72e72d7d4b
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -560,15 +560,6 @@ async def timeout_filter_to_code(config, filter_id):
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(
"debounce", DebounceFilter, cv.positive_time_period_milliseconds
)