mirror of
https://github.com/koush/scrypted.git
synced 2026-02-11 09:34:27 +00:00
unifi: add model info
This commit is contained in:
@@ -279,9 +279,16 @@ class UnifiProtect extends ScryptedDeviceBase implements Settings, DeviceProvide
|
||||
}
|
||||
}
|
||||
|
||||
const d = {
|
||||
const d: Device = {
|
||||
name: camera.name,
|
||||
nativeId: camera.id,
|
||||
info: {
|
||||
manufacturer: 'Ubiquiti',
|
||||
model: camera.type,
|
||||
firmware: camera.firmwareVersion,
|
||||
version: camera.hardwareRevision,
|
||||
serialNumber: camera.id,
|
||||
},
|
||||
interfaces: [
|
||||
ScryptedInterface.Camera,
|
||||
ScryptedInterface.VideoCamera,
|
||||
|
||||
Reference in New Issue
Block a user