Fix bad merge conflict

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

View File

@ -258,11 +258,11 @@ def sensor_schema(
): validate_last_reset_type
}
)
if last_reset_type_ != LAST_RESET_TYPE_NONE:
if last_reset_type != LAST_RESET_TYPE_NONE:
schema = schema.extend(
{
cv.Optional(
CONF_LAST_RESET_TYPE, default=last_reset_type_
CONF_LAST_RESET_TYPE, default=last_reset_type
): validate_last_reset_type
}
)