Update Spc component configuration variable (#6570)

Update style of Spc component documentation to follow new configuration variables description.
Related to #6385.
This commit is contained in:
Klaas Schoute 2018-10-07 09:06:16 +02:00 committed by Fabian Affolter
parent 9e5bacd9e9
commit a66e28c441

View File

@ -25,10 +25,15 @@ spc:
ws_url: WS_URL
```
Configuration variables:
- **api_url** (*Required*): URL of the SPC Web Gateway command REST API, e.g., `http://<ip>:8088`.
- **ws_url** (*Required*): URL of the SPC Web Gateway websocket, e.g., `ws://<ip>:8088`.
{% configuration %}
api_url:
description: URL of the SPC Web Gateway command REST API, e.g., `http://<ip>:8088`.
required: true
type: string
ws_url:
description: URL of the SPC Web Gateway websocket, e.g., `ws://<ip>:8088`.
required: true
type: string
{% endconfiguration %}
Supported sensors will be automatically discovered and added, however they will be hidden by default.