mirror of
https://github.com/home-assistant/core.git
synced 2025-08-12 09:05:15 +02:00
Update frontend
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user