Skip to content

Document support for sending input text to Android TV Remote #38409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions source/_integrations/androidtv_remote.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ Other:

If `activity` is specified in `remote.turn_on` it will open the specified URL or the application with the given package name. See [Launching apps section](#launching-apps).

To send text as keyboard input to the device you have to use `device: keyboard`.
This allows you to fill text fields as if it was typed using the keyboard. It requires the on-screen keyboard to be closed first.

Example actions:

```yaml
Expand All @@ -265,6 +268,15 @@ target:
entity_id: remote.living_room_tv
```

```yaml
# Send text to the device as keyboard
action: remote.send_command
data:
device: keyboard
command: hello world
target:
entity_id: remote.living_room_tv
```
```yaml
# Launch YouTube
action: remote.turn_on
Expand Down