This commit is contained in:
Tomasz Duda 2024-10-31 17:45:32 +01:00
parent c798e4d7f5
commit f03e435be8

View file

@ -80,8 +80,8 @@ _DATETIME_SCHEMA = cv.ENTITY_BASE_SCHEMA.extend(
cv.Optional(CONF_TIME_ID): cv.use_id(time.RealTimeClock),
}
)
.add_extra(web_server.WEBSERVER_SORTING_SCHEMA)
.add_extra(cv.MQTT_COMMAND_COMPONENT_SCHEMA),
.extend(web_server.WEBSERVER_SORTING_SCHEMA)
.extend(cv.MQTT_COMMAND_COMPONENT_SCHEMA)
).add_extra(_validate_time_present)