From 3d7c1a32cc74a2171d9eb94667792d253c5636d2 Mon Sep 17 00:00:00 2001 From: tomlut <10679300+tomlut@users.noreply.github.com> Date: Mon, 20 Aug 2018 03:23:47 +1000 Subject: [PATCH] Update sensor.mold_indicator.markdown (#6046) * Update sensor.mold_indicator.markdown Added optional 'name' configuration variable. I have confirmed this is supported but undocumented. * Update sensor.mold_indicator.markdown Removed optional 'name' configuration variable from the example. Changed the Configuration variables:-section to use the new {% configuration %} tags. * Update sensor.mold_indicator.markdown Changed calibration_factor variable type from int to float. --- .../sensor.mold_indicator.markdown | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/source/_components/sensor.mold_indicator.markdown b/source/_components/sensor.mold_indicator.markdown index b14f077a19d..bc049af3e65 100644 --- a/source/_components/sensor.mold_indicator.markdown +++ b/source/_components/sensor.mold_indicator.markdown @@ -27,12 +27,28 @@ sensor: calibration_factor: 2.0 ``` -Configuration variables: - -- **indoor_temp_sensor** (*Required*): The entity ID of the indoor temperature sensor. -- **indoor_humidity_sensor** (*Required*): The entity ID of the indoor humidity sensor. -- **outdoor_temp_sensor** (*Required*): The entity ID of the outdoor temperature sensor. -- **calibration_factor** (*Required*): Needs to be calibrated to the critical point in the room. +{% configuration %} +name: + description: The name of the sensor. + required: false + type: string +indoor_temp_sensor: + description: The entity ID of the indoor temperature sensor. + required: true + type: string +indoor_humidity_sensor: + description: The entity ID of the indoor humidity sensor. + required: true + type: string +outdoor_temp_sensor: + description: The entity ID of the outdoor temperature sensor. + required: true + type: string +calibration_factor: + description: Needs to be calibrated to the critical point in the room. + required: true + type: float +{% endconfiguration %} In this case, the weather forecast temperature sensor is used for the outside temperature.