mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Implement brand and model for UVC cameras
This commit is contained in:
parent
0ba7fb40a4
commit
885b61a750
@ -70,6 +70,15 @@ class UnifiVideoCamera(Camera):
|
||||
caminfo = self._nvr.get_camera(self._uuid)
|
||||
return caminfo['recordingSettings']['fullTimeRecordEnabled']
|
||||
|
||||
@property
|
||||
def brand(self):
|
||||
return 'Ubiquiti'
|
||||
|
||||
@property
|
||||
def model(self):
|
||||
caminfo = self._nvr.get_camera(self._uuid)
|
||||
return caminfo['model']
|
||||
|
||||
def _login(self):
|
||||
from uvcclient import camera as uvc_camera
|
||||
caminfo = self._nvr.get_camera(self._uuid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user