First attempt to add state to frigate card conditions.

This commit is contained in:
Dermot Duffy
2022-04-30 21:39:29 -07:00
parent d273328e76
commit dafaae7fe4
5 changed files with 85 additions and 63 deletions
+2 -2
View File
@@ -395,10 +395,10 @@ export class FrigateCardLiveCarousel extends FrigateCardMediaCarousel {
// The conditionState object contains the currently live camera, which (in
// the carousel for example) is not necessarily the live camera this
// <frigate-card-live-provider> is rendering right now.
const conditionState = Object.assign({
const conditionState = {
...this.conditionState,
camera: camera,
});
};
const config = getOverriddenConfig(
this.liveConfig,