diff --git a/src/views/settings.ts b/src/views/settings.ts index 8dfcb61..11c7787 100644 --- a/src/views/settings.ts +++ b/src/views/settings.ts @@ -196,6 +196,7 @@ export class KNXSettingsView extends LitElement {
${this.connectionSettingsCardContent()} + ${Object.entries(this.newConnectionData).map( ([key, val]) => html`
@@ -217,6 +218,15 @@ export class KNXSettingsView extends LitElement {
${this.integrationSettingsCardContent()} + + ${Object.entries(this.newSettingsData).map( + ([key, val]) => html` +
+
${key}
+
${val}
+
+ `, + )}
`; + return html` + ${this._advanecedIntegrationSettings()}`; + } + + private _advanecedIntegrationSettings() { + return this.hass.userData?.showAdvanced + ? html`` + : nothing; } protected _mainConnectionTypeFromInfoData(): ConnectionMainType {