Update demo camera
This commit is contained in:
parent
6b38462967
commit
68f6c6ae5d
|
@ -16,7 +16,7 @@
|
|||
"author": "Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> (http://paulusschoutsen.nl)",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#04746d8bd48e4f382b54f3c7a6bcc3c5f940d492",
|
||||
"home-assistant-js": "git+https://github.com/balloob/home-assistant-js.git#95b238ca6e548a8d8d998cfa6a55e85b95b4147d",
|
||||
"lodash": "^3.10.1",
|
||||
"moment": "^2.10.6"
|
||||
},
|
||||
|
|
|
@ -18,7 +18,7 @@ export default new Polymer({
|
|||
|
||||
computeCameraImageUrl(dialogOpen) {
|
||||
if (__DEMO__) {
|
||||
return 'http://194.218.96.92/jpg/image.jpg';
|
||||
return '/demo/webcam.jpg';
|
||||
} else if (dialogOpen) {
|
||||
return '/api/camera_proxy_stream/' + this.stateObj.entityId;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue