Skip to content

Document androidtv_remote.send_text service #37620

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 5 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
22 changes: 22 additions & 0 deletions source/_integrations/androidtv_remote.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,28 @@ target:
entity_id: remote.living_room_tv
```

### `androidtv_remote.send_text`

The `androidtv_remote.send_text` action allows you to send text as input to your Android TV device. This allows you to fill text fields as if it was typed using the keyboard.

{% note %}
It requires the on-screen keyboard to be closed first.
{% endnote %}

| Data attribute | Optional | Description |
| -------------- | -------- | ----------- |
| `config_entry_id` | no | The ID of the Android TV Remote config entry. |
| `text` | no | Text to send as input to device. |

Example:

```yaml
action: androidtv_remote.send_text
data:
config_entry_id: a1bee602deade2b09bc522749bbce48e
text: "hello world"
```

### Dashboard example

You have to manually create buttons in Lovelace to send commands to the Android TV device or launch apps on it.
Expand Down