2.0
Juraj Nyíri 3 years ago
parent 8bb96a0e49
commit 5625d105bf

@ -19588,7 +19588,12 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
}
if (lodash.isArray(this.config.entity)) {
lodash.forEach(this.config.entity, entity => {
if (lodash.isString(entity)) ;
if (lodash.isString(entity)) {
const entitiesDropdown = createEntitiesDropdown(entity, this.valueUpdated);
if (entitiesDropdown) {
this.plexValidSection.appendChild(entitiesDropdown);
}
}
});
}
if (!lodash.isEmpty(this.sections)) {

@ -188,12 +188,10 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
if (_.isArray(this.config.entity)) {
_.forEach(this.config.entity, entity => {
if (_.isString(entity)) {
/*
const entitiesDropdown = createEntitiesDropdown(entity, this.valueUpdated);
if (entitiesDropdown) {
this.plexValidSection.appendChild(entitiesDropdown);
}
*/
}
});
}

Loading…
Cancel
Save