diff --git a/source/_components/light.decora.markdown b/source/_components/light.decora.markdown index b9f0063e3f5..b40889a8c4f 100644 --- a/source/_components/light.decora.markdown +++ b/source/_components/light.decora.markdown @@ -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 %}

If you get an error looking like this: