mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-26 18:57:17 +00:00
Update Leviton Decora configuration to new style (#6810)
* Update light.decora.markdown * Minor changes
This commit is contained in:
parent
b14cea3ee7
commit
277ae9a677
@ -28,12 +28,25 @@ light:
|
|||||||
api_key: 0x12345678
|
api_key: 0x12345678
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
devices:
|
||||||
- **devices** array (*Required*): A list of lights to use.
|
description: A list of lights to use.
|
||||||
- **[mac address]** (*Required*): The bluetooth address of the switch.
|
required: true
|
||||||
- **name** (*Optional*): The custom name to use in the frontend.
|
type: map
|
||||||
- **api_key** (*Required*): The API key to access the device.
|
keys:
|
||||||
|
mac_address:
|
||||||
|
required: true
|
||||||
|
description: The bluetooth address of the switch.
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: The name to use in the frontend.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
api_key:
|
||||||
|
description: The API key to access the device.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
If you get an error looking like this:
|
If you get an error looking like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user