mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Update variable description style (#4043)
* Update variable description style * ✏️ Tiny grammar fix * ✏️ Tiny grammar fix
This commit is contained in:
parent
c836d8fb67
commit
a238c0295b
@ -26,11 +26,21 @@ light:
|
|||||||
mac: MAC_ADDRESS
|
mac: MAC_ADDRESS
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
host:
|
||||||
- **host** (*Required*): The IP address of your myStrom WiFi Bulb, eg. `192.168.1.32`.
|
description: "The IP address of your myStrom WiFi Bulb, e.g., `192.168.1.32`."
|
||||||
- **mac** (*Required*): The MAC address of your myStrom WiFi Bulb, eg. `5AAC8CA542F3`.
|
required: true
|
||||||
- **name** (*Optional*): The name to use when displaying this light.
|
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.
|
Check if you are able to access the light located at `IP_ADRRESS`. The details about your light is provided as a JSON response.
|
||||||
|
|
||||||
|
@ -25,10 +25,17 @@ switch:
|
|||||||
host: IP_ADRRESS
|
host: IP_ADRRESS
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
host:
|
||||||
- **host** (*Required*): The IP address of your myStrom switch, eg. `http://192.168.1.32`.
|
description: "The IP address of your myStrom switch, e.g., `http://192.168.1.32`."
|
||||||
- **name** (*Optional*): The name to use when displaying this switch.
|
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.
|
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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user