KNX BinarySensor takes float values for reset_after (#44446)

This commit is contained in:
Matthias Alphart 2020-12-22 12:39:50 +01:00 committed by GitHub
parent d4453908d5
commit 67ed730c08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ class BinarySensorSchema:
),
vol.Optional(CONF_DEVICE_CLASS): cv.string,
vol.Optional(CONF_INVERT): cv.boolean,
vol.Optional(CONF_RESET_AFTER): cv.positive_int,
vol.Optional(CONF_RESET_AFTER): cv.positive_float,
}
),
)