mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
feat: add example doc (#34925)
This commit is contained in:
parent
9ddbde8c8d
commit
0389efde56
@ -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.
|
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
|
### Single Commands
|
||||||
|
|
||||||
These are commands that can be sent standalone, no parameters.
|
These are commands that can be sent standalone, no parameters.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user