diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/control/led-indicator-widget-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/control/led-indicator-widget-settings.component.html index f130b4cfb6..c407f9324b 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/control/led-indicator-widget-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/control/led-indicator-widget-settings.component.html @@ -14,7 +14,7 @@ -
+
widgets.rpc.led-color
-
+
+ @let isAttribute = ledIndicatorWidgetSettingsForm.get('retrieveValueMethod').value === 'attribute'; +
+ {{ (isAttribute ? 'widgets.rpc.attribute-value-key' : 'widgets.rpc.timeseries-value-key') | translate }} +
+ [keyType]="isAttribute ? dataKeyType.attribute : dataKeyType.timeseries">
diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index c4cbd46269..d31027139e 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -12645,8 +12645,6 @@ "check-status-settings": "إعدادات التحقق من الحالة", "perform-rpc-status-check": "تنفيذ التحقق من حالة جهاز RPC", "retrieve-led-status-value-method": "استرجاع قيمة حالة LED باستخدام طريقة", - "led-status-value-attribute": "سمة الجهاز التي تحتوي على قيمة حالة LED", - "led-status-value-timeseries": "السلسلة الزمنية للجهاز التي تحتوي على قيمة حالة LED", "check-status-method": "طريقة RPC للتحقق من حالة الجهاز", "parse-led-status-value-function": "دالة تحليل قيمة حالة LED", "knob-title": "عنوان المقبض" diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index ec5a7aa027..eea80044c9 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -12650,8 +12650,6 @@ "check-status-settings": "Configuració de la comprovació d'estat", "perform-rpc-status-check": "Comprova l'estat del dispositiu per RPC", "retrieve-led-status-value-method": "Mètode d'obtenció del valor d'estat del LED", - "led-status-value-attribute": "Atribut del dispositiu que conté el valor de l'estat del LED", - "led-status-value-timeseries": "Sèries temporals del dispositiu que contenen el valor de l'estat del LED", "check-status-method": "Mètode RPC per revisar l'estat del dispositiu", "parse-led-status-value-function": "Funció d'anàlisi del valor d'estat del LED", "knob-title": "Títol del regulador" diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index 13e561fc14..472585a00f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -12558,8 +12558,6 @@ "check-status-settings": "Indstillinger for statuskontrol", "perform-rpc-status-check": "Udfør statuskontrol via RPC", "retrieve-led-status-value-method": "Hent LED-statusværdi via metode", - "led-status-value-attribute": "Enhedsattribut der indeholder LED-statusværdi", - "led-status-value-timeseries": "Enhedens tidsserie, der indeholder LED-statusværdi", "check-status-method": "RPC-metode til kontrol af enhedsstatus", "parse-led-status-value-function": "Funktion til fortolkning af LED-statusværdi", "knob-title": "Titel for drejeknap" diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index f3e6b6e961..21e64d4672 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Statusprüfungseinstellungen", "perform-rpc-status-check": "RPC-Statusprüfung des Geräts durchführen", "retrieve-led-status-value-method": "LED-Statuswert mit Methode abrufen", - "led-status-value-attribute": "Geräteattribut mit LED-Statuswert", - "led-status-value-timeseries": "Zeitreihe des Geräts mit LED-Statuswert", "check-status-method": "RPC-Methode zur Geräteprüfung", "parse-led-status-value-function": "Funktion zum Parsen des LED-Statuswerts", "knob-title": "Drehregler-Titel" diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index b357c5f111..624edb9905 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -12570,8 +12570,6 @@ "check-status-settings": "Ρυθμίσεις ελέγχου κατάστασης", "perform-rpc-status-check": "Εκτέλεση ελέγχου κατάστασης συσκευής μέσω RPC", "retrieve-led-status-value-method": "Ανάκτηση τιμής κατάστασης LED μέσω μεθόδου", - "led-status-value-attribute": "Χαρακτηριστικό συσκευής με τιμή κατάστασης LED", - "led-status-value-timeseries": "Χρονοσειρά συσκευής με τιμή κατάστασης LED", "check-status-method": "RPC μέθοδος ελέγχου κατάστασης συσκευής", "parse-led-status-value-function": "Συνάρτηση ανάλυσης τιμής κατάστασης LED", "knob-title": "Τίτλος περιστροφικού ελεγκτή" diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 8868b2c777..271a3f9058 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -12666,8 +12666,6 @@ "check-status-settings": "Check status settings", "perform-rpc-status-check": "Perform RPC device status check", "retrieve-led-status-value-method": "Retrieve LED status value using method", - "led-status-value-attribute": "Device attribute containing led status value", - "led-status-value-timeseries": "Device time series containing led status value", "check-status-method": "RPC check device status method", "parse-led-status-value-function": "Parse led status value function", "knob-title": "Knob title" diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index a3681b6a18..9ed674dc53 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Configuración de verificación de estado", "perform-rpc-status-check": "Realizar verificación de estado del dispositivo mediante RPC", "retrieve-led-status-value-method": "Recuperar valor de estado del LED usando método", - "led-status-value-attribute": "Atributo del dispositivo que contiene el estado del LED", - "led-status-value-timeseries": "Serie temporal del dispositivo que contiene el estado del LED", "check-status-method": "Método RPC para verificar estado del dispositivo", "parse-led-status-value-function": "Función para analizar el valor del estado del LED", "knob-title": "Título del control giratorio" diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index 63f0fe85cf..b00e2c648f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Paramètres de vérification de statut", "perform-rpc-status-check": "Effectuer une vérification de statut de l’appareil via RPC", "retrieve-led-status-value-method": "Méthode de récupération de l’état LED", - "led-status-value-attribute": "Attribut de l’appareil contenant l’état LED", - "led-status-value-timeseries": "Série temporelle de l’appareil contenant la valeur d’état de la LED", "check-status-method": "Méthode RPC de vérification de l’état de l’appareil", "parse-led-status-value-function": "Fonction d’analyse de l’état LED", "knob-title": "Titre du bouton rotatif" diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index 1c5ddda58c..f6cf52d911 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -12596,8 +12596,6 @@ "check-status-settings": "स्थिति जाँच सेटिंग्स", "perform-rpc-status-check": "RPC डिवाइस स्थिति जाँच करें", "retrieve-led-status-value-method": "LED स्थिति मान प्राप्त करने की विधि", - "led-status-value-attribute": "डिवाइस विशेषता जिसमें LED स्थिति मान है", - "led-status-value-timeseries": "डिवाइस टाइम सीरीज़ जिसमें LED स्थिति मान है", "check-status-method": "RPC डिवाइस स्थिति जाँच मेथड", "parse-led-status-value-function": "LED स्थिति मान पार्स करने का फ़ंक्शन", "knob-title": "नॉब शीर्षक" diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 69861c2894..44c8ad6cf1 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Impostazioni controllo stato", "perform-rpc-status-check": "Esegui controllo stato dispositivo tramite RPC", "retrieve-led-status-value-method": "Recupera valore stato LED usando metodo", - "led-status-value-attribute": "Attributo dispositivo con valore stato LED", - "led-status-value-timeseries": "Serie temporale dispositivo con valore stato LED", "check-status-method": "Metodo RPC per controllo stato dispositivo", "parse-led-status-value-function": "Funzione per analisi valore stato LED", "knob-title": "Titolo manopola" diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 1f22ff8978..7c6596fcbf 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -12556,8 +12556,6 @@ "check-status-settings": "ステータス確認設定", "perform-rpc-status-check": "RPCデバイスステータス確認を実行", "retrieve-led-status-value-method": "方法を使用してLEDステータス値を取得", - "led-status-value-attribute": "LEDステータス値を含むデバイス属性", - "led-status-value-timeseries": "LEDステータス値を含むデバイスの時系列", "check-status-method": "RPCデバイスステータスメソッド", "parse-led-status-value-function": "LEDステータス値解析関数", "knob-title": "ノブタイトル" diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index f28a6256a5..4cc4f6758a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -12588,8 +12588,6 @@ "check-status-settings": "상태 확인 설정", "perform-rpc-status-check": "RPC 장치 상태 확인 수행", "retrieve-led-status-value-method": "메서드를 사용하여 LED 상태 값 가져오기", - "led-status-value-attribute": "LED 상태 값을 포함하는 장치 속성", - "led-status-value-timeseries": "LED 상태 값을 포함하는 장치 시계열", "check-status-method": "RPC 장치 상태 확인 메서드", "parse-led-status-value-function": "LED 상태 값 구문 분석 함수", "knob-title": "노브 제목" diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index 41b89f8e0b..5a11fd5f50 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -12596,8 +12596,6 @@ "check-status-settings": "Būsenos tikrinimo nustatymai", "perform-rpc-status-check": "Vykdyti RPC įrenginio būsenos patikrinimą", "retrieve-led-status-value-method": "LED būsenos gavimo metodas", - "led-status-value-attribute": "Įrenginio atributas, kuriame saugoma LED būsena", - "led-status-value-timeseries": "Įrenginio laiko eilutės, kuriose saugoma LED būsena", "check-status-method": "RPC įrenginio būsenos tikrinimo metodas", "parse-led-status-value-function": "LED būsenos reikšmės analizės funkcija", "knob-title": "Rankenėlės pavadinimas" diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json index e9c6d9dd71..5238babe74 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json @@ -12596,8 +12596,6 @@ "check-status-settings": "Statuscontrole-instellingen", "perform-rpc-status-check": "RPC-statuscontrole uitvoeren", "retrieve-led-status-value-method": "LED-status ophalen via methode", - "led-status-value-attribute": "Apparaatattribuut met LED-statuswaarde", - "led-status-value-timeseries": "Apparaattijdreeks met LED-statuswaarde", "check-status-method": "RPC-methode voor statuscontrole", "parse-led-status-value-function": "Functie voor parsering van LED-statuswaarde", "knob-title": "Knoptitel" diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index ae281e0ac6..7e2bd4c4c9 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Statuscontrole-instellingen", "perform-rpc-status-check": "RPC-statuscontrole uitvoeren", "retrieve-led-status-value-method": "LED-status ophalen via methode", - "led-status-value-attribute": "Attribuut met LED-statuswaarde", - "led-status-value-timeseries": "Tijdreeks met LED-statuswaarde", "check-status-method": "RPC-methode voor statuscontrole", "parse-led-status-value-function": "Functie voor parsering van LED-statuswaarde", "knob-title": "Knoptitel" diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index 50cd07ab9c..de33dcd35d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -12570,8 +12570,6 @@ "check-status-settings": "Statuskontrollinnstillinger", "perform-rpc-status-check": "Utfør RPC-enhetsstatuskontroll", "retrieve-led-status-value-method": "Hent LED-statusverdi ved hjelp av metode", - "led-status-value-attribute": "Enhetsattributt som inneholder LED-statusverdi", - "led-status-value-timeseries": "Enhetstidsserie som inneholder LED-statusverdi", "check-status-method": "RPC-metode for statuskontroll", "parse-led-status-value-function": "Funksjon for tolking av LED-statusverdi", "knob-title": "Tittel for dreieknapp" diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index 4adf0ece21..7fb1ca0418 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -12596,8 +12596,6 @@ "check-status-settings": "Ustawienia sprawdzania stanu", "perform-rpc-status-check": "Wykonaj sprawdzenie stanu urządzenia RPC", "retrieve-led-status-value-method": "Pobierz wartość stanu diody LED za pomocą metody", - "led-status-value-attribute": "Atrybut urządzenia zawierający wartość stanu diody LED", - "led-status-value-timeseries": "Szereg czasowy urządzenia zawierający wartość stanu diody LED", "check-status-method": "Metoda sprawdzania stanu urządzenia przez RPC", "parse-led-status-value-function": "Funkcja parsowania wartości stanu diody LED", "knob-title": "Tytuł pokrętła" diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 4c18d03c04..327b46d156 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Configurações de verificação de status", "perform-rpc-status-check": "Realizar verificação de status do dispositivo via RPC", "retrieve-led-status-value-method": "Recuperar valor de status do LED usando método", - "led-status-value-attribute": "Atributo do dispositivo contendo o valor de status do LED", - "led-status-value-timeseries": "Série temporal do dispositivo contendo o valor de status do LED", "check-status-method": "Método RPC de verificação de status do dispositivo", "parse-led-status-value-function": "Função de análise do valor de status do LED", "knob-title": "Título do knob" diff --git a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json index acd805dcc6..b414ee6015 100644 --- a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json +++ b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json @@ -12585,8 +12585,6 @@ "check-status-settings": "Nastavitve preverjanja stanja", "perform-rpc-status-check": "Izvedi preverjanje stanja naprave prek RPC", "retrieve-led-status-value-method": "Pridobi vrednost stanja LED z metodo", - "led-status-value-attribute": "Atribut naprave, ki vsebuje vrednost stanja LED", - "led-status-value-timeseries": "Časovna serija naprave, ki vsebuje vrednost stanja LED", "check-status-method": "Metoda RPC za preverjanje stanja naprave", "parse-led-status-value-function": "Funkcija za razčlenjevanje vrednosti stanja LED", "knob-title": "Naslov vrtljivega gumba" diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 5e532eb6b8..723298ace2 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -12558,8 +12558,6 @@ "check-status-settings": "Durum kontrol ayarları", "perform-rpc-status-check": "RPC cihaz durumu kontrolünü gerçekleştir", "retrieve-led-status-value-method": "LED durum değerini alma yöntemi", - "led-status-value-attribute": "LED durum değerini içeren cihaz özniteliği", - "led-status-value-timeseries": "LED durum değerini içeren cihaz zaman serisi", "check-status-method": "RPC cihaz durumu kontrol yöntemi", "parse-led-status-value-function": "LED durum değerini ayrıştırma fonksiyonu", "knob-title": "Düğme başlığı" diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 46bfc5d92a..33fb095b36 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -12556,8 +12556,6 @@ "check-status-settings": "Налаштування перевірки статусу", "perform-rpc-status-check": "Виконати перевірку статусу пристрою через RPC", "retrieve-led-status-value-method": "Метод отримання значення статусу LED", - "led-status-value-attribute": "Атрибут пристрою, що містить значення статусу LED", - "led-status-value-timeseries": "Часовий ряд пристрою, що містить значення статусу LED", "check-status-method": "RPC метод перевірки статусу пристрою", "parse-led-status-value-function": "Функція розбору значення статусу LED", "knob-title": "Заголовок регулятора" diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index 36660e7908..85c9dbcdc4 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -12558,8 +12558,6 @@ "check-status-settings": "检查状态设置", "perform-rpc-status-check": "执行 RPC 设备状态检查", "retrieve-led-status-value-method": "使用方法获取 LED 状态值", - "led-status-value-attribute": "包含 LED 状态值的设备属性", - "led-status-value-timeseries": "包含 LED 状态值的设备时间序列", "check-status-method": "RPC 检查设备状态方法", "parse-led-status-value-function": "解析 LED 状态值函数", "knob-title": "旋钮标题" diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index f9bd5c4bd7..42cb7d2d81 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -6054,8 +6054,6 @@ "check-status-settings": "檢查狀態設定", "perform-rpc-status-check": "執行 RPC 裝置狀態檢查", "retrieve-led-status-value-method": "使用方法取得 LED 狀態值", - "led-status-value-attribute": "包含 LED 狀態值的裝置屬性", - "led-status-value-timeseries": "包含 LED 狀態值的裝置時間序列", "check-status-method": "RPC 檢查裝置狀態方法", "parse-led-status-value-function": "解析 LED 狀態值函式", "knob-title": "旋鈕標題",