Skip to content

Commit

Permalink
Dependency updates and add feature request #2
Browse files Browse the repository at this point in the history
  • Loading branch information
xXBJXx committed Feb 6, 2023
1 parent 9bca425 commit 2b11ac0
Show file tree
Hide file tree
Showing 24 changed files with 595 additions and 545 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ body:
**IMPORTANT:** Before submitting:
- Have you read the documentation?
Search for existing issues:
- [open issues](https://github.com/xXBJXx/ioBroker.hue-sync-box/issues?q=is%3Aopen+is%3Aissue)
- [closed issues](https://github.com/xXBJXx/ioBroker.hue-sync-box/issues?q=is%3Aissue+is%3Aclosed)
- [open issues](https://github.com/xXBJXx/ioBroker.elgato-key-light/issues?q=is%3Aopen+is%3Aissue)
- [closed issues](https://github.com/xXBJXx/ioBroker.elgato-key-light/issues?q=is%3Aissue+is%3Aclosed)
- type: checkboxes
attributes:
label: Is there an existing issue for this?
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ The data points are divided into:
### **WORK IN PROGRESS**
* (xXBJXx) removed the Bonjour search, because it did not work properly
* (xXBJXx) Adding a delete function for devices
* (xXBJXx) Dependency updates
* (xXBJXx) feature request [#2](https://github.com/xXBJXx/ioBroker.elgato-key-light/issues/2) added

### 0.0.3 (2023-01-22)
* (xXBJXx) changed all images to png
Expand Down
128 changes: 72 additions & 56 deletions admin/build/tab.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions admin/build/tab.js.map

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions admin/src/i18n/de.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Helligkeit",
"boxCard_Color": "Farbe",
"boxCard_ColorTemp": "Farbtemperatur",
"boxCard_cancel": "Abbrechen",
"boxCard_delete": "löschen",
"boxCard_dialog_DeleteText": "Wollen sie wirklich %s löschen?",
"boxCard_update": "Aktualisieren",
"tab_adapterNotAlive": "Der Adapter ist nicht eingeschaltet. Bitte schalten Sie zuerst den Adapter ein.",
"tab_addDevices": "Gerät hinzufügen",
"tab_devices": "Geräte",
"tab_interval": "Intervall",
"tab_intervalTooltip": "Hier können Sie das Abfrageintervall für den Adapter einstellen. Die Standardeinstellung ist 60 Sekunden.",
"tab_noDevices": "Es wurden keine Geräte gefunden",
"tab_saveButton": "Speichern"
"boxCard_Brightness": "Helligkeit",
"boxCard_Color": "Farbe",
"boxCard_ColorTemp": "Farbtemperatur",
"boxCard_cancel": "Abbrechen",
"boxCard_delete": "löschen",
"boxCard_dialog_DeleteText": "Wollen sie wirklich %s löschen?",
"boxCard_update": "Aktualisieren",
"tab_adapterNotAlive": "Der Adapter ist nicht eingeschaltet. Bitte schalten Sie zuerst den Adapter ein.",
"tab_addDevices": "Gerät hinzufügen",
"tab_devices": "Geräte",
"tab_interval": "Intervall",
"tab_intervalTooltip": "Hier können Sie das Abfrageintervall für den Adapter einstellen. Die Standardeinstellung ist 60 Sekunden.",
"tab_noDevices": "Es wurden keine Geräte gefunden",
"tab_saveButton": "Speichern"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Brightness",
"boxCard_Color": "Color",
"boxCard_ColorTemp": "Color temperature",
"boxCard_cancel": "Cancel",
"boxCard_delete": "delete",
"boxCard_dialog_DeleteText": "Do they really want to delete %s?",
"boxCard_update": "Update",
"tab_adapterNotAlive": "Adapter is not switched on. Please turn on the adapter first.",
"tab_addDevices": "Add device",
"tab_devices": "Devices",
"tab_interval": "Interval",
"tab_intervalTooltip": "Here you can set the polling interval for the adapter. The default setting is 60 seconds.",
"tab_noDevices": "No devices were found",
"tab_saveButton": "save"
"boxCard_Brightness": "Brightness",
"boxCard_Color": "Color",
"boxCard_ColorTemp": "Color temperature",
"boxCard_cancel": "Cancel",
"boxCard_delete": "delete",
"boxCard_dialog_DeleteText": "Do they really want to delete %s?",
"boxCard_update": "Update",
"tab_adapterNotAlive": "Adapter is not switched on. Please turn on the adapter first.",
"tab_addDevices": "Add device",
"tab_devices": "Devices",
"tab_interval": "Interval",
"tab_intervalTooltip": "Here you can set the polling interval for the adapter. The default setting is 60 seconds.",
"tab_noDevices": "No devices were found",
"tab_saveButton": "save"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/es.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Luminosidad",
"boxCard_Color": "Color",
"boxCard_ColorTemp": "Temperatura de color",
"boxCard_cancel": "Cancelar",
"boxCard_delete": "borrar",
"boxCard_dialog_DeleteText": "¿Realmente quieren borrar %s?",
"boxCard_update": "Actualización",
"tab_adapterNotAlive": "El adaptador no está encendido. Encienda primero el adaptador.",
"tab_addDevices": "Añadir dispositivo",
"tab_devices": "dispositivos",
"tab_interval": "intervalo",
"tab_intervalTooltip": "Aquí puede establecer el intervalo de sondeo del adaptador. El ajuste por defecto es de 60 segundos.",
"tab_noDevices": "No se han encontrado dispositivos",
"tab_saveButton": "guardar"
"boxCard_Brightness": "Luminosidad",
"boxCard_Color": "Color",
"boxCard_ColorTemp": "Temperatura de color",
"boxCard_cancel": "Cancelar",
"boxCard_delete": "borrar",
"boxCard_dialog_DeleteText": "¿Realmente quieren borrar %s?",
"boxCard_update": "Actualización",
"tab_adapterNotAlive": "El adaptador no está encendido. Encienda primero el adaptador.",
"tab_addDevices": "Añadir dispositivo",
"tab_devices": "dispositivos",
"tab_interval": "intervalo",
"tab_intervalTooltip": "Aquí puede establecer el intervalo de sondeo del adaptador. El ajuste por defecto es de 60 segundos.",
"tab_noDevices": "No se han encontrado dispositivos",
"tab_saveButton": "guardar"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Luminosité",
"boxCard_Color": "Couleur",
"boxCard_ColorTemp": "Température de couleur",
"boxCard_cancel": "Annuler",
"boxCard_delete": "supprimer",
"boxCard_dialog_DeleteText": "Veulent-ils vraiment supprimer %s ?",
"boxCard_update": "Mise à jour",
"tab_adapterNotAlive": "L'adaptateur n'est pas allumé. Veuillez d'abord allumer l'adaptateur.",
"tab_addDevices": "Ajouter un dispositif",
"tab_devices": "dispositifs",
"tab_interval": "intervalle",
"tab_intervalTooltip": "Vous pouvez définir ici l'intervalle d'interrogation de l'adaptateur. Le paramètre par défaut est de 60 secondes.",
"tab_noDevices": "Aucun appareil n'a été trouvé",
"tab_saveButton": "sauver"
"boxCard_Brightness": "Luminosité",
"boxCard_Color": "Couleur",
"boxCard_ColorTemp": "Température de couleur",
"boxCard_cancel": "Annuler",
"boxCard_delete": "supprimer",
"boxCard_dialog_DeleteText": "Veulent-ils vraiment supprimer %s ?",
"boxCard_update": "Mise à jour",
"tab_adapterNotAlive": "L'adaptateur n'est pas allumé. Veuillez d'abord allumer l'adaptateur.",
"tab_addDevices": "Ajouter un dispositif",
"tab_devices": "dispositifs",
"tab_interval": "intervalle",
"tab_intervalTooltip": "Vous pouvez définir ici l'intervalle d'interrogation de l'adaptateur. Le paramètre par défaut est de 60 secondes.",
"tab_noDevices": "Aucun appareil n'a été trouvé",
"tab_saveButton": "sauver"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/it.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Luminosità",
"boxCard_Color": "Colore",
"boxCard_ColorTemp": "Temperatura di colore",
"boxCard_cancel": "Annullamento",
"boxCard_delete": "cancellare",
"boxCard_dialog_DeleteText": "Vogliono davvero cancellare %s?",
"boxCard_update": "Aggiornamento",
"tab_adapterNotAlive": "L'adattatore non è acceso. Accendere prima l'adattatore.",
"tab_addDevices": "Aggiungi dispositivo",
"tab_devices": "dispositivi",
"tab_interval": "intervallo",
"tab_intervalTooltip": "Qui è possibile impostare l'intervallo di polling per l'adattatore. L'impostazione predefinita è 60 secondi.",
"tab_noDevices": "Non sono stati trovati dispositivi",
"tab_saveButton": "salvare"
"boxCard_Brightness": "Luminosità",
"boxCard_Color": "Colore",
"boxCard_ColorTemp": "Temperatura di colore",
"boxCard_cancel": "Annullamento",
"boxCard_delete": "cancellare",
"boxCard_dialog_DeleteText": "Vogliono davvero cancellare %s?",
"boxCard_update": "Aggiornamento",
"tab_adapterNotAlive": "L'adattatore non è acceso. Accendere prima l'adattatore.",
"tab_addDevices": "Aggiungi dispositivo",
"tab_devices": "dispositivi",
"tab_interval": "intervallo",
"tab_intervalTooltip": "Qui è possibile impostare l'intervallo di polling per l'adattatore. L'impostazione predefinita è 60 secondi.",
"tab_noDevices": "Non sono stati trovati dispositivi",
"tab_saveButton": "salvare"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/nl.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Helderheid",
"boxCard_Color": "Kleur",
"boxCard_ColorTemp": "Kleurtemperatuur",
"boxCard_cancel": "Annuleren",
"boxCard_delete": "verwijder",
"boxCard_dialog_DeleteText": "Willen ze echt %s verwijderen?",
"boxCard_update": "Update",
"tab_adapterNotAlive": "De adapter is niet ingeschakeld. Zet eerst de adapter aan.",
"tab_addDevices": "Apparaat toevoegen",
"tab_devices": "apparaten",
"tab_interval": "interval",
"tab_intervalTooltip": "Hier kunt u het pollinginterval voor de adapter instellen. De standaardinstelling is 60 seconden.",
"tab_noDevices": "Er zijn geen apparaten gevonden",
"tab_saveButton": "red"
"boxCard_Brightness": "Helderheid",
"boxCard_Color": "Kleur",
"boxCard_ColorTemp": "Kleurtemperatuur",
"boxCard_cancel": "Annuleren",
"boxCard_delete": "verwijder",
"boxCard_dialog_DeleteText": "Willen ze echt %s verwijderen?",
"boxCard_update": "Update",
"tab_adapterNotAlive": "De adapter is niet ingeschakeld. Zet eerst de adapter aan.",
"tab_addDevices": "Apparaat toevoegen",
"tab_devices": "apparaten",
"tab_interval": "interval",
"tab_intervalTooltip": "Hier kunt u het pollinginterval voor de adapter instellen. De standaardinstelling is 60 seconden.",
"tab_noDevices": "Er zijn geen apparaten gevonden",
"tab_saveButton": "red"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/pl.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Jasność",
"boxCard_Color": "Kolor",
"boxCard_ColorTemp": "Temperatura barwowa",
"boxCard_cancel": "Anuluj",
"boxCard_delete": "usuń",
"boxCard_dialog_DeleteText": "Czy naprawdę chcą usunąć %s?",
"boxCard_update": "Actualização",
"tab_adapterNotAlive": "O adaptador não está ligado. Por favor, ligue primeiro o adaptador.",
"tab_addDevices": "Dodaj urządzenie",
"tab_devices": "urządzenia",
"tab_interval": "interwał",
"tab_intervalTooltip": "Tutaj można ustawić interwał pollingu dla adaptera. Domyślnym ustawieniem jest 60 sekund.",
"tab_noDevices": "Nie znaleziono żadnych urządzeń",
"tab_saveButton": "uratować"
"boxCard_Brightness": "Jasność",
"boxCard_Color": "Kolor",
"boxCard_ColorTemp": "Temperatura barwowa",
"boxCard_cancel": "Anuluj",
"boxCard_delete": "usuń",
"boxCard_dialog_DeleteText": "Czy naprawdę chcą usunąć %s?",
"boxCard_update": "Actualização",
"tab_adapterNotAlive": "O adaptador não está ligado. Por favor, ligue primeiro o adaptador.",
"tab_addDevices": "Dodaj urządzenie",
"tab_devices": "urządzenia",
"tab_interval": "interwał",
"tab_intervalTooltip": "Tutaj można ustawić interwał pollingu dla adaptera. Domyślnym ustawieniem jest 60 sekund.",
"tab_noDevices": "Nie znaleziono żadnych urządzeń",
"tab_saveButton": "uratować"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/pt.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Luminosidade",
"boxCard_Color": "Cor",
"boxCard_ColorTemp": "Temperatura de cor",
"boxCard_cancel": "Cancelar",
"boxCard_delete": "eliminar",
"boxCard_dialog_DeleteText": "Será que querem mesmo eliminar %s?",
"boxCard_update": "Actualização",
"tab_adapterNotAlive": "O adaptador não está ligado. Por favor, ligue primeiro o adaptador.",
"tab_addDevices": "Adicionar dispositivo",
"tab_devices": "dispositivos",
"tab_interval": "intervalo",
"tab_intervalTooltip": "Aqui pode definir o intervalo de sondagem para o adaptador. A definição por defeito é de 60 segundos.",
"tab_noDevices": "Não foram encontrados dispositivos",
"tab_saveButton": "excepto"
"boxCard_Brightness": "Luminosidade",
"boxCard_Color": "Cor",
"boxCard_ColorTemp": "Temperatura de cor",
"boxCard_cancel": "Cancelar",
"boxCard_delete": "eliminar",
"boxCard_dialog_DeleteText": "Será que querem mesmo eliminar %s?",
"boxCard_update": "Actualização",
"tab_adapterNotAlive": "O adaptador não está ligado. Por favor, ligue primeiro o adaptador.",
"tab_addDevices": "Adicionar dispositivo",
"tab_devices": "dispositivos",
"tab_interval": "intervalo",
"tab_intervalTooltip": "Aqui pode definir o intervalo de sondagem para o adaptador. A definição por defeito é de 60 segundos.",
"tab_noDevices": "Não foram encontrados dispositivos",
"tab_saveButton": "excepto"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/ru.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Яркость",
"boxCard_Color": "Цвет",
"boxCard_ColorTemp": "Цветовая температура",
"boxCard_cancel": "Отмена",
"boxCard_delete": "удалить",
"boxCard_dialog_DeleteText": "Действительно ли они хотят удалить %s?",
"boxCard_update": "Обновление",
"tab_adapterNotAlive": "Адаптер не включен. Пожалуйста, сначала включите адаптер.",
"tab_addDevices": "Добавить устройство",
"tab_devices": "устройства",
"tab_interval": "интервал",
"tab_intervalTooltip": "Здесь можно задать интервал опроса адаптера. По умолчанию установлено значение 60 секунд.",
"tab_noDevices": "Устройства не найдены",
"tab_saveButton": "сохранить"
"boxCard_Brightness": "Яркость",
"boxCard_Color": "Цвет",
"boxCard_ColorTemp": "Цветовая температура",
"boxCard_cancel": "Отмена",
"boxCard_delete": "удалить",
"boxCard_dialog_DeleteText": "Действительно ли они хотят удалить %s?",
"boxCard_update": "Обновление",
"tab_adapterNotAlive": "Адаптер не включен. Пожалуйста, сначала включите адаптер.",
"tab_addDevices": "Добавить устройство",
"tab_devices": "устройства",
"tab_interval": "интервал",
"tab_intervalTooltip": "Здесь можно задать интервал опроса адаптера. По умолчанию установлено значение 60 секунд.",
"tab_noDevices": "Устройства не найдены",
"tab_saveButton": "сохранить"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/uk.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "Яскравість",
"boxCard_Color": "Колір",
"boxCard_ColorTemp": "Колірна температура",
"boxCard_cancel": "Скасувати",
"boxCard_delete": "видалити",
"boxCard_dialog_DeleteText": "Вони дійсно хочуть видалити %s?",
"boxCard_update": "Actualização",
"tab_adapterNotAlive": "Адаптер не ввімкнено. Будь ласка, спочатку увімкніть адаптер.",
"tab_addDevices": "Додати пристрій",
"tab_devices": "пристрої",
"tab_interval": "інтервал",
"tab_intervalTooltip": "Aqui pode definir o intervalo de sondagem para o adaptador. A definição por defeito é de 60 segundos.",
"tab_noDevices": "Пристроїв не виявлено",
"tab_saveButton": "зберегти"
"boxCard_Brightness": "Яскравість",
"boxCard_Color": "Колір",
"boxCard_ColorTemp": "Колірна температура",
"boxCard_cancel": "Скасувати",
"boxCard_delete": "видалити",
"boxCard_dialog_DeleteText": "Вони дійсно хочуть видалити %s?",
"boxCard_update": "Actualização",
"tab_adapterNotAlive": "Адаптер не ввімкнено. Будь ласка, спочатку увімкніть адаптер.",
"tab_addDevices": "Додати пристрій",
"tab_devices": "пристрої",
"tab_interval": "інтервал",
"tab_intervalTooltip": "Aqui pode definir o intervalo de sondagem para o adaptador. A definição por defeito é de 60 segundos.",
"tab_noDevices": "Пристроїв не виявлено",
"tab_saveButton": "зберегти"
}
28 changes: 14 additions & 14 deletions admin/src/i18n/zh-cn.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"boxCard_Brightness": "亮度",
"boxCard_Color": "颜色",
"boxCard_ColorTemp": "色温",
"boxCard_cancel": "取消",
"boxCard_delete": "删除",
"boxCard_dialog_DeleteText": "他们真的想删除%s吗?",
"boxCard_update": "更新",
"tab_adapterNotAlive": "适配器没有打开。请先打开适配器。",
"tab_addDevices": "添加设备",
"tab_devices": "设备",
"tab_interval": "间隔",
"tab_intervalTooltip": "在这里你可以设置适配器的轮询时间间隔。默认设置是60秒。",
"tab_noDevices": "没有发现任何设备",
"tab_saveButton": "拯救"
"boxCard_Brightness": "亮度",
"boxCard_Color": "颜色",
"boxCard_ColorTemp": "色温",
"boxCard_cancel": "取消",
"boxCard_delete": "删除",
"boxCard_dialog_DeleteText": "他们真的想删除%s吗?",
"boxCard_update": "更新",
"tab_adapterNotAlive": "适配器没有打开。请先打开适配器。",
"tab_addDevices": "添加设备",
"tab_devices": "设备",
"tab_interval": "间隔",
"tab_intervalTooltip": "在这里你可以设置适配器的轮询时间间隔。默认设置是60秒。",
"tab_noDevices": "没有发现任何设备",
"tab_saveButton": "拯救"
}
4 changes: 2 additions & 2 deletions admin/src/tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
useIoBrokerObject,
useIoBrokerState,
} from 'iobroker-react/hooks';
import { IpAddressInput, Logo, NumberInput } from 'iobroker-react';
import { IpAddressInput, NumberInput, SettingsHeader } from 'iobroker-react';
import { Alert, Box, Button, Grid, Stack, Typography, useTheme } from '@mui/material';
import { KeyLight } from '../../src/types/KeyLight';
import { BoxCard } from './components/BoxCard';
Expand Down Expand Up @@ -154,7 +154,7 @@ const Root: React.FC = () => {
backgroundColor: theme.palette.background.paper,
}}
>
<Logo
<SettingsHeader
classes={{
logo: 'logo',
buttons: 'buttons',
Expand Down
9 changes: 0 additions & 9 deletions build/lib/object_definition.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2b11ac0

Please sign in to comment.