Increase default select frequency

This commit is contained in:
Pieter Kokx 2024-11-16 23:38:31 +01:00
parent 4d535838e4
commit f5321024f1
No known key found for this signature in database
GPG Key ID: BD73BAB527D54451

View File

@ -31,7 +31,7 @@ DucoSelect = duco_ns.class_("DucoSelect", cg.PollingComponent, select.Select)
CONFIG_SCHEMA = cv.All(
select.select_schema(DucoSelect)
.extend(cv.COMPONENT_SCHEMA)
.extend(cv.polling_component_schema("5s"))
.extend(cv.polling_component_schema("3s"))
.extend(DUCO_COMPONENT_SCHEMA)
.extend({cv.GenerateID(): cv.declare_id(DucoSelect)})
)