Default
Try the configured card with fictional devices.
Scroll to load this example.
Open a configured source on the selected media player.
Scroll through the real card’s behaviors using fictional data. Open its details to inspect the real popup. Offscreen examples reset when reloaded.
The documentation theme applies to every example. Use the playground below to edit configuration.
Try the configured card with fictional devices.
Scroll to load this example.
Automatic matches the exact HBO Max source.
Scroll to load this example.
Explicit artwork leaves the launch source unchanged.
Scroll to load this example.
Use packaged Netflix artwork while retaining the Radio source.
Scroll to load this example.
Choose Music from the player’s advertised source list.
Scroll to load this example.
An offline player cannot accept a source command.
Scroll to load this example.
Wait for Home Assistant state before showing controls.
Scroll to load this example.
The entity exists but has no known state. Controls remain neutral and disabled.
Scroll to load this example.
The entity is unavailable. No device action is dispatched.
Scroll to load this example.
A removed entity produces an explicit neutral missing-state result.
Scroll to load this example.
Controls refuse actions when Home Assistant is disconnected.
Scroll to load this example.
Try the card below. Select Open playground to choose a behavior or edit settings and YAML. Everything in the preview uses fictional devices. Copy YAML exports the card configuration, without demonstration states or service responses.
Loading preview…
In Home Assistant, choose Edit dashboard → Add card → Manual, then paste the YAML below. Replace fictional entity IDs with your own. You can also find the card in Home Assistant’s card picker and use its native editor.
type: custom:marao-media-app-cardentity_id: media_player.living_roomvariables: app_source: Radioname: Radioicon: mdi:radioCompatible entity domains: media_player.
Choose App logo independently of the launch source: Automatic, Netflix, Spotify, YouTube, Disney+, Prime Video, Apple TV, Plex, MEO, HBO Max or F1 TV. Artwork ships with Marao. Automatic matches the source (including MEO Go); an unrecognized source keeps your fallback icon. Choosing a logo does not change what the player opens.
For a standalone shortcut, use variables.app_logo:
type: custom:marao-media-app-cardentity_id: media_player.living_roomname: Custom TV appicon: mdi:televisionvariables: app_source: Custom TV app app_logo: netflixIn a Media card’s Apple TV options, each app has the same chooser. Its logo becomes the shortcut’s artwork in popup and inline layouts:
apple_tv: apps: - name: Custom TV app source: Custom TV app icon: mdi:television logo: netflixOmit the option or choose Automatic to restore matching. Valid IDs are netflix, spotify, youtube, disney-plus, prime-video, apple-tv, plex, meo, hbo-max and f1-tv. The source must exactly match an app supported by your player.
The table lists the shared catalog fields and this card’s structured options. Not set means the example does not impose a value; Home Assistant and Marao use the entity’s capabilities and the card’s normal behavior. Structured values remain editable as YAML.
| YAML path | Setting | Value type | Catalog default | Behavior |
|---|---|---|---|---|
entity_id |
Entity | entity | Not set | A media_player entity from your Home Assistant. Searchable suggestions are available. |
name |
Name | text | Not set | Optional display name; otherwise use the entity’s friendly name. |
icon |
Icon | icon | Not set | Optional icon name such as mdi:lightbulb-outline. Searchable suggestions are available. |
show_name |
Show name | boolean | Not set | Optional native card appearance setting. Normal availability warnings remain visible. |
show_icon |
Show icon | boolean | Not set | Optional native card appearance setting. Normal availability warnings remain visible. |
show_state |
Show state | boolean | Not set | Optional native card appearance setting. Normal availability warnings remain visible. |
show_label |
Show label | boolean | Not set | Optional native card appearance setting. Normal availability warnings remain visible. |
tap_action |
tap action | json | Not set | Configure through Home Assistant’s native action selector. Role and access safety checks still apply. |
hold_action |
hold action | json | Not set | Configure through Home Assistant’s native action selector. Role and access safety checks still apply. |
double_tap_action |
double tap action | json | Not set | Configure through Home Assistant’s native action selector. Role and access safety checks still apply. |
variables.custom_label |
Custom state label | text | Not set | Custom state label for this card. |
variables.md_label_prefix |
State label prefix | text | Not set | State label prefix for this card. |
variables.card_color |
Card color | color | Not set | Optional card background color. |
variables.active_color |
Active color | color | Not set | Active color for this card. |
variables.app_source |
App source | text | Not set | App source for this card. Searchable suggestions are available. |
variables.app_logo |
App logo | app_logo | Not set | Choose artwork independently of the app source. Choices: netflix, spotify, youtube, disney-plus, prime-video, apple-tv, plex, meo, hbo-max, f1-tv. |
variables.action_color |
Action color | color | Not set | Optional action background color; does not change the action’s safety rules. |
variables.action_label |
Action label | text | Not set | Optional visible action label. |
variables.action_label_key |
Action translation key | text | Not set | Optional Marao localization key for the action label. Searchable suggestions are available. |
Select Open playground, then choose a scenario to inspect its configuration and reported device state. Similar numeric or color values do not need separate examples.
| Scenario | What it demonstrates |
|---|---|
| Default | Try the configured card with fictional devices. |
| HBO Max | Automatic matches the exact HBO Max source. |
| F1 TV | Explicit artwork leaves the launch source unchanged. |
| Selected logo | Use packaged Netflix artwork while retaining the Radio source. |
| Another source | Choose Music from the player’s advertised source list. |
| Source unavailable | An offline player cannot accept a source command. |
| Loading state | Wait for Home Assistant state before showing controls. |
| Unknown state | The entity exists but has no known state. Controls remain neutral and disabled. |
| Unavailable | The entity is unavailable. No device action is dispatched. |
| Missing entity | A removed entity produces an explicit neutral missing-state result. |
| Disconnected | Controls refuse actions when Home Assistant is disconnected. |
Home Assistant owns card sizing, sections and visibility. Marao controls retain their touch targets and capability checks. Unknown, unavailable or disconnected entities use neutral presentation and disable unsafe actions. See layouts and popups and shared interactions.