Nomi Digital

Setting up a dashboard for HA2ATV

Prepare a Home Assistant dashboard for HA2ATV, and see what carries over to the TV.

HA2ATV imports your dashboard and renders each view’s cards natively. Some cards and settings have no TV equivalent. The first section lists the changes that give the closest match; the rest is a reference.

A Sections view in HA2ATV: four sections, Kitchen, Bedroom, Office and Entrance, side by side as columns, each headed by its Heading card.
A Sections view on the TV. Each section is a column, headed by its Heading card; badges sit beside the title.

In HA2ATV means the app’s own Settings on your Apple TV. In Home Assistant means Home Assistant’s Settings, in a browser or the Home Assistant app.

Tune your dashboard in Home Assistant

These changes apply wherever you use the dashboard. To leave your everyday dashboard as it is, make one for the TV: in Home Assistant, go to Settings › Dashboards and select Add dashboard.

To edit a dashboard, open it and select Edit dashboard (the pencil, top right). Select Save after each change and Done when you finish. HA2ATV picks up the saved dashboard within seconds.

  1. See what needs fixing. In HA2ATV, open Settings › Dashboards › What didn’t come across. It lists each card that looks different on the TV, and why.
  2. Start from a dashboard you can edit. An Overview you have never edited is built by Home Assistant, and HA2ATV shows one view per area. Select Edit dashboard, then Take control, to edit it. New devices are then no longer added for you.
  3. Put the views you want first. HA2ATV shows only the first views; how many depends on your Apple TV (see Views). In edit mode, select a view’s tab and use the arrows beside its name (Move view left) to bring it to the front.
  4. Set each view’s layout to Sections. HA2ATV shows each section as a column. Select the pencil beside the view’s name (Edit view) and, under Settings, set Layout to Sections. If the view uses another layout, Home Assistant offers Convert, which puts all its cards into one section called Imported cards. Select Create section to add more sections, and drag cards between them.
  5. Keep to 4 columns. The TV shows at most 4 columns. In Edit view › Settings, set Max number of sections wide to 4 or fewer. A section with a Width of 2 (Edit section › Settings) takes two of those columns.
  6. Start each section with a Heading card. If a section has none, select Add card › Heading and drag it to the top of the section. Its text becomes the column’s title on the TV, and any badges on it sit beside the title. Heading icons and subtitles are not shown.
  7. Set a tap action on every interactive card. On each card that should do something, set Tap behavior in the card’s editor, for example to Toggle or More info. Only tap_action runs; if a card relies on Hold behavior or Double tap behavior, set that action under Tap behavior instead. See The Siri Remote.
  8. Keep names short. Long names are cut off on the TV. Set a short Name in the card’s editor: Kitchen rather than Kitchen Ceiling Lights Main.
  9. Use pictures saved in Home Assistant. Upload the picture in the card’s editor, or copy it to /config/www and reference it as /local/your-image.jpg. See Pictures and cameras for formats and limits.
  10. Check again. Open What didn’t come across once more. Anything still listed there says why.

HA2ATV terms

Choosing a dashboard

Views

HA2ATV shows only the first views in a dashboard, and how many depends on your Apple TV. Later views are skipped without a message, so put the ones you want first. To check your model, open the Apple TV’s own Settings › General › About.

Apple TVViewsCards on a pageLive cameras on a page
Apple TV 4K (3rd generation)6244
Apple TV 4K (2nd generation)5163
Apple TV 4K (1st generation)4122
Apple TV HD3102

Layout

Use the Sections view type. Each section becomes a column on the TV, titled by its Heading card (step 6).

A Sections view with five sections becomes two pages on the TV: the first four sections side by side as columns, and the fifth on the next page. Sections view, 4 sections wide KitchenBedroomOfficeEntranceGarden On the TV KitchenBedroomOfficeEntrance Page 1 Garden Page 2
Sections that don’t fit side by side continue on the next page.
View typeOn the TV
SectionsEach section is a column, or wider if it spans more than one. Up to 4 columns side by side; sections that don’t fit move to the next page.
MasonryCards are arranged in up to 3 columns, and a stack stays together.
PanelOnly the first card is shown, filling the page. A horizontal stack, or a grid of 2 to 4 columns, keeps its columns.
SidebarMain cards take three quarters of the width, and sidebar cards the rest.
layout-card viewsFollow the layout-card grid, up to 4 columns.

Cards

Almost every built-in Home Assistant card has a matching card in HA2ATV. Most keep their entity and name; some display options are not carried over.

