feat: unifi controller integration (#2236)

* feat: unifi controller integration

* fix: pr feedback

* fix: pr feedback

* fix: pr feedback

* fix: formatting

* fix: pr feedback

* fix: typecheck

---------

Co-authored-by: Manuel <30572287+manuel-rw@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
pitschi
2025-04-06 12:17:51 +02:00
committed by GitHub
parent 7caad6fc47
commit c1cd563048
25 changed files with 873 additions and 3 deletions

View File

@@ -757,6 +757,10 @@
"wrongPath": {
"title": "Wrong path",
"message": "The path is probably not correct"
},
"tooManyRequests": {
"title": "Too many requests in a given time",
"message": "There were too many requests. You are likely being rate-limited or rejected by the target system"
}
}
},
@@ -2026,6 +2030,62 @@
"label": "Amount posts limit"
}
}
},
"networkControllerSummary": {
"option": {},
"card": {
"vpn": {
"countConnected": "{count} connected"
}
},
"error": {
"integrationsDisconnected": "No data available, all integrations disconnected",
"unknownContentOption": "Unknown content option for network controller summary widget: "
},
"name": "Network Controller Summary",
"description": "Displays the summary of a Network Controller (like UniFi Controller)"
},
"networkControllerStatus": {
"card": {
"variants": {
"wired": {
"name": "Wired"
},
"wifi": {
"name": "Wi-Fi"
}
},
"users": {
"label": "Users"
},
"guests": {
"label": "Guests"
}
},
"option": {
"content": {
"option": {
"wifi": {
"label": "Wi-Fi"
},
"wired": {
"label": "Wired"
}
},
"label": "Widget Content"
}
},
"error": {
"integrationsDisconnected": "No data available, all integrations disconnected",
"unknownContentOption": "Unknown content option for network status widget: "
},
"name": "Network Status",
"description": "Display connected devices on a network"
},
"networkController": {
"error": {
"internalServerError": "Failed to fetch Network Controller Summary"
}
}
},
"widgetPreview": {
@@ -2787,6 +2847,9 @@
},
"mediaTranscoding": {
"label": "Media transcoding"
},
"networkController": {
"label": "Network Controller"
}
}
},