Fix bad merge again

This commit is contained in:
Jesse Hills 2021-08-11 21:54:24 +12:00
parent 6847645782
commit 2735f96516
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

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