diff --git a/source/_integrations/template.markdown b/source/_integrations/template.markdown index b69c87a2b32..ad065d8795d 100644 --- a/source/_integrations/template.markdown +++ b/source/_integrations/template.markdown @@ -156,7 +156,7 @@ variables: sensor: description: List of sensors required: true - type: map + type: list keys: state: description: "Defines a template to get the state of the sensor. If the sensor is numeric, i.e. it has a `state_class` or a `unit_of_measurement`, the state template must render to a number or to `none`. The state template must not render to a string, including `unknown` or `unavailable`. An `availability` template may be defined to suppress rendering of the state template." @@ -180,7 +180,7 @@ sensor: binary_sensor: description: List of binary sensors required: true - type: map + type: list keys: state: description: The sensor is `on` if the template evaluates as `True`, `yes`, `on`, `enable` or a positive number. Any other value will render it as `off`. The actual appearance in the frontend (`Open`/`Closed`, `Detected`/`Clear` etc) depends on the sensor’s device_class value