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) {