From 1b006f2ba01439222eb3157ee78a970e4f4ce454 Mon Sep 17 00:00:00 2001
From: Marcel <83114662+Master2386@users.noreply.github.com>
Date: Tue, 20 Jun 2023 14:18:27 +0200
Subject: [PATCH] Add Ubiquiti Flex-XG (#1399)

* Add Ubiquiti Flex-XG

* Update USW-Flex-XG.yaml

Added poe_mode and poe_type

* Update USW-Flex-XG.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
---
 device-types/Ubiquiti/USW-Flex-XG.yaml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 device-types/Ubiquiti/USW-Flex-XG.yaml

diff --git a/device-types/Ubiquiti/USW-Flex-XG.yaml b/device-types/Ubiquiti/USW-Flex-XG.yaml
new file mode 100644
index 00000000..224fd66d
--- /dev/null
+++ b/device-types/Ubiquiti/USW-Flex-XG.yaml
@@ -0,0 +1,24 @@
+---
+manufacturer: Ubiquiti
+model: UniFi Switch Flex XG
+slug: ubiquiti-unifi-switch-flex-xg
+part_number: USW-Flex-XG
+weight: 1.2
+weight_unit: kg
+comments: |
+  135 x 185 x 32 mm (5.31 x 7.28 x 1.27")
+u_height: 0
+is_full_depth: false
+interfaces:
+  - name: Port 1 (PoE IN)
+    type: 1000base-t
+    poe_mode: pd
+    poe_type: type2-ieee802.3at
+  - name: Port 2
+    type: 10gbase-t
+  - name: Port 3
+    type: 10gbase-t
+  - name: Port 4
+    type: 10gbase-t
+  - name: Port 5
+    type: 10gbase-t
-- 
GitLab