Add complete Vizio configuration.yaml entry example (#13242)

This commit is contained in:
Raman Gupta 2020-05-08 18:51:35 -04:00 committed by GitHub
parent fe0ba16400
commit f8233dade5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,29 @@ apps:
default: null
{% endconfiguration %}
```yaml
# Complete configuration.yaml entry
vizio:
- host: "DEVICE_IP:DEVICE_PORT"
access_token: AUTH_TOKEN
name: MY_VIZIO_DEVICE
device_class: tv
volume_step: 1
apps:
include:
- APP_1
- APP_2
exclude:
- APP_1
- APP_2
additional_configs:
- name: MY_CUSTOM_APP
config:
APP_ID: 9
NAME_SPACE: 9
MESSAGE: MY_MESSAGE
```
### Obtaining an app configuration
If there is an app you want to be able to launch from Home Assistant that isn't detected by default, you will need to specify the app configuration in `configuration.yaml`. This configuration can be obtained from the `app_id` state attribute when an unknown app is running on your device.