Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed Oct 24, 2024
1 parent 5c340a3 commit 229774f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/knx-configure-entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 229774f

Please sign in to comment.