How do you add tabs at the top for different lovelace pages?
I thought i did it in the sam file under views but its not working, it loads the same page.
here is an example of my workingh config…
title: working page
views:
- title: example
panel: true
cards:
- type: custom:layout-card
layout: vertical
column_num: 3
cards:
- type: glance
title: Quick Controls
columns: '4'
entities:
- entity: cover.garage_door
name: Garage Door
icon: mdi:garage
tap_action: toggle
- entity: lock.front_door
name: Front Door
tap_action: toggle
- entity: automation.plex_spy_notification
name: Voice Automations
icon: mdi:home-automation
tap_action: toggle
- entity: input_boolean.homeaway
name: Presence
icon: mdi:home-account
tap_action: toggle
- entity: script.applerap
name: Apple Rap
icon: mdi:speaker
tap_action: toggle
- entity: script.tophiphop
name: Amazon Rap
icon: mdi:speaker
tap_action: toggle
- entity: script.maingroup
name: Group
icon: mdi:speaker
tap_action: toggle
- entity: script.allgroup
name: All
icon: mdi:speaker
tap_action: toggle
and here is an example of what I tried that thought should work…
title: not working page where i try to add a tab at top for second lovelace page
views:
- title: example
panel: true
cards:- type: custom:layout-card
layout: vertical
column_num: 3
cards:- type: glance
title: Quick Controls
columns: ‘4’
entities:- entity: cover.garage_door
name: Garage Door
icon: mdi:garage
tap_action: toggle - entity: lock.front_door
name: Front Door
tap_action: toggle - entity: automation.plex_spy_notification
name: Voice Automations
icon: mdi:home-automation
tap_action: toggle - entity: input_boolean.homeaway
name: Presence
icon: mdi:home-account
tap_action: toggle - entity: script.applerap
name: Apple Rap
icon: mdi:speaker
tap_action: toggle - entity: script.tophiphop
name: Amazon Rap
icon: mdi:speaker
tap_action: toggle - entity: script.maingroup
name: Group
icon: mdi:speaker
tap_action: toggle - entity: script.allgroup
name: All
icon: mdi:speaker
tap_action: toggle
- entity: cover.garage_door
- type: vertical-stack
title: Sonos
cards:- type: vertical-stack
cards:- type: weather-forecast
entity: weather.ecobee - type: “custom:mini-graph-card”
entity: sensor.plex
hours_to_show: 168
hide_icon: true
height: 90
font_size: 1
detail: 2
line_color: “#1967EC” - type: custom:entity-attributes-card
title: Plex
heading_name: Name
icon: mdi:plex
heading_state: Currently Watching
filter:
include:
- key: sensor.tautulli_total.*
exclude:
- key: sensor.tautulli_total.friendly_name
- key: sensor.tautulli_total.unit_of_measurement
- key: sensor.tautulli_total.icon
- key: sensor.tautulli_total.name
- type: weather-forecast
- type: vertical-stack
- type: glance
- type: custom:layout-card