From 2bbc5ceb40b5e95be2ead0eedc9aff1d8602f8f7 Mon Sep 17 00:00:00 2001 From: tronikos Date: Mon, 7 Apr 2025 23:42:43 -0700 Subject: [PATCH] Update androidtv_remote.markdown --- source/_integrations/androidtv_remote.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/_integrations/androidtv_remote.markdown b/source/_integrations/androidtv_remote.markdown index ca3af98cccd..9adf2cd7516 100644 --- a/source/_integrations/androidtv_remote.markdown +++ b/source/_integrations/androidtv_remote.markdown @@ -244,7 +244,7 @@ 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 input to the device you have to add the text to the command prefixed with `input text: `, e.g. the command `input text: hello world` sends `hello world` to the device as input. +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: @@ -269,10 +269,11 @@ target: ``` ```yaml -# Send text to the device +# Send text to the device as keyboard action: remote.send_command data: - command: input text: hello world + device: keyboard + command: hello world target: entity_id: remote.living_room_tv ```