Default
Try the configured card with fictional devices.
Scroll to load this example.
Automatic camera preview to live video with a generated Frigate, UniFi Protect or Netatmo events popup.
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.
Choose the named low-resolution stream and keep the original event camera.
Scroll to load this example.
Use another camera entity for popup video.
Scroll to load this example.
Choose the native Protect media provider.
Scroll to load this example.
Choose native Netatmo recordings without inventing detection labels.
Scroll to load this example.
Enable preloading explicitly; the website does not start a real stream.
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-camera-cardentity_id: camera.front_doorvariables: event_provider: frigate frigate_camera: front_door frigate_instance_id: demo event_limit: 12 event_columns: 2Compatible entity domains: camera.
The tile displays a lightweight Home Assistant snapshot during startup. It can start Frigate video directly through the authenticated go2rtc proxy. A recent successful transport is preferred for the same source.
Auto and Low prefer the configured low-quality source. Set frigate_low_stream to a go2rtc stream name on this camera’s Frigate instance, or select low_stream_entity for a second Home Assistant entity of the same camera. Select one low source. With no available low source, the tile uses its primary entity. High always uses the primary entity.
entity_id remains the event source. popup_stream_entity selects video in the detail popup and fullscreen. If omitted, the popup uses the primary entity. Preloading is optional and uses resources while viewing other pages.
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 camera 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.stream_quality |
Dashboard video quality | select | auto |
Dashboard video quality for this card. Choices: auto, low, high. |
variables.low_stream_entity |
Low-quality camera entity | entity | Not set | Select a second entity for the same camera’s low-resolution feed. Searchable suggestions are available. |
variables.frigate_low_stream |
Frigate low-quality stream name | text | Not set | Enter a low-resolution go2rtc stream name on this camera’s Frigate instance. |
variables.popup_stream_entity |
Popup stream | entity | Not set | Popup stream for this card. Searchable suggestions are available. |
variables.preload_stream |
Preload stream in background | boolean | false |
Uses bandwidth and device resources on other dashboard pages. Popup video stays on demand. |
variables.popup_hash |
Popup hash | text | Not set | Optional link to an existing external popup hash. Omit it to use this card’s automatic details. |
variables.event_provider |
Event provider | text | auto |
Event provider for this card. Choices: auto, frigate, unifi_protect, netatmo. |
variables.frigate_camera |
Frigate camera name | text | Not set | Frigate camera name for this card. Searchable suggestions are available. |
variables.frigate_instance_id |
Frigate instance ID | text | Not set | Frigate instance ID for this card. Searchable suggestions are available. |
variables.unifi_protect_media_source |
UniFi Protect media source | text | Not set | UniFi Protect media source for this card. Searchable suggestions are available. |
variables.event_limit |
Event limit | number | 12 |
Event limit for this card. |
variables.event_columns |
Event columns | number | Not set | Preferred event columns inside the popup; reduces when space is limited. |
popup_view |
Custom popup view | text | Not set | Optional existing view path used for a Home Assistant managed popup layout. Omit for automatic details. 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. |
| Low-quality Frigate tile | Choose the named low-resolution stream and keep the original event camera. |
| Separate popup stream | Use another camera entity for popup video. |
| UniFi Protect events | Choose the native Protect media provider. |
| Netatmo recordings | Choose native Netatmo recordings without inventing detection labels. |
| Background preloading option | Enable preloading explicitly; the website does not start a real stream. |
| 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. |
Camera pictures and event metadata are fictional. Live streams, audio, native fullscreen and transport recovery require Home Assistant and are not simulated as working video.
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.