Error while trying to do a blank line

So I am playing the examples.
My MainPanel look like

The bottom row 2nd button should navigate to my “Radar Panel”

And it did, but I got this

So I thought, just need to add some blank lines (- empty: x)

and I got this error. If I take out the - empty: 4, it display with bottom_panel in the middle.

Your Dashboard has the following errors:


RadarPanel: Error while parsing dashboard '/home/homeassistant/.homeassistant/AppDaemon/conf/dashboards/RadarPanel.dash': 
RadarPanel: parser says 
RadarPanel: in "", line 15, column 1: - empty: 4 ^ 
RadarPanel: found character '\t' that cannot start any token while scanning for the next token

radar_middle_panel.yaml

weather_frame:
    widget_type: iframe
    refresh: 100
    frame_style: ""
    img_list: 
      - http://api.wunderground.com/api/xxxxxxxxxxx/radar/image.gif?centerlat=35&centerlon=-97&radius=50&width=400&height=400&newmaps=1
   
layout:
    - weather_frame(5 x 4)

RadarPanel.dash

#
# Main arguments, all optional
#
title: Office Panel
widget_dimensions: [122, 120]
widget_margins: [5, 5]
columns: 8
#skin = green
#
# Includes (Optional)
#
layout:
    - include: top_panel
    - include: radar_middle_panel
	- empty: 4
    - include: bottom_panel

Looks like you have an unexpected tab character in there, in the empty line which is the line 15 in the error

1 Like

duh. I guess since it a .dash it did not use my .yaml. My bad. :blush:

2 Likes