# Lighting control

The "Light Control" widget combines the capabilities of the widgets -> Switch and -> Slider. It enables one or more devices to be switched between two states as well as precise values to be set on a scale.

<figure><img src="/files/a26622729a7b741dc9be536a86e29b8e1dfa474c" alt=""><figcaption><p>The "Light Control" widget with 3 connected assets</p></figcaption></figure>

## When should this widget be used?

The "Light Control" widget is specifically designed for use with dimmable lights.

## Configure Widget

\[SPD]

1. Make sure you are in the "Dashboard" menu
2. Click "Add widget"
3. Click "Input"
4. Click on "Light Control"
5. Select the primary asset. The name of this asset will appear in the widget title bar.
6. Select the asset you want to control via the switch.
7. (Optional) Give the asset a name
8. Select the target value
9. Select the current value
10. (Optional) Repeat the previous steps to create switches for additional assets
11. Optional: Choose how much space your new widget should take up on the dashboard.
12. Click "Add widget"

## Operate widget

### Overview

<div data-full-width="true"><figure><img src="/files/3b07e46c17a21fb4a3736c36c8d348d2aff583a3" alt=""><figcaption><p>The "Light Control" widget with 3 connected assets in detail</p></figcaption></figure></div>

<table><thead><tr><th width="81.33333333333331"></th><th width="275"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Icon</td><td>Widget icon</td></tr><tr><td><strong>[B]</strong></td><td>asset name</td><td>Title of the widget. Is influenced by the selection of the "Primary Asset".</td></tr><tr><td><strong>[C]</strong></td><td>Switch for asset 1</td><td>Switch asset 1 to "Off" or "On"</td></tr><tr><td><strong>[D]</strong></td><td>Switch for asset 2</td><td>Switch asset 2 to "Off" or "On"</td></tr><tr><td><strong>[E]</strong></td><td>Switch for asset 3</td><td>Switch asset 3 to "Off" or "On"</td></tr><tr><td><strong>[F]</strong></td><td>More options</td><td></td></tr><tr><td><strong>[G]</strong></td><td>Label for asset 1</td><td></td></tr><tr><td><strong>[H]</strong></td><td>Slider for asset 1</td><td>Set value for asset 1</td></tr><tr><td><strong>[I]</strong></td><td>Slider for asset 2</td><td>Set value for asset 2</td></tr><tr><td><strong>[J]</strong></td><td>Slider for asset 3</td><td>Set value for asset 3</td></tr></tbody></table>

### Operate Widget

Each individual asset that is added has its own switch **\[C]/\[D]/\[E]** and its own slider **\[H]/\[I]/\[J]** assigned.

* &#x20;Drag an asset's slider to the desired value to adjust the asset's value.&#x20;
* Click a switch that is in the "ON" state to set this asset to "OFF"
* Click a switch that is in the "OFF" state to set this asset to "ON".


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.buildings.ability.abb/collection/english-v14/documentation/widgets/predefined-widgets/lighting-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
