Skip to content

Commit

Permalink
ActiveTimeTable can be set (issue #337)
Browse files Browse the repository at this point in the history
* ActiveTimeTable can be set
* change sequence of methods
  • Loading branch information
HGlab01 authored Aug 18, 2021
1 parent 52fdca0 commit a61dcc4
Show file tree
Hide file tree
Showing 6 changed files with 378 additions and 387 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ In general vaules are now NULL if API sends NULL or just nothing. In v0.2.x some
### __WORK IN PROGRESS__
-->

### 0.3.7-1 (2021-08-18)
* (HGlab01) ActiveTimeTable can be set
* (HGlab01) Improve logs and change code structure a little bit

### 0.3.6 (2021-08-16)
* (HGlab01) support attribute 'orientation' (Sentry: IOBROKER-TADO-35)

Expand Down
50 changes: 25 additions & 25 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
{
"common": {
"name": "tado",
"version": "0.3.6",
"version": "0.3.7-1",
"news": {
"0.3.7-1": {
"en": "ActiveTimeTable can be set\nImprove logs and change code structure a little bit",
"de": "ActiveTimeTable kann eingestellt werden\nVerbessern Sie die Protokolle und ändern Sie die Codestruktur ein wenig",
"ru": "ActiveTimeTable можно установить\nУлучшить логи и немного изменить структуру кода",
"pt": "ActiveTimeTable pode ser definido\nMelhore os registros e altere um pouco a estrutura do código",
"nl": "ActiveTimeTable kan worden ingesteld\nVerbeter logs en verander de codestructuur een beetje",
"fr": "ActiveTimeTable peut être défini\nAméliorer les journaux et modifier un peu la structure du code",
"it": "ActiveTimeTable può essere impostato\nMigliora i log e cambia un po' la struttura del codice",
"es": "ActiveTimeTable se puede configurar\nMejore los registros y cambie un poco la estructura del código",
"pl": "Można ustawić ActiveTimeTable\nPopraw logi i trochę zmień strukturę kodu",
"zh-cn": "可以设置ActiveTimeTable\n改进日志并稍微改变代码结构"
},
"0.3.7-0": {
"en": "ActiveTimeTable can be set\nImprove logs and change code structure a little bit",
"de": "ActiveTimeTable kann eingestellt werden\nVerbessern Sie die Protokolle und ändern Sie die Codestruktur ein wenig",
"ru": "ActiveTimeTable можно установить\nУлучшить логи и немного изменить структуру кода",
"pt": "ActiveTimeTable pode ser definido\nMelhore os registros e altere um pouco a estrutura do código",
"nl": "ActiveTimeTable kan worden ingesteld\nVerbeter logs en verander de codestructuur een beetje",
"fr": "ActiveTimeTable peut être défini\nAméliorer les journaux et modifier un peu la structure du code",
"it": "ActiveTimeTable può essere impostato\nMigliora i log e cambia un po' la struttura del codice",
"es": "ActiveTimeTable se puede configurar\nMejore los registros y cambie un poco la estructura del código",
"pl": "Można ustawić ActiveTimeTable\nPopraw logi i trochę zmień strukturę kodu",
"zh-cn": "可以设置ActiveTimeTable\n改进日志并稍微改变代码结构"
},
"0.3.6": {
"en": "support attribute 'orientation' (Sentry: IOBROKER-TADO-35)",
"de": "Support-Attribut 'Orientation' (Sentry: IOBROKER-TADO-35)",
Expand Down Expand Up @@ -218,30 +242,6 @@
"es": "¡Refactorización técnica de la gestión estatal! ¡CAMBIOS IMPORTANTES! (véase más arriba)\nimplementar la funcionalidad de compensación\nEstablecer el tiempo de actualización mínimo en 30 segundos\nPase iobroker-jsonexplorer a v0.1.0",
"pl": "Refaktoryzacja techniczna zarządzania państwem !PRZEŁOMOWE ZMIANY! (patrz wyżej)\nwdrożyć funkcjonalność offsetową\nUstaw minimalny czas odświeżania na 30 sekund\nPodnieś iobroker-jsonexplorer do wersji 0.1.0",
"zh-cn": "状态管理的技术重构!突破性的变化! (看上面)\n实现偏移功能\n将最小刷新时间设置为 30 秒\n将 iobroker-jsonexplorer 升级到 v0.1.0"
},
"0.3.0-3": {
"en": "implement offset functionality\nTechnical re-factoring of state management !BREAKING CHANGES! (see above)\nSet minimum refresh time to 30 seconds",
"de": "Offset-Funktionalität implementieren\nTechnisches Re-Factoring der staatlichen Verwaltung! BREAKING CHANGES! (siehe oben)\nStellen Sie die minimale Aktualisierungszeit auf 30 Sekunden ein",
"ru": "реализовать функциональность смещения\nТехнический рефакторинг госуправления! ГРОМКИЕ ИЗМЕНЕНИЯ! (см. выше)\nУстановите минимальное время обновления на 30 секунд.",
"pt": "implementar funcionalidade de deslocamento\nRefatoração técnica da gestão do estado! QUEBRANDO MUDANÇAS! (Veja acima)\nDefina o tempo mínimo de atualização para 30 segundos",
"nl": "offset-functionaliteit implementeren\nTechnische re-factoring van het staatsbeheer! BREKENDE VERANDERINGEN! (zie hierboven)\nStel de minimale verversingstijd in op 30 seconden",
"fr": "mettre en œuvre la fonctionnalité de décalage\nRéaffacturage technique de la gestion de l'État! (voir au dessus)\nDéfinissez le temps d'actualisation minimum sur 30 secondes",
"it": "implementare la funzionalità offset\nRifacimento tecnico della gestione statale! CAMBIAMENTI ROTTURANTI! (vedi sopra)\nImposta il tempo di aggiornamento minimo su 30 secondi",
"es": "implementar la funcionalidad de compensación\n¡Refactorización técnica de la gestión estatal! ¡CAMBIOS IMPORTANTES! (véase más arriba)\nEstablecer el tiempo de actualización mínimo en 30 segundos",
"pl": "wdrożyć funkcję offsetu\nTechniczne ponowne faktoring zarządzania państwem! PRZEŁOMOWE ZMIANY! (patrz wyżej)\nUstaw minimalny czas odświeżania na 30 sekund",
"zh-cn": "实现偏移功能\n状态管理的技术重构!BREAK更改! (看上面)\n将最小刷新时间设置为30秒"
},
"0.3.0-2": {
"en": "implement offset functionality\nTechnical re-factoring of state management !BREAKING CHANGES! (see above)",
"de": "Offset-Funktionalität implementieren\nTechnisches Re-Factoring der staatlichen Verwaltung! BREAKING CHANGES! (siehe oben)",
"ru": "реализовать функциональность смещения\nТехнический рефакторинг госуправления! ГРОМКИЕ ИЗМЕНЕНИЯ! (см. выше)",
"pt": "implementar funcionalidade de deslocamento\nRefatoração técnica da gestão do estado! QUEBRANDO MUDANÇAS! (Veja acima)",
"nl": "offset-functionaliteit implementeren\nTechnische re-factoring van het staatsbeheer! BREKENDE VERANDERINGEN! (zie hierboven)",
"fr": "mettre en œuvre la fonctionnalité de décalage\nRéaffacturage technique de la gestion de l'État! (voir au dessus)",
"it": "implementare la funzionalità offset\nRi-factoring tecnico della gestione statale! CAMBIAMENTI ROTTURANTI! (vedi sopra)",
"es": "implementar la funcionalidad de compensación\n¡Refactorización técnica de la gestión estatal! ¡CAMBIOS IMPORTANTES! (véase más arriba)",
"pl": "wdrożyć funkcję offsetu\nTechniczne ponowne faktoring zarządzania państwem! PRZEŁOMOWE ZMIANY! (patrz wyżej)",
"zh-cn": "实现偏移功能\n状态管理的技术重构!BREAK更改! (看上面)"
}
},
"title": "Tado",
Expand Down
11 changes: 11 additions & 0 deletions lib/state_attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,17 @@ const state_attrb = {
type: 'string',
role: 'info',
},
'tt_id': {
name: 'TimeTable ID',
type: 'number',
role: 'info',
write: true,
states: {
0: 'Mo-Su',
1: 'Mo-Fr,Sa,Su',
2: 'Every day',
}
},
};

module.exports = state_attrb;
Loading

0 comments on commit a61dcc4

Please sign in to comment.