From 1dd1d815a199be5dac3321563371b3fa73047e87 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Tue, 9 Oct 2018 12:39:19 +0200 Subject: [PATCH] Update Camera Dispatcher component configuration variable (#6625) Update style of Camera Dispatcher component documentation to follow new configuration variables description. Related to #6385. --- source/_components/camera.dispatcher.markdown | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/_components/camera.dispatcher.markdown b/source/_components/camera.dispatcher.markdown index 26eb74febcd..b0f3c63b851 100644 --- a/source/_components/camera.dispatcher.markdown +++ b/source/_components/camera.dispatcher.markdown @@ -36,6 +36,13 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send async_dispatcher_send(hass, 'name_of_dispatcher_signal', image_data) ``` -Configuration variables: -- **signal** (*Required*): The signal name of dispatcher signal they send image data to this camera. -- **name** (*Optional*): This parameter allows you to override the name of your camera. +{% configuration %} +signal: + description: The signal name of dispatcher signal they send image data to this camera. + required: true + type: string +name: + description: This parameter allows you to override the name of your camera. + required: false + type: string +{% endconfiguration %}