Home Assistant cardIn HA2ATVWorth knowing
Alarm panelStatus and arm buttonsYou can’t enter a code on the TV, so a panel that needs a code has no arm or disarm buttons.
AreaThe area’s image, or a list of its entitiesThe list updates when you next save the dashboard in Home Assistant or restart the app.
Button, EntityA tile or control suited to the device, such as a dimmer for a lightA Button card whose tap action is None shows as a read-only tile.
Calendar, To-do listCalendar or to-do cardA Calendar card needs at least one calendar chosen.
Energy distribution, Energy usage graph, energy gaugesThe same energy cards, for today onlyHome Assistant’s Energy dashboard must be set up. Tables and per-device breakdowns are left out.
Entities, GlanceA list of entitiesUp to 100 rows. Rows from custom cards HA2ATV doesn’t support are left out.
History graph, Statistics graphA chartThe first 4 entities only. History covers up to 7 days, statistics up to 31 days.
Light, Thermostat, HumidifierA card with that device’s full controlsOnly the entity and name are used.
MapA map image, updated every 30 secondsUp to 12 person or device_tracker entities. Location history trails are not shown.
MarkdownText cardUp to 4,096 characters, shown as plain text: formatting, images and tables are not shown.
Media controlMedia player cardNeeds a media player entity.
Picture elementsFloor plan with markersUp to 48 markers.
Picture, Picture entity, Picture glancePictureSee Pictures and cameras.
Plant status, LogbookA simple listThe Logbook card shows each entity’s last change, not the full log.
Sensor, GaugeA reading, or a gauge dialGauge range, needle and severity colors are kept.
TileTile with its name, icon and stateMost tile features work, such as brightness sliders and mode selectors. Tile color is not used.
Weather forecastWeather cardForecast options are not used.
WebpageNot showntvOS has no web view, so Webpage cards can’t be shown.

Stacks and grids set the layout. Swipe, tab and expander cards show all their cards one after another. A card HA2ATV doesn’t recognize is shown as the nearest built-in card for the entities it lists, marked "Shown as the closest built-in card". If it lists no entities, it’s left out.

Custom cards

Only the listed settings carry over. Other custom cards are handled as described in Cards.

Custom cardIn HA2ATVWhat carries overWhat doesn’t
apexcharts-cardChartUp to 4 entities, up to 7 days, barsSeries whose data is worked out in JavaScript
auto-entitiesA list of entities, up to 100Filters by domain, name, state, attribute and integrationTemplate filters. The list updates when you next save the dashboard or restart the app
bar-cardBars, up to 24Range, color, severity, direction, heightAnimation, value templates
big-slider-cardA slider that fills the cardColor, percentage, directionSliders for attributes
Bubble CardTiles, sliders and thermostats; pop-ups open as panelsName, icon, attributes, up to 8 buttons in a button stackSub-buttons, double tap
button-cardA button with its name, icon and colorsName, label, icon, colors, layout, state colors, shared templatesJavaScript, custom fields, most custom styles
Custom gauge cardsGauge dialRange and colored segmentsOther styling
Custom thermostat, media, calendar, camera and weather cardsThe matching HA2ATV cardThe entityTheir own layouts and options
decluttering-card, streamline-cardThe card they produceVariablesCard templates that need Jinja or JavaScript
layout-card, stack-in-card, swipe and tab cardsLayout onlyColumns and orderHidden tabs and slides are shown one after another
mini-graph-cardA reading with a line, or a chartHours to show, line width, fill, line colorMore than 4 entities
Mushroom cardsTiles, sliders, and tiles with a second line of textName, icon, colors, tap action, and templates on Mushroom template cardsControls with no TV equivalent
Mushroom chips and titleLabels at the top of the page, and section titlesName, icon, color, conditionsNavigate and link chips are shown, but do nothing when selected

Not shown: Webpage and HTML cards, ha-floorplan, auto-entities with a template filter, charts made entirely in JavaScript, and buttons that exist only through JavaScript.

card-mod styling carries over only for a card’s border, corner radius, solid background color and shadow. Gradients, theme variables, templates, and styles aimed at parts inside a card are ignored.

Templates and conditions

Templates (Jinja) work only in Markdown cards and in Mushroom template cards’ text, icon and color fields.

A card with a condition appears and disappears as things change, depending on the condition type:

