mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 00:48:19 +01:00
Fix bad merge again
This commit is contained in:
parent
6847645782
commit
2735f96516
1 changed files with 0 additions and 8 deletions
|
@ -258,14 +258,6 @@ def sensor_schema(
|
||||||
): validate_last_reset_type
|
): 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
|
return schema
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue