@ledvance/base 1.2.40 → 1.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.2.40",
7
+ "version": "1.2.42",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
@@ -31,7 +31,7 @@ interface DeviceEvent {
31
31
  }
32
32
 
33
33
  interface TYInfoUpdateType {
34
- devId: string
34
+ devId: string
35
35
  online: boolean
36
36
  }
37
37
 
@@ -58,7 +58,7 @@ export const addListener = (store) => {
58
58
  })
59
59
 
60
60
  groupFeatureListener = nativeEventEmitter.addListener('UAGroupFeatureUpdate', (event: GroupFeatureEvent) => {
61
- if (event.tyGroupId === store.getState().ldvModules.uaGroupInfo.tyGroupId) {
61
+ if (event.tyGroupId == store.getState().ldvModules.uaGroupInfo.tyGroupId) {
62
62
  console.log('长链接刷新Group数据', event)
63
63
  const nativeProps: NativeProps = {
64
64
  familyName: '',
@@ -99,4 +99,4 @@ export const removeListener = () => {
99
99
 
100
100
  groupDeviceListener && groupDeviceListener.remove()
101
101
  groupDeviceListener = null
102
- }
102
+ }
@@ -605,7 +605,11 @@ export default {
605
605
  conflict_dialog_active_item_timeschedule_titel: "¿Realmente quieres activar este horario?",
606
606
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
607
607
  registration_dialog_button_yes: "Sí",
608
- registration_dialog_button_no: "No"
608
+ registration_dialog_button_no: "No",
609
+ socket_settings_switch_off_min: "min",
610
+ socket_settings_switch_off_s: "s",
611
+ socket_settings_switch_off_firstbox_text: "Apagar después de un tiempo",
612
+ socket_settings_switch_off_secondtopic: "¿A qué hora debe apagarse el dispositivo?"
609
613
  },
610
614
  ar: {
611
615
  add_new_dynamic_mood_color_changing_mode_value: "التدرج",
@@ -1213,7 +1217,11 @@ export default {
1213
1217
  conflict_dialog_active_item_timeschedule_titel: "هل تريد حقًا تفعيل هذا الجدول الزمني؟",
1214
1218
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
1215
1219
  registration_dialog_button_yes: "نعم",
1216
- registration_dialog_button_no: "لا"
1220
+ registration_dialog_button_no: "لا",
1221
+ socket_settings_switch_off_min: "دقيقة",
1222
+ socket_settings_switch_off_s: "ثانية",
1223
+ socket_settings_switch_off_firstbox_text: "قم بإيقاف التشغيل بعد فترة من الوقت",
1224
+ socket_settings_switch_off_secondtopic: "بعد أي فترة من الوقت يجب إيقاف تشغيل الجهاز؟"
1217
1225
  },
1218
1226
  cs: {
1219
1227
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -1821,7 +1829,11 @@ export default {
1821
1829
  conflict_dialog_active_item_timeschedule_titel: "Opravdu chcete tento časový rozvrh aktivovat?",
1822
1830
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
1823
1831
  registration_dialog_button_yes: "Ano",
1824
- registration_dialog_button_no: "Ne"
1832
+ registration_dialog_button_no: "Ne",
1833
+ socket_settings_switch_off_min: "min.",
1834
+ socket_settings_switch_off_s: "s",
1835
+ socket_settings_switch_off_firstbox_text: "Vypnutí po určité době",
1836
+ socket_settings_switch_off_secondtopic: "Po jaké době by se mělo zařízení vypnout?"
1825
1837
  },
1826
1838
  en: {
1827
1839
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -2429,7 +2441,11 @@ export default {
2429
2441
  conflict_dialog_active_item_timeschedule_titel: "Do you really want to activate this time schedule?",
2430
2442
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
2431
2443
  registration_dialog_button_yes: "Yes",
2432
- registration_dialog_button_no: "No"
2444
+ registration_dialog_button_no: "No",
2445
+ socket_settings_switch_off_min: "min",
2446
+ socket_settings_switch_off_s: "s",
2447
+ socket_settings_switch_off_firstbox_text: "Switch off after a period of time",
2448
+ socket_settings_switch_off_secondtopic: "After what period of time should the device be switched off?"
2433
2449
  },
2434
2450
  bg: {
2435
2451
  add_new_dynamic_mood_color_changing_mode_value: "Градиент",
@@ -3037,7 +3053,11 @@ export default {
3037
3053
  conflict_dialog_active_item_timeschedule_titel: "Наистина ли искате да активирате този часови график?",
3038
3054
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
3039
3055
  registration_dialog_button_yes: "Да",
3040
- registration_dialog_button_no: "Не"
3056
+ registration_dialog_button_no: "Не",
3057
+ socket_settings_switch_off_min: "мин.",
3058
+ socket_settings_switch_off_s: "s",
3059
+ socket_settings_switch_off_firstbox_text: "Изключете след определен период от време",
3060
+ socket_settings_switch_off_secondtopic: "След какъв период от време трябва да се изключи устройството?"
3041
3061
  },
3042
3062
  da: {
3043
3063
  add_new_dynamic_mood_color_changing_mode_value: "Gradvist",
@@ -3645,7 +3665,11 @@ export default {
3645
3665
  conflict_dialog_active_item_timeschedule_titel: "Ønsker du at aktivere denne tidsplan?",
3646
3666
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
3647
3667
  registration_dialog_button_yes: "Ja",
3648
- registration_dialog_button_no: "Nej"
3668
+ registration_dialog_button_no: "Nej",
3669
+ socket_settings_switch_off_min: "min.",
3670
+ socket_settings_switch_off_s: "s",
3671
+ socket_settings_switch_off_firstbox_text: "Sluk efter et stykke tid",
3672
+ socket_settings_switch_off_secondtopic: "Hvor lang tid skal der gå, før enheden skal slukke?"
3649
3673
  },
3650
3674
  de: {
3651
3675
  add_new_dynamic_mood_color_changing_mode_value: "Fließend",
@@ -4238,22 +4262,26 @@ export default {
4238
4262
  consumption_data_annual_bar_chart_text: "Einheit: kWh",
4239
4263
  flag_addanewflag: "Neue Flagge hinzufügen",
4240
4264
  flag_edittheflag: "Bearbeiten der Flagge",
4241
- flag_deleteflag: "Delete flag",
4242
- flag_deletepopup: "Do you really want to delete the flag?",
4243
- flag_canceladding: "Do you really want to cancel adding a new flag?",
4244
- flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
4245
- flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
4265
+ flag_deleteflag: "Flagge löschen",
4266
+ flag_deletepopup: "Willst du die Flagge wirklich löschen?",
4267
+ flag_canceladding: "Möchtest du das Hinzufügen einer neuen Flagge wirklich abbrechen?",
4268
+ flag_cancelinfo: "Beachte, dass deine Eingaben verloren gehen, wenn du das Hinzufügen einer neuen Flagge abbrichst.",
4269
+ flag_canceledit: "Beachte, dass deine Änderungen verloren gehen, wenn du die Bearbeitung der Flagge verlässt.",
4246
4270
  flag_leverkusen: "Leverkusen",
4247
4271
  contact_sensor_battery_state1: "Hoch",
4248
4272
  contact_sensor_battery_state2: "Mittel",
4249
4273
  contact_sensor_battery_state3: "Niedrig",
4250
- ldv_pir_sensitivity: "PIR Sensitivity",
4251
- ldv_pir_delay: "PIR Delay",
4252
- ldv_second: "Second",
4274
+ ldv_pir_sensitivity: "PIR-Empfindlichkeit",
4275
+ ldv_pir_delay: "PIR-Verzögerung",
4276
+ ldv_second: "Sekunde",
4253
4277
  conflict_dialog_active_item_timeschedule_titel: "Möchtest Du diesen Zeitplan wirklich aktivieren?",
4254
- group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
4278
+ group_conflict_feature: "Beachte, dass alle kollidierenden Zeitpläne (falls vorhanden) deaktiviert werden.",
4255
4279
  registration_dialog_button_yes: "Ja",
4256
- registration_dialog_button_no: "Nein"
4280
+ registration_dialog_button_no: "Nein",
4281
+ socket_settings_switch_off_min: "min",
4282
+ socket_settings_switch_off_s: "s",
4283
+ socket_settings_switch_off_firstbox_text: "Ausschalten nach einer bestimmten Zeit",
4284
+ socket_settings_switch_off_secondtopic: "Nach welchem Zeitraum sollte das Gerät ausgeschaltet werden?"
4257
4285
  },
4258
4286
  el: {
4259
4287
  add_new_dynamic_mood_color_changing_mode_value: "Διαβάθμιση",
@@ -4861,7 +4889,11 @@ export default {
4861
4889
  conflict_dialog_active_item_timeschedule_titel: "Θέλετε πραγματικά να ενεργοποιήσετε αυτό το χρονοδιάγραμμα;",
4862
4890
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
4863
4891
  registration_dialog_button_yes: "Ναι",
4864
- registration_dialog_button_no: "Οχι"
4892
+ registration_dialog_button_no: "Οχι",
4893
+ socket_settings_switch_off_min: "min",
4894
+ socket_settings_switch_off_s: "s",
4895
+ socket_settings_switch_off_firstbox_text: "Απενεργοποίηση μετά από κάποιο χρονικό διάστημα",
4896
+ socket_settings_switch_off_secondtopic: "Μετά από πόσο χρονικό διάστημα πρέπει να απενεργοποιηθεί η συσκευή;"
4865
4897
  },
4866
4898
  es: {
4867
4899
  add_new_dynamic_mood_color_changing_mode_value: "Gradiente",
@@ -5469,7 +5501,11 @@ export default {
5469
5501
  conflict_dialog_active_item_timeschedule_titel: "¿Realmente quieres activar este horario?",
5470
5502
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
5471
5503
  registration_dialog_button_yes: "Sí",
5472
- registration_dialog_button_no: "No"
5504
+ registration_dialog_button_no: "No",
5505
+ socket_settings_switch_off_min: "min",
5506
+ socket_settings_switch_off_s: "s",
5507
+ socket_settings_switch_off_firstbox_text: "Apagar después de un tiempo",
5508
+ socket_settings_switch_off_secondtopic: "¿A qué hora debe apagarse el dispositivo?"
5473
5509
  },
5474
5510
  et: {
5475
5511
  add_new_dynamic_mood_color_changing_mode_value: "Muutmisaste",
@@ -6077,7 +6113,11 @@ export default {
6077
6113
  conflict_dialog_active_item_timeschedule_titel: "Kas soovid tõesti selle ajakava aktiveerida?",
6078
6114
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
6079
6115
  registration_dialog_button_yes: "Jah",
6080
- registration_dialog_button_no: "Ei"
6116
+ registration_dialog_button_no: "Ei",
6117
+ socket_settings_switch_off_min: "min",
6118
+ socket_settings_switch_off_s: "s",
6119
+ socket_settings_switch_off_firstbox_text: "Lülita teatud aja möödudes välja",
6120
+ socket_settings_switch_off_secondtopic: "Kui pika aja möödudes peab seade välja lülituma?"
6081
6121
  },
6082
6122
  fi: {
6083
6123
  add_new_dynamic_mood_color_changing_mode_value: "Liukuva",
@@ -6685,7 +6725,11 @@ export default {
6685
6725
  conflict_dialog_active_item_timeschedule_titel: "Haluatko todella aktivoida tämän aikataulun?",
6686
6726
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
6687
6727
  registration_dialog_button_yes: "Kyllä",
6688
- registration_dialog_button_no: "Ei"
6728
+ registration_dialog_button_no: "Ei",
6729
+ socket_settings_switch_off_min: "min",
6730
+ socket_settings_switch_off_s: "s",
6731
+ socket_settings_switch_off_firstbox_text: "Sammuta tietyn ajan kuluttua",
6732
+ socket_settings_switch_off_secondtopic: "Minkä ajan kuluttua laitteen tulee kytkeytyä pois päältä?"
6689
6733
  },
6690
6734
  fr: {
6691
6735
  add_new_dynamic_mood_color_changing_mode_value: "Fluide",
@@ -6871,7 +6915,7 @@ export default {
6871
6915
  sockets_specific_settings_relay_status_remember: "Mémoriser le dernier statut",
6872
6916
  motion_detection_with_safe_mode_safetymode_value4_text: "Personalisé",
6873
6917
  consumption_data_annual_bar_chart_system_back_text: "Énergie consommée",
6874
- motion_detection_time_schedule_notifications_field_weekdays_text3: "Only once (Tomorrow)",
6918
+ motion_detection_time_schedule_notifications_field_weekdays_text3: "Une seule fois (demain)",
6875
6919
  sleepwakeschedule_empty_filtering_information_text: "Il n’y a pas de planification pour ce filtrage.",
6876
6920
  timer_ceiling_fan_selectionfield_no_components_text: "no component selected",
6877
6921
  timer_nightplug_active_timer_field_description_off_text: "La prise sera éteinte au bout de {0}",
@@ -6985,7 +7029,7 @@ export default {
6985
7029
  music_reactivate_dialog_text: "Notez qu'il est nécessaire d'activer le micro de votre smartphone.",
6986
7030
  add_new_trigger_time_text: "Icône",
6987
7031
  feature_summary_frequency_txt_1: "Une seule fois (aujourd'hui)",
6988
- feature_summary_frequency_txt_2: "Only once (Tomorrow)",
7032
+ feature_summary_frequency_txt_2: "Une seule fois (demain)",
6989
7033
  feature_summary_frequency_txt_3: "Tous les {0}",
6990
7034
  feature_summary_frequency_txt_4: "Tous les jours",
6991
7035
  add_new_trigger_time_headline_text: "Ajouter une nouvelle heure de déclenchement",
@@ -7060,7 +7104,7 @@ export default {
7060
7104
  cancel_dialog_leave_unsaved_wakeupschedule_note: "Notez que vos modifications seront perdues si vous laissez modifier l'horaire de réveil.",
7061
7105
  string_light_pp_field_sm_add_error1: "Le nom est déjà utilisé.",
7062
7106
  feature_activate_dialog_text: "Notez qu'il est nécessaire que l'appareil soit allumé pour activer cette fonction.",
7063
- edit_timeschedule_bttn_text: "Delete schedule",
7107
+ edit_timeschedule_bttn_text: "Supprimer le calendrier",
7064
7108
  edit_wakeupschedule_bttn_text: "Supprimer l'horaire de réveil",
7065
7109
  edit_sleepschedule_bttn_text: "Supprimer l'horaire de coucher",
7066
7110
  ceiling_fan_direction_info_option_1_headline: "Été",
@@ -7124,7 +7168,7 @@ export default {
7124
7168
  edit_sleepschedule_headline_text: "Modifier l'horaire de coucher",
7125
7169
  edit_trigger_time_headline_text: "Modifier l'heure de déclenchement",
7126
7170
  edit_trigger_time_button_delete_text: "Supprimer l'heure de déclenchement",
7127
- motion_detection_time_schedule_notifications_warning_text: "The maximum number of time schedules is reached.",
7171
+ motion_detection_time_schedule_notifications_warning_text: "Le nombre maximum de calendriers est atteint.",
7128
7172
  bio_ryhthm_reset_description_text: "Voulez-vous vraiment réinitialiser les paramètres du rythme biologique ?",
7129
7173
  timeschedule_add_schedule_devicestate_sec_warning_text: "Une ambiance est toujours appliquée à l'éclairage et au ventilateur. Veuillez ajouter un ventilateur dans la section « APPLIQUER POUR » pour sélectionner une ambiance.",
7130
7174
  device_menu_contact_sensors_secondbox_text1: "Batterie faible",
@@ -7287,13 +7331,17 @@ export default {
7287
7331
  contact_sensor_battery_state1: "Élevé",
7288
7332
  contact_sensor_battery_state2: "Moyen",
7289
7333
  contact_sensor_battery_state3: "Faible",
7290
- ldv_pir_sensitivity: "PIR Sensitivity",
7291
- ldv_pir_delay: "PIR Delay",
7292
- ldv_second: "Second",
7334
+ ldv_pir_sensitivity: "Sensibilité",
7335
+ ldv_pir_delay: "Temporisation",
7336
+ ldv_second: "Seconde",
7293
7337
  conflict_dialog_active_item_timeschedule_titel: "Voulez-vous vraiment activer ce calendrier ?",
7294
- group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
7338
+ group_conflict_feature: "Notez que tous les calendriers en conflits (le cas échéant) seront désactivés.",
7295
7339
  registration_dialog_button_yes: "Oui",
7296
- registration_dialog_button_no: "Non"
7340
+ registration_dialog_button_no: "Non",
7341
+ socket_settings_switch_off_min: "min",
7342
+ socket_settings_switch_off_s: "s",
7343
+ socket_settings_switch_off_firstbox_text: "Éteindre après un certain temps",
7344
+ socket_settings_switch_off_secondtopic: "Après quel délai l'appareil doit-il être éteint ?"
7297
7345
  },
7298
7346
  hr: {
7299
7347
  add_new_dynamic_mood_color_changing_mode_value: "Prijelaz",
@@ -7901,7 +7949,11 @@ export default {
7901
7949
  conflict_dialog_active_item_timeschedule_titel: "Želite li stvarno aktivirati ovaj vremenski raspored?",
7902
7950
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
7903
7951
  registration_dialog_button_yes: "Da",
7904
- registration_dialog_button_no: "Ne"
7952
+ registration_dialog_button_no: "Ne",
7953
+ socket_settings_switch_off_min: "min",
7954
+ socket_settings_switch_off_s: "s",
7955
+ socket_settings_switch_off_firstbox_text: "Isključivanje nakon određenog vremena",
7956
+ socket_settings_switch_off_secondtopic: "Nakon kojeg vremena uređaj treba isključiti?"
7905
7957
  },
7906
7958
  hu: {
7907
7959
  add_new_dynamic_mood_color_changing_mode_value: "Átmenet",
@@ -8509,7 +8561,11 @@ export default {
8509
8561
  conflict_dialog_active_item_timeschedule_titel: "Biztosan aktiválni szeretné ezt az ütemezést?",
8510
8562
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
8511
8563
  registration_dialog_button_yes: "Igen",
8512
- registration_dialog_button_no: "Nem"
8564
+ registration_dialog_button_no: "Nem",
8565
+ socket_settings_switch_off_min: "perc",
8566
+ socket_settings_switch_off_s: "s",
8567
+ socket_settings_switch_off_firstbox_text: "Kikapcsolás egy bizonyos idő után",
8568
+ socket_settings_switch_off_secondtopic: "Mennyi idő elteltével kapcsoljon ki az eszköz?"
8513
8569
  },
8514
8570
  it: {
8515
8571
  add_new_dynamic_mood_color_changing_mode_value: "Fluido",
@@ -9117,7 +9173,11 @@ export default {
9117
9173
  conflict_dialog_active_item_timeschedule_titel: "Stai per attivare questo programma orario. Confermi?",
9118
9174
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
9119
9175
  registration_dialog_button_yes: "Sì",
9120
- registration_dialog_button_no: "No"
9176
+ registration_dialog_button_no: "No",
9177
+ socket_settings_switch_off_min: "min",
9178
+ socket_settings_switch_off_s: "s",
9179
+ socket_settings_switch_off_firstbox_text: "Spegni dopo un certo periodo di tempo",
9180
+ socket_settings_switch_off_secondtopic: "Dopo quanto tempo il dispositivo deve essere spento?"
9121
9181
  },
9122
9182
  ko: {
9123
9183
  add_new_dynamic_mood_color_changing_mode_value: "그래디언트",
@@ -9725,7 +9785,11 @@ export default {
9725
9785
  conflict_dialog_active_item_timeschedule_titel: "이 일정을 활성화하시겠습니까?",
9726
9786
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
9727
9787
  registration_dialog_button_yes: "예",
9728
- registration_dialog_button_no: "아니오"
9788
+ registration_dialog_button_no: "아니오",
9789
+ socket_settings_switch_off_min: "분",
9790
+ socket_settings_switch_off_s: "초",
9791
+ socket_settings_switch_off_firstbox_text: "일정 시간이 지나면 전원을 끕니다.",
9792
+ socket_settings_switch_off_secondtopic: "장치를 몇 시간 후에 꺼야 합니까?"
9729
9793
  },
9730
9794
  lt: {
9731
9795
  add_new_dynamic_mood_color_changing_mode_value: "Gradientas",
@@ -10333,7 +10397,11 @@ export default {
10333
10397
  conflict_dialog_active_item_timeschedule_titel: "Ar tikrai norite įjungti šį grafiką?",
10334
10398
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
10335
10399
  registration_dialog_button_yes: "Taip",
10336
- registration_dialog_button_no: "Ne"
10400
+ registration_dialog_button_no: "Ne",
10401
+ socket_settings_switch_off_min: "min.",
10402
+ socket_settings_switch_off_s: "s",
10403
+ socket_settings_switch_off_firstbox_text: "Išjungti po tam tikro laiko",
10404
+ socket_settings_switch_off_secondtopic: "Po kurio laiko įtaisas turi išsijungti?"
10337
10405
  },
10338
10406
  lv: {
10339
10407
  add_new_dynamic_mood_color_changing_mode_value: "Gradients",
@@ -10941,7 +11009,11 @@ export default {
10941
11009
  conflict_dialog_active_item_timeschedule_titel: "Vai tiešām vēlaties aktivizēt šo laika grafiku?",
10942
11010
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
10943
11011
  registration_dialog_button_yes: "Jā",
10944
- registration_dialog_button_no: "Nē"
11012
+ registration_dialog_button_no: "Nē",
11013
+ socket_settings_switch_off_min: "min.",
11014
+ socket_settings_switch_off_s: "s",
11015
+ socket_settings_switch_off_firstbox_text: "Pēc noteikta laika izslēdziet",
11016
+ socket_settings_switch_off_secondtopic: "Pēc cik ilga laika ierīce ir jāizslēdz?"
10945
11017
  },
10946
11018
  nb: {
10947
11019
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -11549,7 +11621,11 @@ export default {
11549
11621
  conflict_dialog_active_item_timeschedule_titel: "Vil du virkelig aktivere denne tidsplanen?",
11550
11622
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
11551
11623
  registration_dialog_button_yes: "Ja",
11552
- registration_dialog_button_no: "Nei"
11624
+ registration_dialog_button_no: "Nei",
11625
+ socket_settings_switch_off_min: "min",
11626
+ socket_settings_switch_off_s: "s",
11627
+ socket_settings_switch_off_firstbox_text: "Slå av etter en periode",
11628
+ socket_settings_switch_off_secondtopic: "Etter hvilken tidsperiode skal enheten slås av?"
11553
11629
  },
11554
11630
  nl: {
11555
11631
  add_new_dynamic_mood_color_changing_mode_value: "Verloop",
@@ -12157,7 +12233,11 @@ export default {
12157
12233
  conflict_dialog_active_item_timeschedule_titel: "Wilt u dit tijdschema echt activeren?",
12158
12234
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
12159
12235
  registration_dialog_button_yes: "Ja",
12160
- registration_dialog_button_no: "Nee"
12236
+ registration_dialog_button_no: "Nee",
12237
+ socket_settings_switch_off_min: "min",
12238
+ socket_settings_switch_off_s: "s",
12239
+ socket_settings_switch_off_firstbox_text: "Schakel na een bepaalde tijd uit",
12240
+ socket_settings_switch_off_secondtopic: "Na welke tijd moet het apparaat worden uitgeschakeld?"
12161
12241
  },
12162
12242
  pl: {
12163
12243
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -12765,7 +12845,11 @@ export default {
12765
12845
  conflict_dialog_active_item_timeschedule_titel: "Czy naprawdę chcesz aktywować ten harmonogram?",
12766
12846
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
12767
12847
  registration_dialog_button_yes: "Tak",
12768
- registration_dialog_button_no: "Nie"
12848
+ registration_dialog_button_no: "Nie",
12849
+ socket_settings_switch_off_min: "min",
12850
+ socket_settings_switch_off_s: "S",
12851
+ socket_settings_switch_off_firstbox_text: "Wyłącz po pewnym czasie",
12852
+ socket_settings_switch_off_secondtopic: "Po jakim czasie urządzenie powinno zostać wyłączone?"
12769
12853
  },
12770
12854
  'pt-BR': {
12771
12855
  add_new_dynamic_mood_color_changing_mode_value: "Gradiente",
@@ -13373,7 +13457,11 @@ export default {
13373
13457
  conflict_dialog_active_item_timeschedule_titel: "Você realmente deseja ativar esse cronograma?",
13374
13458
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
13375
13459
  registration_dialog_button_yes: "Sim",
13376
- registration_dialog_button_no: "Não"
13460
+ registration_dialog_button_no: "Não",
13461
+ socket_settings_switch_off_min: "min",
13462
+ socket_settings_switch_off_s: "s",
13463
+ socket_settings_switch_off_firstbox_text: "Desligar após um período de tempo",
13464
+ socket_settings_switch_off_secondtopic: "Depois de quanto tempo o dispositivo deve ser desligado?"
13377
13465
  },
13378
13466
  'pt_BR': {
13379
13467
  add_new_dynamic_mood_color_changing_mode_value: "Gradiente",
@@ -13981,7 +14069,11 @@ export default {
13981
14069
  conflict_dialog_active_item_timeschedule_titel: "Você realmente deseja ativar esse cronograma?",
13982
14070
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
13983
14071
  registration_dialog_button_yes: "Sim",
13984
- registration_dialog_button_no: "Não"
14072
+ registration_dialog_button_no: "Não",
14073
+ socket_settings_switch_off_min: "min",
14074
+ socket_settings_switch_off_s: "s",
14075
+ socket_settings_switch_off_firstbox_text: "Desligar após um período de tempo",
14076
+ socket_settings_switch_off_secondtopic: "Depois de quanto tempo o dispositivo deve ser desligado?"
13985
14077
  },
13986
14078
  ro: {
13987
14079
  add_new_dynamic_mood_color_changing_mode_value: "Gradient",
@@ -14572,13 +14664,13 @@ export default {
14572
14664
  month_short_october: "Oct.",
14573
14665
  month_short_september: "Sep.",
14574
14666
  consumption_data_annual_bar_chart_text: "Unitate: kWh",
14575
- flag_addanewflag: "Add a new flag",
14576
- flag_edittheflag: "Edit the flag",
14577
- flag_deleteflag: "Delete flag",
14578
- flag_deletepopup: "Do you really want to delete the flag?",
14579
- flag_canceladding: "Do you really want to cancel adding a new flag?",
14580
- flag_cancelinfo: "Note that your input will be lost if you cancel adding a new flag.",
14581
- flag_canceledit: "Note that your changes will be lost if you leave edit the flag.",
14667
+ flag_addanewflag: "Adăugați un steag nou",
14668
+ flag_edittheflag: "Editați steagul",
14669
+ flag_deleteflag: "Ștergeți steagul",
14670
+ flag_deletepopup: "Sigur doriți ștergerea steagului?",
14671
+ flag_canceladding: "Sunteți sigur doriți anulați adăugarea unui nou steag?",
14672
+ flag_cancelinfo: "Rețineți, intrarea dvs. va fi pierdută dacă anulați adăugarea unui nou steag.",
14673
+ flag_canceledit: "Rețineți modificările dvs. se vor pierde dacă părăsiți editarea steagului.",
14582
14674
  flag_leverkusen: "Leverkusen",
14583
14675
  contact_sensor_battery_state1: "Înalt",
14584
14676
  contact_sensor_battery_state2: "Mediu",
@@ -14587,9 +14679,13 @@ export default {
14587
14679
  ldv_pir_delay: "PIR Delay",
14588
14680
  ldv_second: "Second",
14589
14681
  conflict_dialog_active_item_timeschedule_titel: "Sigur doriți să activați acest program?",
14590
- group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
14682
+ group_conflict_feature: "Rețineți toate programele care intră în conflict (dacă există) vor fi dezactivate.",
14591
14683
  registration_dialog_button_yes: "Da",
14592
- registration_dialog_button_no: "Nu"
14684
+ registration_dialog_button_no: "Nu",
14685
+ socket_settings_switch_off_min: "min.",
14686
+ socket_settings_switch_off_s: "s",
14687
+ socket_settings_switch_off_firstbox_text: "Opriți după o perioadă de timp",
14688
+ socket_settings_switch_off_secondtopic: "După ce interval de timp ar trebui să fie oprit dispozitivul?"
14593
14689
  },
14594
14690
  ru: {
14595
14691
  add_new_dynamic_mood_color_changing_mode_value: "Градиент",
@@ -15197,7 +15293,11 @@ export default {
15197
15293
  conflict_dialog_active_item_timeschedule_titel: "Вы действительно хотите активировать это расписание?",
15198
15294
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
15199
15295
  registration_dialog_button_yes: "Да",
15200
- registration_dialog_button_no: "Нет"
15296
+ registration_dialog_button_no: "Нет",
15297
+ socket_settings_switch_off_min: "мин.",
15298
+ socket_settings_switch_off_s: "S",
15299
+ socket_settings_switch_off_firstbox_text: "Выключить через некоторое время",
15300
+ socket_settings_switch_off_secondtopic: "Через какой период времени следует выключить устройство?"
15201
15301
  },
15202
15302
  sk: {
15203
15303
  add_new_dynamic_mood_color_changing_mode_value: "Prechod",
@@ -15805,7 +15905,11 @@ export default {
15805
15905
  conflict_dialog_active_item_timeschedule_titel: "Naozaj chcete aktivovať tento časový plán?",
15806
15906
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
15807
15907
  registration_dialog_button_yes: "Áno",
15808
- registration_dialog_button_no: "Nie"
15908
+ registration_dialog_button_no: "Nie",
15909
+ socket_settings_switch_off_min: "minút",
15910
+ socket_settings_switch_off_s: "s",
15911
+ socket_settings_switch_off_firstbox_text: "Vypnutie po určitom čase",
15912
+ socket_settings_switch_off_secondtopic: "Po akom čase by sa malo zariadenie vypnúť?"
15809
15913
  },
15810
15914
  sv: {
15811
15915
  add_new_dynamic_mood_color_changing_mode_value: "Toning",
@@ -16413,7 +16517,11 @@ export default {
16413
16517
  conflict_dialog_active_item_timeschedule_titel: "Vill du verkligen aktivera detta tidsschema?",
16414
16518
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
16415
16519
  registration_dialog_button_yes: "Ja",
16416
- registration_dialog_button_no: "Nej"
16520
+ registration_dialog_button_no: "Nej",
16521
+ socket_settings_switch_off_min: "min",
16522
+ socket_settings_switch_off_s: "s",
16523
+ socket_settings_switch_off_firstbox_text: "Stäng av efter en viss tid",
16524
+ socket_settings_switch_off_secondtopic: "Efter vilken tidsperiod ska enheten stängas av?"
16417
16525
  },
16418
16526
  tr: {
16419
16527
  add_new_dynamic_mood_color_changing_mode_value: "Gradyan",
@@ -17021,7 +17129,11 @@ export default {
17021
17129
  conflict_dialog_active_item_timeschedule_titel: "Bu zaman çizelgesini gerçekten etkinleştirmek istiyor musunuz?",
17022
17130
  group_conflict_feature: "Note that all the conflicting schedules (if any) will be deactivated.",
17023
17131
  registration_dialog_button_yes: "Evet",
17024
- registration_dialog_button_no: "Hayır"
17132
+ registration_dialog_button_no: "Hayır",
17133
+ socket_settings_switch_off_min: "dk",
17134
+ socket_settings_switch_off_s: "s",
17135
+ socket_settings_switch_off_firstbox_text: "Belirli bir süre sonra kapatın",
17136
+ socket_settings_switch_off_secondtopic: "Cihaz hangi süreden sonra kapatılmalıdır?"
17025
17137
  },
17026
17138
  uk: {
17027
17139
  add_new_dynamic_mood_color_changing_mode_value: "Градієнт",
@@ -17629,6 +17741,10 @@ export default {
17629
17741
  conflict_dialog_active_item_timeschedule_titel: "Ви дійсно хочете активувати цей розклад?",
17630
17742
  group_conflict_feature: "Зверніть увагу, що всі конфліктні графіки (якщо такі є) будуть деактивовані.",
17631
17743
  registration_dialog_button_yes: "Так",
17632
- registration_dialog_button_no: "Ні"
17744
+ registration_dialog_button_no: "Ні",
17745
+ socket_settings_switch_off_min: "хв",
17746
+ socket_settings_switch_off_s: "с",
17747
+ socket_settings_switch_off_firstbox_text: "Вимкніть через деякий час",
17748
+ socket_settings_switch_off_secondtopic: "Через який проміжок часу пристрій слід вимкнути?"
17633
17749
  }
17634
17750
  }
@@ -299,7 +299,7 @@ export function useGroupConfig<T>(): [T, (dps: any, newConfig: T) => Promise<Res
299
299
  const res = await NativeApi.groupControl(tyGroupId, JSON.stringify(dps), JSON.stringify(newConfig))
300
300
  if (res.success) {
301
301
  // 只在结果成功时才改变 redux 数据
302
- dispatch(setGroupConfig(newConfig))
302
+ dispatch(setGroupConfig({...config, ...newConfig}))
303
303
  }
304
304
  return res
305
305
  }, [])
@@ -398,4 +398,4 @@ export {
398
398
  useGroupDevices,
399
399
  useSystemTimeFormate,
400
400
  useEnergieverbrauch,
401
- }
401
+ }