Document new Vizio service (#13736)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Raman Gupta 2020-08-11 05:03:48 -04:00 committed by GitHub
parent 9e8117f11a
commit 48f6714370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,6 +209,17 @@ The list of apps that are provided by default is statically defined [here](https
pyvizio --ip=0 get-apps-list
```
## Service `vizio.update_setting`
This service allows you to update a setting on a given Vizio device. You will need to know the type of setting and the name of the setting to call this service. You can determine this by using the SmartCast app and going to device settings for your target device. The setting type is the lowercase version of the first menu item you'd select (e.g., display, audio, system), and the setting name is what you see in the app, but spaces are replaced with underscores and it is also all lowercase (e.g., AV delay would be called `av_delay`).
| Service data attribute | Optional | Description | Example |
| ---------------------- | -------- | ----------- | ------- |
| `entity_id` | yes | The devices to update a setting for. | `media_player.vizio_smartcast`
| `setting_type` | no | The type of setting. | `audio`
| `setting_name` | no | The name of the setting. | `eq`
| `new_value` | no | The new value to set the setting to. | `Music`
## Notes and limitations
### Turning device on