mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +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
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **devices** array (*Required*): A list of lights to use.
|
||||
- **[mac address]** (*Required*): The bluetooth address of the switch.
|
||||
- **name** (*Optional*): The custom name to use in the frontend.
|
||||
- **api_key** (*Required*): The API key to access the device.
|
||||
{% configuration %}
|
||||
devices:
|
||||
description: A list of lights to use.
|
||||
required: true
|
||||
type: map
|
||||
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'>
|
||||
If you get an error looking like this:
|
||||
|
Loading…
x
Reference in New Issue
Block a user