From bfc424f026c0d24ca20d197707799bd244fe5b78 Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Wed, 15 Sep 2021 15:22:41 -0500 Subject: [PATCH] Update config-template-card.ts --- src/config-template-card.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config-template-card.ts b/src/config-template-card.ts index e6d05f7..166d00f 100644 --- a/src/config-template-card.ts +++ b/src/config-template-card.ts @@ -39,9 +39,11 @@ export class ConfigTemplateCard extends LitElement { if (config.card && !config.card.type) { throw new Error('No card type defined'); } - + if (config.card && config.card.type === 'picture-elements') { - console.warn('WARNING: config-template-card should not be used with the picture-elements card itself. Instead use it as one of the elements. Check the README for details'); + console.warn( + 'WARNING: config-template-card should not be used with the picture-elements card itself. Instead use it as one of the elements. Check the README for details' + ); } if (config.element && !config.style) {