mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update androidtv docs to reflect improved select_source support (#11379)
This commit is contained in:
parent
bb35f515fd
commit
43df99851e
@ -70,7 +70,7 @@ adb_server_port:
|
|||||||
default: 5037
|
default: 5037
|
||||||
type: integer
|
type: integer
|
||||||
get_sources:
|
get_sources:
|
||||||
description: Whether or not to retrieve the running apps as the list of sources for Fire TV devices; not used for Android TV devices.
|
description: Whether or not to retrieve the running apps as the list of sources.
|
||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
@ -189,9 +189,9 @@ If the setup for your Android TV or Fire TV device fails, then there is probably
|
|||||||
|
|
||||||
## Services
|
## Services
|
||||||
|
|
||||||
### (Fire TV devices only) `media_player.select_source`
|
### `media_player.select_source`
|
||||||
|
|
||||||
For Fire TV devices, you can launch an app using the `media_player.select_source` command. Simply provide the app ID as the `source`. You can also stop an app by prefixing the app ID with a `!`. For example, you could define [scripts](/docs/scripts) to start and stop Netflix as follows:
|
You can launch an app on your device using the `media_player.select_source` command. Simply provide the app ID as the `source`. You can also stop an app by prefixing the app ID with a `!`. For example, you could define [scripts](/docs/scripts) to start and stop Netflix as follows:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
start_netflix:
|
start_netflix:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user