diff --git a/src/components/knx-configure-entity.ts b/src/components/knx-configure-entity.ts index 7acdf6d..10bbf42 100644 --- a/src/components/knx-configure-entity.ts +++ b/src/components/knx-configure-entity.ts @@ -133,7 +133,7 @@ export class KNXConfigureEntity extends LitElement { const knxEntry = knxData[ga_selector.name]; if (knxEntry.write !== undefined) return true; if (knxEntry.state !== undefined) return true; - if (knxEntry.passive !== undefined && knxEntry.passive.length) return true; + if (knxEntry.passive?.length) return true; return false; }