diff --git a/homeassistant/components/automation/blueprints/motion_light.yaml b/homeassistant/components/automation/blueprints/motion_light.yaml index 54a4a4f0643..5b389a3fc26 100644 --- a/homeassistant/components/automation/blueprints/motion_light.yaml +++ b/homeassistant/components/automation/blueprints/motion_light.yaml @@ -3,6 +3,7 @@ blueprint: description: Turn on a light when motion is detected. domain: automation source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml + author: Home Assistant input: motion_entity: name: Motion Sensor diff --git a/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml b/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml index 1dc8a0eddf8..0798a051173 100644 --- a/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml +++ b/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml @@ -3,6 +3,7 @@ blueprint: description: Send a notification to a device when a person leaves a specific zone. domain: automation source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml + author: Home Assistant input: person_entity: name: Person diff --git a/homeassistant/components/blueprint/const.py b/homeassistant/components/blueprint/const.py index a91d30199c9..1ca6117f153 100644 --- a/homeassistant/components/blueprint/const.py +++ b/homeassistant/components/blueprint/const.py @@ -7,5 +7,6 @@ CONF_INPUT = "input" CONF_SOURCE_URL = "source_url" CONF_HOMEASSISTANT = "homeassistant" CONF_MIN_VERSION = "min_version" +CONF_AUTHOR = "author" DOMAIN = "blueprint" diff --git a/homeassistant/components/blueprint/schemas.py b/homeassistant/components/blueprint/schemas.py index f16598afac2..c8271cc700d 100644 --- a/homeassistant/components/blueprint/schemas.py +++ b/homeassistant/components/blueprint/schemas.py @@ -15,6 +15,7 @@ from homeassistant.core import callback from homeassistant.helpers import config_validation as cv, selector from .const import ( + CONF_AUTHOR, CONF_BLUEPRINT, CONF_HOMEASSISTANT, CONF_INPUT, @@ -73,6 +74,7 @@ BLUEPRINT_SCHEMA = vol.Schema( vol.Optional(CONF_DESCRIPTION): str, vol.Required(CONF_DOMAIN): str, vol.Optional(CONF_SOURCE_URL): cv.url, + vol.Optional(CONF_AUTHOR): str, vol.Optional(CONF_HOMEASSISTANT): { vol.Optional(CONF_MIN_VERSION): version_validator }, diff --git a/homeassistant/components/script/blueprints/confirmable_notification.yaml b/homeassistant/components/script/blueprints/confirmable_notification.yaml index d52e5a61651..37e04351d9a 100644 --- a/homeassistant/components/script/blueprints/confirmable_notification.yaml +++ b/homeassistant/components/script/blueprints/confirmable_notification.yaml @@ -5,6 +5,7 @@ blueprint: running the specified action. domain: script source_url: https://github.com/home-assistant/core/blob/master/homeassistant/components/script/blueprints/confirmable_notification.yaml + author: Home Assistant input: notify_device: name: Device to notify