#New Default Dashboard Question

1 messages · Page 1 of 1 (latest)

kind oyster
#

I'm trying to add a similar "Favorites" & "Summaries" section to my own dashboard but I'm not understanding how those sections were created on the newest default dashboard. Can anyone point me in the right direction to get started? I'm guessing a Tile Card is being used but I don't understand the links? Are the links to hidden dashboards or sections?

Second question: In the main body there are square buttons with links to all the diffferent rooms. What card is being used for those? Again I don't understand what card is being used and how the links are created to the new page.

Thanks in advance

slow linden
#

Favourites uses the following code added to a section

strategy:
  type: common-controls
  title: Common controls
column_span: 4
#

Summaries use

type: home-summary
summary: climate
vertical: null
grid_options:
  rows: 1
  columns: 2
tap_action:
  action: navigate
  navigation_path: /dashboard-mydashboard/energy
#

summary = climate / light / media_players / security / energy

The "Area" card are the rooms

kind oyster
#

That makes sense and gives me something to play around with. I was hoping for visual editor and not yaml though. I understand the climate, energy are just simple page links but the light, media player are different.

How do you link to all lights and seperated out in each room and area? That is where I get lost.

Edit: You ROCK! Thank you very much, I was able to figure it out and it works great. You made my day.

kind oyster
#

I spoke too soon, I can't get the "Summeries" to work it errors out. I replace the yaml with the entire text listed above removing the default text when the file is opened and it does not like that.

I don't get any error message associated with it either. Any ideas? Could it be the navigation path? or naming being wrong? I see climate used in summary but energy used in nav path?

slow linden
#

The dashboards are my personal dashboards not the system generated.
If using the system generated lights, energy etc. a couple of options.

  • navigate to required dashboard in browser and review url
  • create a card and in interactions select “Navigate” you should be able to view the list of dashboards and views, select, then review via yaml
kind oyster
#

Let me give that a try. I tried both HA generated dashboards ie: energy and ones I created ie:weather.

I must be missing something simple the url should be /energy or /weather if i look at the web browser. the /dashboard-mydashboard/ does not make sense?

Edit: I still can't figure it out here is what I'm doing so we are on the same page.

  1. Open Home Assistant to my main dashboard-edit view-add view (new blank page)
  2. Create section-edit-edit in YAML
  3. Post the Summaries code listed above
  4. errors out because I'm not smart enough to figure it out.....I do not like YAML
slow linden
#

The “dashboard-my dashboard” should be omitted

Which summary isn’t showing?

kind oyster
#

I did omit "dashboard-my dashboard" and used what was shown in the browser url but that errored out also. None of the summaries show. They work just fine in the HA default new style dashboard but when I try to add that to my own dashboard it will not work.

slow linden
#

Copied from the Tile Card I have

type: home-summary
summary: light
vertical: null
grid_options:
  rows: null
  columns: 2
tap_action:
  action: navigate
  navigation_path: /light
#

The indented text is important

kind oyster
#

Got-it! it finally worked!

Thank you so much for helping me understand how the YAML should look.

kind oyster
#

On the default dashboard in the "Summaries" there is a "Weather" card. That one is different than the others. Do you know what the navigation path is on that particular card. When you click it the Nation Weather Service pops open. I'm not able to figure out how to get that last one to work.

type: home-summary
summary: weather
vertical: null
grid_options:
rows: null
columns: 2
tap_action:
action: navigate
navigation_path: /weather.kikv

slow linden
#

For weather, I use a standard tile card and entity: weather.forecast_home where “home” is my HA instant name

kind oyster
#

Perefect, works good now. I was looking at it from the wrong persepective. Thank you

kind oyster
#

Does anyone know what Card is being used in the default dashboard show in the screen shot? If it's not a Card then the YAML? I'm stumped and can't figure it out. I see it looks like an area card but the size and shape of the card is different and I'm not able to reproduce. It's a nice tight square that works well on the handheld device and desktop.

TIA

slow linden
#

Try below (area card, compact ) and columns = 3, can be achieved by using Precise mode under the layout tab

display_type: compact
type: area
area: bathroom
features_position: bottom
vertical: true
grid_options:
  rows: 2
  columns: 3

On mobile columns = 4 will also show 3 squares wide per row (default seems to be 6)

kind oyster