Edit minor grammar issues and improve clarity (#10752)

This commit is contained in:
J 2019-10-12 15:38:02 -05:00 committed by Franck Nijhof
parent 2b5bf12121
commit 86516f2fd8

View File

@ -1,6 +1,6 @@
---
title: "Vizio SmartCast Device"
description: "Instructions on how to integrate Vizio SmartCast TVs and Sound Bars into Home Assistant."
description: "Instructions on how to integrate Vizio SmartCast TVs and sound bars into Home Assistant."
logo: vizio-smartcast.png
ha_category:
- Media Player
@ -8,11 +8,11 @@ ha_release: 0.49
ha_iot_class: Local Polling
---
The `vizio` integration will allow you to control [SmartCast](https://www.vizio.com/smartcast-app) compatible TVs and Sound Bars (2016+ models).
The `vizio` integration allows you to control [SmartCast](https://www.vizio.com/smartcast-app)-compatible TVs and sound bars (2016+ models).
## Find your device
Install the command-line tool using `pip` (or you can choose to download it manually):
Install the command line tool using `pip` (or download it manually):
```bash
$ pip3 install pyvizio
@ -35,11 +35,11 @@ Find your device using the following command:
pyvizio --ip=0 discover
```
and note it's IP address. If using your IP address by itself does not lead to success, you may need to append `:9000` or `:7345` to it when using it as a parameter in future commands.
and note its IP address. If using the IP address by itself does not work, you may need to append `:9000` or `:7345` to it when using it as a parameter in future commands.
## Pairing
Before adding your device to Home Assistant you may need to pair it manually. For a Sound Bar, it is unclear how the device would notify you of a valid auth token, so it's best to first skip the pairing process entirely, specify a `device_class` of `soundbar` in your configuration, and try interacting with the entity to see if you have any success. If the media player controls aren't working, and if specifying different ports as mentioned above doesn't work, you will need to find a way to get the auth token during this process.
Before adding your device to Home Assistant, you may need to pair it manually. In particular, it is unclear how a sound bar would notify you of a valid auth token. In this case, it might be best to first skip the pairing process entirely, specify a `device_class` of `soundbar` in your configuration, and try interacting with the entity to see if you have any success. If the media player controls aren't working, and if specifying different ports as mentioned above doesn't work, you will need to find a way to obtain the auth token during this process.
To obtain an auth token, follow these steps:
@ -63,7 +63,7 @@ Initiation will show you two different values:
| Challenge type | Usually it should be `"1"`. If not, use the additional parameter `--ch_type=your_type` in the next step |
| Challenge token | Token required to finalize pairing in the next step |
Finally, 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
$ pyvizio --ip={ip} --device_type={device_type} pair-finish --token={challenge_token} --pin={pin}
@ -93,7 +93,7 @@ access_token:
required: false
type: string
device_class:
description: The class of your device. Your choices are `tv` or `soundbar`
description: The class of your device. Valid options are `tv` or `soundbar`
required: false
type: string
default: tv
@ -108,12 +108,12 @@ suppress_warning:
### Turning device on
If the `Power Mode` of your device is set to `Eco Mode`, turning the device ON won't work.
If the `Power Mode` of your device is set to `Eco Mode`, turning the device on won't work.
### Changing tracks
Changing tracks works like channels switching. If you have source other than regular TV it might end do nothing.
Changing tracks works like switching channels. If the current input is anything other than regular TV, this command might not do anything.
### Sources
Source list shows all external devices connected to the device through HDMI plus list of internal devices (TV mode, Chrome Cast, etc.).
The source list shows all external devices connected to the Vizio device through HDMI, plus a list of internal devices (TV mode, Chromecast, etc.)