Reference ha find remote script

Alexa → HA script → Google Assistant SDK → "find my remote" → physical Google TV remote beeps.

HA script: script.play_sound_on_tv_remote — calls google_assistant_sdk.send_text_command: "find my remote". Auto-exposed to Alexa via script domain in cloud.alexa_default_expose.

Why not direct: the androidtv_remote HA integration only exposes turn_on/off/send_command. There's no native HA service for "Find My Remote." Google Assistant SDK is the only working path.

GCP setup (one-time, on home-assistant-2-487316, signed in as [email protected]): - Enabled API: embeddedassistant.googleapis.com - OAuth Client ID: HA Assistant SDK (Web application), redirect https://my.home-assistant.io/redirect/oauth - Test user added on consent screen: [email protected]

Account binding: the remote bonded to the Google TV Streamer must be the same Google account that authorized the HA Assistant SDK integration. Streamer signed in as [email protected].

Fallback chime: /config/www/tv-remote-sound.mp3 on HA still exists. Useful if a future script wants to actually play sound through TV speakers via cast (media_player.play_media to media_player.living_room_tv with announce: true).

Other Assistant commands the SDK can run: "broadcast X to all speakers", "play X on Y", "turn on lights" — anything Google Assistant accepts as a text command. Field media_player (optional) routes the spoken response to a specific HA media_player entity.

Built 2026-05-03.