#Devices / Activity Toggle

1 messages · Page 1 of 1 (latest)

river compass
#

The 2026.5 Security Dashboard brought the activity card, displayed in the sidebar for large screens. However on mobile devices, the activity card is not shown in line, which would be the case for a sidebar layout, but a toggle appears to go from one to the other. How is that done?

I would like to use this in my own dashboards as well.

blissful geode
#

I'm not sure how user-visible this is to use right now, so maybe use this at your own risk, but I can reproduce it in a sections dashboard with the following yaml:

type: sections
max_columns: 4
title: Sections Sidebar
path: sections-sidebar
sidebar:
  content_label: Foo
  sidebar_label: Bar
  sections:
    - type: grid
      cards:
        - type: logbook
          target:
            entity_id:
              - sun.sun
sections:
  - type: grid
    cards:
      - type: tile
        entity: sun.sun
        vertical: false
        features_position: bottom
cards: []

Adding a sidebar to a sections view seems to be the only current possible usecase. No guarantee it won't break or change in a future version.