remote: add state (#34782)

This commit is contained in:
c0ffeeca7 2024-09-17 17:17:49 +02:00 committed by GitHub
parent 659b0fd7fa
commit 3efc2b239c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,14 +11,18 @@ ha_codeowners:
ha_integration_type: entity
---
Keeps track of the remotes in your environment. Captures their state and allows you to control them.
The **Remote** {% term integration%} keeps track of the remotes in your environment. Captures their state and allows you to control them.
- Maintains a state per remote and a combined state `all_remotes`.
- Registers actions `remote/turn_on`, `remote/turn_off`, `remote/toggle`, and `remote/send_command` to control remotes.
{% include integrations/building_block_integration.md %}
### Use the actions
## The state of a remote entity
The state of a remote entity can be either `on` or `off`.
## Use the actions
Go to the **Developer Tools** and open the **Actions** tab. From the **Actions** dropdown, choose `remote/turn_on`, `remote/turn_off`, or `remote/toggle`. Under target, select the target device. If you are in YAML mode, enter something like the sample below into the **Data** field. Once you are done, select **Perform action**.