No need for shadowroot

This commit is contained in:
Thomas Lovén 2019-02-16 00:05:14 +01:00
parent 1d85a8bc06
commit f9a58c8568

View File

@ -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()``;