Update variable description style (#4043)

* Update variable description style

* ✏️ Tiny grammar fix

* ✏️ Tiny grammar fix
This commit is contained in:
Fabian Affolter 2017-11-23 08:29:18 +01:00 committed by GitHub
parent c836d8fb67
commit a238c0295b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 9 deletions

View File

@ -26,11 +26,21 @@ light:
mac: MAC_ADDRESS
```
Configuration variables:
- **host** (*Required*): The IP address of your myStrom WiFi Bulb, eg. `192.168.1.32`.
- **mac** (*Required*): The MAC address of your myStrom WiFi Bulb, eg. `5AAC8CA542F3`.
- **name** (*Optional*): The name to use when displaying this light.
{% configuration %}
host:
description: "The IP address of your myStrom WiFi Bulb, e.g., `192.168.1.32`."
required: true
type: string
mac:
description: "The MAC address of your myStrom WiFi Bulb, e.g., `5AAC8CA542F3`."
required: true
type: string
name:
description: The name to use when displaying this bulb.
required: false
type: string
default: myStrom Bulb
{% endconfiguration %}
Check if you are able to access the light located at `IP_ADRRESS`. The details about your light is provided as a JSON response.

View File

@ -25,10 +25,17 @@ switch:
host: IP_ADRRESS
```
Configuration variables:
- **host** (*Required*): The IP address of your myStrom switch, eg. `http://192.168.1.32`.
- **name** (*Optional*): The name to use when displaying this switch.
{% configuration %}
host:
description: "The IP address of your myStrom switch, e.g., `http://192.168.1.32`."
required: true
type: string
name:
description: The name to use when displaying this switch.
required: false
type: string
default: myStrom Switch
{% endconfiguration %}
Check if you are able to access the device located at `http://IP_ADRRESS`. The details about your switch is provided as a JSON response.