ConditionIn HA2ATV
State, numeric state, and, or, notFollowed as things change
Screen sizeChecked once, treating the TV as a screen 1920 pixels wide, so conditions for phone-sized screens are not met
UserAlways treated as met
Time, location and any other typeNot evaluated, so the card always shows

A condition on an entity HA2ATV can’t read hides the card. Numeric state conditions need literal above and below values, not entity references. An Entity Filter card shows all its entities: its filter is not applied.

The Siri Remote

Selecting a card with the Siri Remote (pressing the center of the clickpad) runs its tap_action. Hold and double tap actions don’t run, so give every card that does something a tap action (step 7).

Tap actionIn HA2ATV
Toggle, More infoThe card’s own control, or its details
NoneNothing happens
Perform actionRuns, if its target and data contain no templates
NavigateMoves to another view, subview or pop-up in the same dashboard. A link to another dashboard does nothing
URL, AssistNot available

HA2ATV always asks "Are you sure?" before it unlocks a lock, disarms an alarm, opens a garage door or gate, opens a valve, or restarts Home Assistant. These questions can’t be turned off. Locking, closing an ordinary cover and arming an alarm don’t ask.

Pictures and cameras

A picture appears only if it is stored on the Home Assistant you signed in to (step 9). Pictures from other websites, and from Home Assistant’s Media browser, are not shown.

Theme and look

Your Home Assistant theme carries over, including its colors, card corners, borders and shadows. HA2ATV adjusts any color that would be hard to read across the room.

Each dashboard can also have its own background (a color or a picture, used instead of the view background from Home Assistant) and its own card style (a fill color, Glass for a frosted-glass look, or Shadow). Card colors stay as they are unless you select a fill. Choose them with the Appearance and layout button at the top right of the dashboard; Settings › Default appearance sets what every dashboard uses until you give it its own.

After you change something

The TV updates by itself, and you stay on the same page.

What changedWhen the TV shows it
The dashboard, after you save itWithin seconds
Device states and readingsWithin 30 seconds, or about a second after you select a card on the TV
Template textAs it changes, while that page is on screen
auto-entities lists and Area cardsWhen you next save the dashboard or restart the app, not when devices change
The automatic OverviewThe next time the app starts

To update a list after adding devices, save any small change to the dashboard, or restart the app.

A new version of the dashboard waits while a confirmation, a details panel or a pop-up is open, so nothing moves while you use it. If HA2ATV can’t reach Home Assistant, the last version stays on screen with "Reconnecting…".

Your HA2ATV appearance is kept. The background, card style, text size, columns and navigation you choose in HA2ATV’s Appearance and layout belong to the dashboard’s URL, so they stay when you edit the dashboard in Home Assistant. Changing the dashboard’s URL, or deleting it, starts it over with your default appearance.

To go back to the imported appearance, open Appearance and layout on that dashboard and set Background, Cards and Columns to Match Home Assistant.

When something doesn’t look right

In HA2ATV, open Settings › Dashboards › What didn’t come across. It shows each Home Assistant view next to its page on the TV, with the reason for every card that changed. Views beyond your Apple TV’s limit are not listed, so if a whole view is missing, see Views.

Label on a cardWhat it means
SimplifiedShown more simply, with the reason underneath
Grouped with othersCombined with similar cards
Became a titleNow a section title
Became badgesNow labels at the top of the page
Became a pop-upOpens as a panel
Became a Floor planShown as a picture with markers
Dimmed, with a dashed outlineNot supported, with the reason underneath
Message on the TVWhat to do
This account can’t list dashboards.Sign in again with an administrator account.
Home Assistant didn’t let this app read that dashboard.The dashboard may be Admin-only. Sign in as an administrator, or in Home Assistant’s Settings › Dashboards, open the dashboard and turn Admin-only off.
Couldn’t reach Home Assistant.Check that Home Assistant is running, and that the address is right.
This dashboard is larger than this Apple TV can show.Move some views or cards to another dashboard. The limit is 20,000 cards, counting each card inside a stack.
This dashboard couldn’t be saved on this Apple TV.Move some views or cards to another dashboard, or remove repeated cards.
Nothing on this dashboard can be shown on an Apple TV.Use cards from the tables above.
This dashboard couldn’t be read.Check that it opens in Home Assistant, then try again.

Still stuck? See the HA2ATV support page, or write to info@nomi-digital.com.au and say which card or view does not look right.

Home Assistant is a trademark of the Open Home Foundation. HA2ATV is not affiliated with or endorsed by the Open Home Foundation or Nabu Casa. Other card names belong to their authors.