Implemented review comment.

This commit is contained in:
Dieter Tschanz 2024-11-08 10:11:38 +01:00
parent 90481e13b0
commit fe201e481a
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ CameraStreamStopTrigger = camera_ns.class_(
automation.Trigger.template(),
)
CONFIG_SCHEMA = cv.Schema(
CAMERA_SCHEMA = cv.Schema(
{
cv.Optional(CONF_ON_STREAM_START): automation.validate_automation(
{

View file

@ -203,7 +203,7 @@ CONFIG_SCHEMA = (
}
)
.extend(cv.COMPONENT_SCHEMA)
.extend(camera.CONFIG_SCHEMA)
.extend(camera.CAMERA_SCHEMA)
)
SETTERS = {