Fix bad merge again

This commit is contained in:
Jesse Hills committed 2021-08-11 21:54:24 +12:00
1 parent 6847645782
commit 2735f96516
1 file changed
-8
-8
View File
@@ -258,14 +258,6 @@ def sensor_schema(
): validate_last_reset_type
}
)
if last_reset_type != LAST_RESET_TYPE_NONE:
schema = schema.extend(
{
cv.Optional(
CONF_LAST_RESET_TYPE, default=last_reset_type
): validate_last_reset_type
}
)
return schema