feat: add example doc (#34925)

This commit is contained in:
ilan 2024-09-26 02:04:25 -04:00 committed by GitHub
parent 9ddbde8c8d
commit 0389efde56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,26 @@ The command structure uses the same keywords as the [official documentation](htt
Using these commands, you can create a digital remote in the UI.
Example:
```yaml
# Command with parameters
action: remote.send_command
data:
command: KeyPress, SETTINGS
target:
entity_id: remote.madvr_envy
```
```yaml
# Single command
action: remote.send_command
data:
command: Restart
target:
entity_id: remote.madvr_envy
```
### Single Commands
These are commands that can be sent standalone, no parameters.