mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 11:21:43 +01:00
Fix bad merge conflict
This commit is contained in:
parent
b0bc898278
commit
6847645782
1 changed files with 2 additions and 2 deletions
|
@ -258,11 +258,11 @@ def sensor_schema(
|
||||||
): validate_last_reset_type
|
): validate_last_reset_type
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if last_reset_type_ != LAST_RESET_TYPE_NONE:
|
if last_reset_type != LAST_RESET_TYPE_NONE:
|
||||||
schema = schema.extend(
|
schema = schema.extend(
|
||||||
{
|
{
|
||||||
cv.Optional(
|
cv.Optional(
|
||||||
CONF_LAST_RESET_TYPE, default=last_reset_type_
|
CONF_LAST_RESET_TYPE, default=last_reset_type
|
||||||
): validate_last_reset_type
|
): validate_last_reset_type
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue