This commit is contained in:
Thomas Lovén 2019-11-02 14:59:33 +01:00
parent 6372ed74d1
commit 7d20739834
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,8 +9,8 @@ customElements.whenDefined('hui-entities-card').then(() => {
const retval = oldRenderEntity.bind(this)(config);
if(!config.style) return retval;
if(!retval.values) return retval;
if(!config || !config.style) return retval;
if(!retval || !retval.values) return retval;
const row = retval.values[0];
if(!row || !row.updateComplete) return retval;

View File

@ -38,7 +38,7 @@ customElements.whenDefined('hui-glance-card').then(() => {
`;
const config = e.entityConf;
if(!config.style) return;
if(!config || !config.style) return;
let entity_ids = config.entity_ids;
const apply = () => {