# Ubiquiti UniFi Switch Lite 8 PoE
# Converted from the punchdown catalog on 2026-11-10. Source of the data: netbox.
network: 1
imports:
  - ../../defaults/types.network.yaml
models:
  ubiquiti/usw-lite-8-poe:
    name: UniFi Switch Lite 8 PoE
    vendor: Ubiquiti
    role: switch
    aliases: [ USW-Lite-8-PoE ]
    size: { width: 163.7, height: 31.7, depth: 99.6 }
    weight: 0.295
    power: { max: 52, inlets: 1 }
    x-assumed: [ power ports are on the rear ]
    ports:
      port-1..4: { type: 1000base-t, poe: at, native: "Port {n}", label: "{n} ⚡+" }
      port-5..8: { type: 1000base-t, native: "Port {n}" }
      input: { type: dc-terminal, role: power, side: rear, native: Input }
    x-airflow: passive
    faces:
      # A desktop unit with rounded corners.
      body: { type: rectangle, corner-radius: 6.5, edge-profile: rounded }
      front:
        background: plastic-white
        padding: { x: 3, y: 3 }
        layout:
          row:
            gap: 0
            items:
              - indicator: { id: status, width: 1.4, height: 1.4, color: "#3b8eea", margin: { left: 9.4, right: 2.6 } }
              # The latch notch is at the top on this switch, so the jacks are turned over and numbered below.
              - row: { background: "#3a3a3a", gap: 2.1, items: [ { port-1..4: { rotation: 180, lights: link-activity, label-position: below } } ] }
              - row: { background: "#3a3a3a", gap: 2.1, margin: { left: 1.2, right: 3.4 }, items: [ { port-5..8: { rotation: 180, lights: link-activity, label-position: below } } ] }
              - label:
                  width: 7
                  height: 15
                  text-style: { size: 1.5, line-height: 2.2, align: start }
                  text: |-
                    PoE
                    OFF
                    ON
                    LINK
                    DOWN
                    10/100
                    1000
      rear:
        background: plastic-white
        padding: { x: 3, y: 3 }
        layout:
          row:
            gap: 0
            items:
              - grow
              - input: { label-position: none, margin: { right: 22 }, caption: { text: "Input: 54V ⎓ 1.1A", gap: 2.85, text-style: { size: 1.46 } } }
    source:
      url: https://techspecs.ui.com/unifi/switching/usw-lite-8-poe
      checked: 2026-11-11
      x-from: netbox
      x-faces: measured by hand from the NetBox photos on 2026-11-11 (docs/face-examples.md)
      x-netbox: ubiquiti-unifi-switch-lite-8-poe
      x-reference-image: https://images.svc.ui.com/?u=https%3A%2F%2Fcdn.ecomm.ui.com%2Fproducts%2F75c44878-4e73-446e-8e86-f207db6b2b7c%2F53b8b06b-69c7-424f-bb81-2f8405356c65.png&q=75&w=1080
      x-netbox-elevation: [ front, rear ]
