mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
Fix bad merge again
This commit is contained in:
parent
6847645782
commit
2735f96516
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user