Hi everyone,
I’m currently struggling with my setup. I use UI Lovelace Minimalist for my Dashboards and after successfully creating my first dashboard, I wanted to develop my second (mobile) one. Unfortunately, the navigation is not working as expected.
So, based on this documentation, I’ve created a second ui-lovelace-2.yaml
file in the config/ui_lovelace_minimalist/dashboard/
with the content:
---
button_card_templates: !include_dir_merge_named "../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/"
title: "Minimalist-Mobile"
theme: "minimalist-mobile"
background: "var(--background-image)"
# views: !include_dir_merge_list "views/"
views:
- !include views/home-mobile.yaml
- !include views/Wohnzimmer-mobile.yaml
I also added the following part in the configuration.yaml
:
lovelace:
mode: storage
dashboards:
lovelace-minimalist-2:
mode: yaml
title: Minimalist Mobile
icon: mdi:cellphone
show_in_sidebar: true
filename: ui_lovelace_minimalist/dashboard/ui-lovelace-2.yaml
Of course, I restarted afterwards and the dashboard is showing in the sidebar.
I then changed my navigation action in my dashboard (Home-mobile.yaml)
:
title: "Home Mobile"
path: "Home-mobile"
type: custom:grid-layout
layout:
...
cards:
...
- type: "custom:button-card"
template:
- card_room
- grey_no_state
name: Wohnzimmer
entity: light.wohnbereich
icon: hue:room-living
tap_action:
action: navigate
navigation_path: "/ui-lovelace-minimalist/Wohnzimmer-mobile"
variables:
label_use_temperature: false
label_use_brightness: false
entity_1:
entity_id: light.wohnbereich
templates:
- yellow_on
tap_action:
action: toggle
The Wohnzimmer-mobile.yaml
conf:
title: "Wohnzimmer Mobile"
path: "Wohnzimmer-mobile"
type: custom:grid-layout
layout:
After reloading the dashboard, the navigation brings me to my Main Dashboard (Home
) not the expected Wohnzimmer-mobile
I also tried a private window to avoid cache issues.
Please, also see the file tree:
I’m not sure where I made a mistake or if it is a bug, but I’m deeply thankful for any advice.
Best regards,
wit4r7