From 734faa74e41a523e3f97c9e76ae8544c6395dfee Mon Sep 17 00:00:00 2001 From: farmio Date: Mon, 14 Aug 2023 12:45:54 +0200 Subject: [PATCH] rate limit --- src/views/settings.ts | 39 ++++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) 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 {