When trying to make a dashboard I get this error:
An error occurred creating the `lovelace.dashboard...` file. The dashboard code that was created is not valid json code.
Any idea what might be going on?
The log says:
05-08 05:53:33 [dashboard_bu:0136] ------ Error Preparing Dashboard, Invalid Json string > {“version”: 1, “minor_version”: 1, “key”: “lovelace.ic3db_template_master”, “data”: {“config”: {“views”: [{“title”: “Main”, “path”: “main”, “type”: “sections”, “max_columns”: 2, “icon”: “”, “cards”: , “sections”: [{“type”: “grid”, “cards”: [{“type”: “horizontal-stack”, “cards”: [{“type”: “vertical-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “device_tracker.jeffs_iphone_icloud3”, “name”: “Jeff"s iPhone”}, {“entity”: “sensor.jeffs_iphone_icloud3_arrival_time”, “name”: “Arrive”}, {“entity”: “sensor.jeffs_iphone_icloud3_home_distance”, “name”: “Distance”}, {“entity”: “sensor.jeffs_iphone_icloud3_travel_time”, “name”: “TravTime”}, {“entity”: “sensor.jeffs_iphone_icloud3_next_update”, “name”: “NextUpdt”}], “state_color”: true}]}]},{“type”: “vertical-stack”, “cards”: [{“type”: “tile”, “entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Jeff"s iPhone”, “features_position”: “bottom”, “vertical”: false}], “grid_options”: {“columns”: 4, “rows”: “auto”}}]}, {“type”: “grid”, “cards”: [{“type”: “custom:icloud3-event-log-card”}]}]}, {“title”: “Other Devices”, “path”: “other-devices”, “type”: “sections”, “max_columns”: 2, “icon”: “”, “cards”: , “sections”: [{“type”: “grid”, “cards”: [{“type”: “vertical-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “device_tracker.jeffs_iphone_icloud3”, “name”: “Jeff"s iPhone”}, {“entity”: “sensor.jeffs_iphone_icloud3_arrival_time”, “name”: “Arrive”}, {“entity”: “sensor.jeffs_iphone_icloud3_home_distance”, “name”: “Distance”}, {“entity”: “sensor.jeffs_iphone_icloud3_travel_time”, “name”: “TravTime”}, {“entity”: “sensor.jeffs_iphone_icloud3_next_update”, “name”: “NextUpdt”}], “state_color”: false}, {“type”: “glance”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Battery”}, {“entity”: “sensor.jeffs_iphone_icloud3_interval”, “name”: “Interval”}, {“entity”: “sensor.jeffs_iphone_icloud3_moved_distance”, “name”: “Moved”}, {“entity”: “sensor.jeffs_iphone_icloud3_last_located”, “name”: “Located”}, {“entity”: “sensor.jeffs_iphone_icloud3_last_update”, “name”: “LastUpdt”}]}, {“type”: “entities”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_info”}]}]}], “column_span”: 2}]}, {“title”: “*All Info”, “path”: “ic3db-tracking”, “type”: “sections”, “max_columns”: 2, “cards”: , “header”: {“card”: {“type”: “markdown”, “text_only”: true, “content”: “
Device Information (Tracking Results & Status, Device Info Msg)
This screen shows Device Information sensors that can be copied and pasted to other dashboards as a combined group or as group sections.”}, “layout”: “start”, “badges_position”: “bottom”}, “sections”: [{“type”: “grid”, “cards”: [{“type”: “markdown”, “text_only”: true, “content”: “
🀫 Combined Group (results+status+info) → Jeff"s iPhone
”}, {“type”: “vertical-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “device_tracker.jeffs_iphone_icloud3”, “name”: “Jeff"s iPhone”}, {“entity”: “sensor.jeffs_iphone_icloud3_arrival_time”, “name”: “Arrive”}, {“entity”: “sensor.jeffs_iphone_icloud3_home_distance”, “name”: “Distance”}, {“entity”: “sensor.jeffs_iphone_icloud3_travel_time”, “name”: “TravTime”}, {“entity”: “sensor.jeffs_iphone_icloud3_next_update”, “name”: “NextUpdt”}], “state_color”: false}, {“type”: “glance”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Battery”}, {“entity”: “sensor.jeffs_iphone_icloud3_interval”, “name”: “Interval”}, {“entity”: “sensor.jeffs_iphone_icloud3_moved_distance”, “name”: “Moved”}, {“entity”: “sensor.jeffs_iphone_icloud3_last_located”, “name”: “Located”}, {“entity”: “sensor.jeffs_iphone_icloud3_last_update”, “name”: “LastUpdt”}]}, {“type”: “entities”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_info”}]}]}, {“type”: “markdown”, “text_only”: true, “content”: “
[Ⲷ] Separate Groups (results, status, info) → Jeff"s iPhone
”}, {“type”: “horizontal-stack”, “cards”: [{“type”: “vertical-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “device_tracker.jeffs_iphone_icloud3”, “name”: “Jeff"s iPhone”}, {“entity”: “sensor.jeffs_iphone_icloud3_arrival_time”, “name”: “Arrive”}, {“entity”: “sensor.jeffs_iphone_icloud3_home_distance”, “name”: “Distance”}, {“entity”: “sensor.jeffs_iphone_icloud3_travel_time”, “name”: “TravTime”}, {“entity”: “sensor.jeffs_iphone_icloud3_next_update”, “name”: “NextUpdt”}], “state_color”: true}]}]}, {“type”: “horizontal-stack”, “cards”: [{“type”: “vertical-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Battery”}, {“entity”: “sensor.jeffs_iphone_icloud3_interval”, “name”: “Interval”}, {“entity”: “sensor.jeffs_iphone_icloud3_moved_distance”, “name”: “Moved”}, {“entity”: “sensor.jeffs_iphone_icloud3_last_located”, “name”: “Located”}, {“entity”: “sensor.jeffs_iphone_icloud3_last_update”, “name”: “LastUpdt”}], “state_color”: true}]}]}, {“type”: “horizontal-stack”, “cards”: [{“type”: “vertical-stack”, “cards”: [{“type”: “entities”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_info”}]}]}]}], “column_span”: 1}]}, {“title”: “*Track Results”, “path”: “ic3db-summary”, “type”: “sections”, “max_columns”: 2, “header”: {“card”: {“type”: “markdown”, “text_only”: true, “content”: “
Device Information - Tracking Results
This screen shows the Tracking Results group for all devices.”}, “layout”: “start”, “badges_position”: “bottom”}, “sections”: [{“type”: “grid”, “cards”: [{“type”: “horizontal-stack”, “cards”: [{“type”: “vertical-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “device_tracker.jeffs_iphone_icloud3”, “name”: “Jeff"s iPhone”}, {“entity”: “sensor.jeffs_iphone_icloud3_arrival_time”, “name”: “Arrive”}, {“entity”: “sensor.jeffs_iphone_icloud3_home_distance”, “name”: “Distance”}, {“entity”: “sensor.jeffs_iphone_icloud3_travel_time”, “name”: “TravTime”}, {“entity”: “sensor.jeffs_iphone_icloud3_next_update”, “name”: “NextUpdt”}], “state_color”: true}]}]}], “column_span”: 2}]}, {“title”: “*Badge, Battery”, “path”: “ic3db-badge-battery”, “type”: “sections”, “max_columns”: 2, “header”: {“card”: {“type”: “markdown”, “text_only”: true, “content”: “
Device Badge and Battery Sensors
This screen shows t,he Device’s Badge and Battery sensors in several formats that can be copied and pasted to other dashboards”}, “layout”: “start”, “badges_position”: “bottom”}, “sections”: [{“type”: “grid”, “cards”: [{“type”: “horizontal-stack”, “cards”: [{“type”: “glance”, “entities”: [{“entity”: “sensor.jeffs_iphone_icloud3_badge”, “name”: “Jeff"s iPhone”}, {“entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Jeff"s iPhone”}]}], “grid_options”: {“columns”: 6, “rows”: “auto”}}, {“type”: “vertical-stack”, “cards”: [{“type”: “tile”, “entity”: “sensor.jeffs_iphone_icloud3_badge”, “name”: “Jeff"s iPhone”, “features_position”: “bottom”, “vertical”: false, “show_entity_picture”: true}, {“type”: “tile”, “entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Jeff"s iPhone”, “features_position”: “bottom”, “vertical”: false}], “grid_options”: {“columns”: 6, “rows”: “auto”}}], “column_span”: 2}, {“type”: “grid”, “cards”: [{“type”: “markdown”, “text_only”: true, “content”: “
Device Badge Sensors
”}, {“type”: “vertical-stack”, “cards”: [{“type”: “tile”, “entity”: “sensor.jeffs_iphone_icloud3_badge”, “name”: “Jeff"s iPhone”, “features_position”: “bottom”, “vertical”: false, “show_entity_picture”: true}], “grid_options”: {“columns”: 4, “rows”: “auto”}}]}, {“type”: “grid”, “cards”: [{“type”: “markdown”, “text_only”: true, “content”: “
Device Battery Sensors
”}, {“type”: “vertical-stack”, “cards”: [{“type”: “tile”, “entity”: “sensor.jeffs_iphone_icloud3_battery”, “name”: “Jeff"s iPhone”, “features_position”: “bottom”, “vertical”: false}], “grid_options”: {“columns”: 4, “rows”: “auto”}}]}]}, {“title”: “Event Log”, “path”: “event-log”, “type”: “sections”, “max_columns”: 2, “sections”: [{“type”: “grid”, “cards”: [{“type”: “custom:icloud3-event-log-card”}]}, {“type”: “grid”, “cards”: [{“type”: “heading”, “icon”: “mdi:select-group”, “heading”: “Main-View-Template-Style: result-summary”, “heading_style”: “subtitle”}]}]}, {“title”: “Main (Backup)”, “path”: “main-backup”, “type”: “sections”, “max_columns”: 2, “sections”: [{“type”: “grid”, “cards”: [{“type”: “heading”, “icon”: “mdi:select-group”, “heading”: “Main Screen - Before Last Recreate Action”, “heading_style”: “subtitle”}]}]}]}}}