From f9a58c856849093af8d069e8dc510f45f62e2d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Sat, 16 Feb 2019 00:05:14 +0100 Subject: [PATCH] No need for shadowroot --- auto-entities.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auto-entities.js b/auto-entities.js index 3c9294b..3d3ad07 100644 --- a/auto-entities.js +++ b/auto-entities.js @@ -158,6 +158,9 @@ class AutoEntities extends cardTools.litElement() { return entities; } + createRenderRoot() { + return this; + } render() { if(this.entities.length === 0 && this._config.show_empty === false) return cardTools.litHtml()``;