mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Update 2020-09-17-release-115.markdown (#14445)
This commit is contained in:
parent
a32d190c2e
commit
29115c06a5
@ -754,7 +754,7 @@ script:
|
|||||||
packet: JgAcAB0dHB44HhweGx4cHR06HB0cHhwdHB8bHhwADQUAAAAAAAAAAAAAAAA=
|
packet: JgAcAB0dHB44HhweGx4cHR06HB0cHhwdHB8bHhwADQUAAAAAAAAAAAAAAAA=
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the `remote.send_command`:
|
Use the `remote.send_command` by replacing `host` by `entity_id` of the remote entity, replace `packet` by `command` with data prefixed with `b64:`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
script:
|
script:
|
||||||
@ -766,7 +766,7 @@ script:
|
|||||||
command: b64:JgAcAB0dHB44HhweGx4cHR06HB0cHhwdHB8bHhwADQUAAAAAAAAAAAAAAAA=
|
command: b64:JgAcAB0dHB44HhweGx4cHR06HB0cHhwdHB8bHhwADQUAAAAAAAAAAAAAAAA=
|
||||||
```
|
```
|
||||||
|
|
||||||
Keeping it clean:
|
If you have learned the commands, you can refer to them by name instead of the raw codes.:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user