Add example to documentation.
This commit is contained in:
1 parent
7917e5c537
commit
b70e3157d6
4 files changed
+50
-3
No files matched your search
@@ -190,6 +190,7 @@ export class ConditionsManager {
|
||||
const config = this._api.getConfigManager().getConfig();
|
||||
const conditions: FrigateCardCondition[] = [];
|
||||
config?.overrides?.forEach((override) => conditions.push(...override.conditions));
|
||||
config?.automations?.forEach((automation) => conditions.push(...automation.conditions));
|
||||
|
||||
// Element conditions can be arbitrarily nested underneath conditionals and
|
||||
// custom elements that this card may not known. Here we recursively parse
|
||||
|
||||
Reference in new issue
Block a user