Update frontend
This commit is contained in:
parent
d02bc3deaa
commit
cd87c40bbf
5 changed files with 14 additions and 14 deletions
|
@ -27,7 +27,7 @@ STATE_RECORDING = 'recording'
|
||||||
STATE_STREAMING = 'streaming'
|
STATE_STREAMING = 'streaming'
|
||||||
STATE_IDLE = 'idle'
|
STATE_IDLE = 'idle'
|
||||||
|
|
||||||
ENTITY_IMAGE_URL = '/api/camera_proxy/{0}'
|
ENTITY_IMAGE_URL = '/api/camera_proxy/{0}?token={1}'
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=too-many-branches
|
# pylint: disable=too-many-branches
|
||||||
|
@ -65,7 +65,7 @@ class Camera(Entity):
|
||||||
@property
|
@property
|
||||||
def entity_picture(self):
|
def entity_picture(self):
|
||||||
"""Return a link to the camera feed as entity picture."""
|
"""Return a link to the camera feed as entity picture."""
|
||||||
return ENTITY_IMAGE_URL.format(self.entity_id)
|
return ENTITY_IMAGE_URL.format(self.entity_id, self.access_token)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_recording(self):
|
def is_recording(self):
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
"""DO NOT MODIFY. Auto-generated by build_frontend script."""
|
"""DO NOT MODIFY. Auto-generated by build_frontend script."""
|
||||||
VERSION = "0a226e905af198b2dabf1ce154844568"
|
VERSION = "45a2660086388e0ac7d61e3442c4d847"
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -1 +1 @@
|
||||||
Subproject commit 4a667eb77e28a27dc766ca6f7bbd04e3866124d9
|
Subproject commit 6d2dd25a4cab6ff105b42497a3c1684ee7ab138b
|
Loading…
Add table
Reference in a new issue