Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 574 Bytes

view-panel.md

File metadata and controls

23 lines (20 loc) · 574 Bytes

Panel view

This type of view uses the first card in the cards array to expand it to ocuppy the complete view space, similar to panels. One very good practical use will be for floor plan type of cards.

Example

views:
- icon: mdi:settings
  id: debug
  title: Floorplan
  panel: true
    cards:
      - type: picture-elements
        image: /local/floorplans/main.jpg
        elements:
          - type: state-icon
            tap_action: toggle
            entity: light.ceiling_lights
            style:
              top: 47%
              left: 42%