mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 20:36:35 +00:00
Fix camera entity picture 401
This commit is contained in:
parent
4a667eb77e
commit
2621941919
@ -53,7 +53,7 @@ export default new Polymer({
|
|||||||
updateCameraFeedSrc(stateObj) {
|
updateCameraFeedSrc(stateObj) {
|
||||||
const attr = stateObj.attributes;
|
const attr = stateObj.attributes;
|
||||||
const time = (new Date()).getTime();
|
const time = (new Date()).getTime();
|
||||||
this.cameraFeedSrc = `${attr.entity_picture}?token=${attr.access_token}&time=${time}`;
|
this.cameraFeedSrc = `${attr.entity_picture}&time=${time}`;
|
||||||
},
|
},
|
||||||
|
|
||||||
imageLoadSuccess() {
|
imageLoadSuccess() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user