From 163e8182ef23f8a87e528fb1795ce986b76d714e Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 17 Oct 2018 23:23:41 +0200 Subject: [PATCH] Update Sytadin sensor component configuration variable (#6899) --- source/_components/sensor.sytadin.markdown | 26 ++++++++++++++++------ 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/source/_components/sensor.sytadin.markdown b/source/_components/sensor.sytadin.markdown index 4b62e198574..0347c817919 100644 --- a/source/_components/sensor.sytadin.markdown +++ b/source/_components/sensor.sytadin.markdown @@ -25,12 +25,24 @@ sensor: - platform: sytadin ``` -Configuration variables: - -- **name** (*Optional*): Additional name for the sensors. Default to platform name. -- **monitored_conditions** array (*Optional*): Conditions to display in the frontend. Defaults to `traffic_jam`. - - **traffic_jam**: Amount of kilometers in traffic jam (km). - - **mean_velocity**: Mean velocity (km/h). - - **congestion**: Index of congestion (n/a). +{% configuration %} +name: + description: Additional name for the sensors. + required: false + default: Sytadin + type: string +monitored_conditions: + description: Conditions to display in the frontend. + required: false + default: traffic_jam + type: list + keys: + traffic_jam: + description: Amount of kilometers in traffic jam (km). + mean_velocity: + description: Mean velocity (km/h). + congestion: + description: Index of congestion (n/a). +{% endconfiguration %} The data is coming from the [Direction des routes Île-de-France (DiRIF)](http://www.sytadin.fr).