Update 2020-09-17-release-115.markdown (#14445)

This commit is contained in:
Joakim Plate 2020-09-09 23:40:34 +02:00 committed by GitHub
parent a32d190c2e
commit 29115c06a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: