1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00

Fix bad merge again

This commit is contained in:
Jesse Hills
2021-08-11 21:54:24 +12:00
parent 6847645782
commit 2735f96516

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