mirror of
https://github.com/esphome/esphome.git
synced 2024-11-15 03:28:12 +01:00
Implemented review comment.
This commit is contained in:
parent
90481e13b0
commit
fe201e481a
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
{
|
||||
|
|
|
@ -203,7 +203,7 @@ CONFIG_SCHEMA = (
|
|||
}
|
||||
)
|
||||
.extend(cv.COMPONENT_SCHEMA)
|
||||
.extend(camera.CONFIG_SCHEMA)
|
||||
.extend(camera.CAMERA_SCHEMA)
|
||||
)
|
||||
|
||||
SETTERS = {
|
||||
|
|
Loading…
Reference in a new issue