Update pair-finish to include required ch_type (#12307)

pair-finish requires ch_type now.
This commit is contained in:
Greg Martin 2020-03-07 19:25:50 -08:00 committed by GitHub
parent a98e218f3a
commit 3188f295b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,15 +53,15 @@ $ pyvizio --ip={ip:port} --device_type={device_type} pair
Initiation will show you two different values: Initiation will show you two different values:
| Value | Description | | Value | Description |
| :-------------- | :------------------------------------------------------------------------------------------------------ | | :-------------- | :-------------------------------------------------- |
| Challenge type | Usually it should be `"1"`. If not, use the additional parameter `--ch_type=your_type` in the next step | | Challenge type | Usually it should be `"1"` |
| Challenge token | Token required to finalize pairing in the next step | | Challenge token | Token required to finalize pairing in the next step |
At this point, a PIN code should be displayed at the top of your TV. With all these values, you can now finish pairing: At this point, a PIN code should be displayed at the top of your TV. With all these values, you can now finish pairing:
```bash ```bash
$ pyvizio --ip={ip:port} --device_type={device_type} pair-finish --token={challenge_token} --pin={pin} $ pyvizio --ip={ip:port} --device_type={device_type} pair-finish --token={challenge_token} --pin={pin} --ch_type={challenge_type}
``` ```
You will need the authentication token returned by this command to configure Home Assistant. You will need the authentication token returned by this command to configure Home Assistant.