> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/german/plattform/live-cockpit/widgets/predefined-widgets/switch.md).

# Schalter

Mit dem Widget „Switch“ können Sie ein oder mehrere Geräte zwischen zwei Zuständen umschalten.

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FqGjEt4JuPPMUHDprjcWV%2F04CE2FAE-3CDD-4F28-91BB-EB4AE614825B.png?alt=media&#x26;token=03cb0e2a-fb7e-4394-83d3-dcae94afdbbe" alt=""><figcaption></figcaption></figure></div>

## Wann sollte dieses Widget verwendet werden?

Verwenden Sie Schalter, wenn Sie ein Asset lediglich zwischen zwei Zuständen umschalten möchten (z. B. „Ein“ und „Aus“). Ein häufiger Anwendungsfall sind Leuchten.

Wenn Sie jedoch dimmbare Leuchten steuern möchten, verwenden Sie das Widget -> Light Control.

## Widget konfigurieren

{% @supademo/embed url="<https://app.supademo.com/demo/KS_36muoBJWvH6P0wCVdI>" demoId="KS\_36muoBJWvH6P0wCVdI" fullWidth="true" %}

1. Vergewissern Sie sich, dass Sie sich im Menü „Dashboard“ befinden.
2. Klicken Sie auf „Widget hinzufügen“.
3. Klicken Sie auf „Eingabe“.
4. Klicken Sie auf „Switch“.
5. Wählen Sie das primäre Asset aus. Der Name dieses Assets wird in der Titelleiste des Widgets angezeigt.
6. Wähle das Asset aus, das du über den Schalter steuern möchtest.
7. (Optional) Gib dem Asset einen Namen.
8. Wähle den Sollwert aus.
9. Wähle den aktuellen Wert aus.
10. (Optional) Wiederholen Sie die vorherigen Schritte, um Schalter für weitere Assets zu erstellen.
11. Optional: Wählen Sie aus, wie viel Platz Ihr neues Widget auf dem Dashboard einnehmen soll.
12. Klicken Sie auf „Widget hinzufügen“.

## Widget verwenden

### Übersicht

<div data-full-width="true"><figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FZKvaCPY0ggHsLhY1Yb9r%2F835BFCBA-60AF-4BF1-91A7-916FDABE925E.png?alt=media&#x26;token=d63c0e5c-9bc6-4af1-b8ca-cfcec2d416f0" alt=""><figcaption><p>Das Widget „Switch“ im Detail</p></figcaption></figure></div>

<table data-full-width="true"><thead><tr><th width="81.33333333333331"></th><th width="239"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Widget-Titel</td><td>Titel des Widgets. Wird durch die Auswahl des „Primären Assets“ beeinflusst.</td></tr><tr><td><strong>[B]</strong></td><td>Symbol</td><td></td></tr><tr><td><strong>[C]</strong></td><td>Einzelne Assets</td><td>Die einzelnen Assets, die dem Widget hinzugefügt wurden</td></tr><tr><td><strong>[D]</strong></td><td>Weitere Optionen</td><td></td></tr><tr><td><strong>[E]</strong></td><td>Einzelne Schalter</td><td></td></tr></tbody></table>

### Widget verwenden

Jedem einzelnen Asset **\[C]** das hinzugefügt wurde, wird ein eigener Schalter zugewiesen **\[E]**.

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2F3emagpeGr97ZbY6sFjiP%2F98D43939-AC3D-414E-B546-1C9ECC35A7C5.png?alt=media&#x26;token=753cc585-ea87-429e-9cf9-85c0aab81e46" alt=""><figcaption><p>Links: Schalter auf „ON“<br>Rechts: Schalter auf „OFF“</p></figcaption></figure>

* Klicken Sie auf einen Schalter, der auf „ON“ steht, um ihn auf „OFF“ zu stellen.
* Klicken Sie auf einen Schalter, der auf „OFF“ steht, um ihn auf „ON“ zu stellen.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.buildings.ability.abb/collection/german/plattform/live-cockpit/widgets/predefined-widgets/switch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
