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.
This commit is contained in:
tomlut 2018-08-20 03:23:47 +10:00 committed by Fabian Affolter
parent 9a1fff3ece
commit 3d7c1a32cc

View File

@ -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.