Astrion TV Card Guide | RosCard Media Player Configuration for Home As Astrion TV Card Guide | RosCard Media Player Configuration for Home Assistant
Skip to Content

Overview

The RosCard TV Card provides a dedicated interface for controlling television and media player devices from your Astrion Remote. It supports multiple device types including Android TV, Apple TV, and generic media players, with full button mapping and script binding capabilities.

The TV Card is designed to work alongside Home Assistant scripts to create Harmony-style activities — where a single button press can trigger a sequence of actions across multiple devices.

💡 Tip: The TV Card supports script binding for buttons like POWER, Volume, and Navigation[reference:2]. Use this to route volume control to an AVR while navigation controls stay with the TV — perfect for complex home theater setups.

Features

📺

Multiple TV Types

Support for Android TV, Apple TV, and generic media players

🎮

Full Button Mapping

Power, volume, navigation, channel, and numeric input

📜

Script Binding

Bind Home Assistant scripts to any button for complex automation

🎬

Activity-Based Workflows

Create Harmony-style activities using HA scripts and automations[reference:3]

🔢

Numeric Keypad

Digital number pad for channel input and direct source selection

Step-by-Step Configuration

1 Open Dashboard Editor

In Home Assistant, navigate to the dashboard you want to use for your Astrion Remote. Click Edit Dashboard in the top-right corner.

2 Add TV Card

Click Add Card and search for "TV (ROS)" or "custom:aiks-tv-card". Select it to add the card to your dashboard.

3 Configure TV Type and Entity

Select the TV type and configure the primary entity for your device.

Android TV Configuration:

type: custom:aiks-tv-card uuid: 4930e7ed-df20-4bb3-bcc2-6f5c0e9180a5 tv_type: android_tv tv_name: Living Room TV media_play_entity: media_player.android_tv_192_168_2_121

Apple TV Configuration:

type: custom:aiks-tv-card uuid: 4930e7ed-df20-4bb3-bcc2-6f5c0e9180a5 tv_type: apple_tv tv_name: Living Room Apple TV media_play_entity: media_player.apple_tv_living_room

4 Map Buttons and Scripts

Map physical buttons to remote entities or Home Assistant scripts.

Example: Power Button Mapping

entities: - key: POWER type: remote entity_id: remote.android_tv_192_168_2_121 value: POWER

Example: Script Binding for Activity

entities: - key: POWER type: script entity_id: script.watch_movie value: ""

5 Save and Refresh

Click Save to apply your configuration. On your Astrion Remote, pull down from the top of the home screen and tap Refresh to load the new card.

⚠️ Important: When creating Harmony-style activities, all logic should be handled inside Home Assistant scripts[reference:4]. The TV Card simply triggers these scripts — this makes your setup more flexible and easier to maintain than traditional Harmony remotes.

YAML Reference

Full Parameter List

type: custom:aiks-tv-card uuid: string # Required: Unique identifier tv_type: android_tv | apple_tv # Required: TV/Media player type tv_name: string # Display name for the TV media_play_entity: string # Media player entity ID entities: # Button mapping - key: POWER | VOLUME_UP | ... # Button key name type: remote | script # Action type entity_id: string # Remote entity or script ID value: string # Command value

TV Types

  • android_tv — Android TV devices (NVIDIA Shield, Sony, etc.)
  • apple_tv — Apple TV devices

Button Keys

  • POWER — Power toggle
  • VOLUME_UP / VOLUME_DOWN — Volume control
  • CHANNEL_UP / CHANNEL_DOWN — Channel control
  • NAVIGATION — Directional pad (UP, DOWN, LEFT, RIGHT, OK)
  • BACK / HOME — System navigation
  • NUMBER_0 through NUMBER_9 — Numeric input

Button Action Types

  • remote — Send a command to a Home Assistant remote entity
  • script — Trigger a Home Assistant script[reference:5]

💡 Pro Tip: For advanced setups, you can bind volume controls to a different entity than navigation controls. For example, route volume to an AVR while keeping navigation on the TV — giving you true Harmony-style flexibility.

Activity-Based Workflows

The TV Card is designed to support Harmony-style activity workflows using Home Assistant scripts. This approach gives you significantly more flexibility than traditional harmony remotes[reference:6].

Typical Activity Flow

  • Turn on TV — Send POWER command via remote entity or IR
  • Turn on AVR — Send POWER command via remote entity or IR
  • Select source — Switch TV input or AVR source
  • Route volume control — Map volume buttons to AVR instead of TV
  • Update remote context — Change button mappings based on active activity

Example: Movie Night Script

alias: "Movie Night" sequence: - service: remote.send_command target: entity_id: remote.living_room_tv data: command: "POWER" - service: remote.send_command target: entity_id: remote.living_room_avr data: command: "POWER" - service: media_player.select_source target: entity_id: media_player.living_room_tv data: source: "HDMI 1" - service: light.turn_on target: entity_id: light.living_room data: brightness: 25

💡 Tip: All activity logic is handled inside Home Assistant. This makes your setup more flexible, easier to debug, and maintainable than traditional harmony remotes. You can update activities without touching the Astrion Remote configuration[reference:7].

Troubleshooting

TV Card Not Showing on Astrion Remote

  • Refresh the remote: Pull down from the top of the home screen and tap Refresh.
  • Verify entity exists: Make sure the media player or remote entity is available in Home Assistant.
  • Check YAML format: Ensure your configuration uses the correct syntax and indentation.
  • Update RosCard: If you're running an older version, update RosCard via HACS.

Button Controls Not Responding

  • Check entity status: Verify the remote or media player entity is available in Home Assistant.
  • Test in Home Assistant: Try sending the command directly from the Home Assistant UI to rule out connection issues.
  • Verify script exists: If using script binding, ensure the script ID is correct and the script is enabled.
  • Check command values: Verify the command value matches what the remote entity expects (e.g., "POWER" vs "power").

Volume Control Not Working as Expected

  • If volume buttons are controlling the wrong device, check that the entity_id in the button mapping points to the correct remote entity.
  • For activity-based setups, ensure your script handles volume routing correctly.
  • Some Android TV devices may require specific volume commands — check your device's documentation.

Script Not Triggering

  • Verify the script exists in Home Assistant and is enabled.
  • Check that the entity_id in the button mapping matches the script's entity_id.
  • Test the script directly from Home Assistant to ensure it works.
  • Check the script's mode — if it's single, it won't trigger while already running.

🔧 Note: After updating RosCard to a new version, you may need to resave all your TV Cards to refresh the binding. This is a known requirement for version updates.

Related resources

Need help with TV Card?

Our support team and community are here to assist you.

← Back to Climate Card Guide Next: Scene Card Guide →