Skip to content

Commit

Permalink
Merge pull request #254 from Grizzelbee/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Grizzelbee authored Feb 26, 2024
2 parents fe48f64 + 9d94129 commit bfc04b2
Show file tree
Hide file tree
Showing 6 changed files with 1,151 additions and 1,296 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
exclude:
# Don't test Node.js 8 on Windows. npm is weird here
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ All states report whether there is a failure or not. `True` means a failure, `fa
## Changelog
### **WORK IN PROGRESS**

### 3.1.2 (2024-02-26) (Marching on)
* (grizzelbee) Upd: dependencies got updated
* (grizzelbee) Fix: 2FA Process is working again
* (grizzelbee) New: At least nodeJs V18.2.0 is required

### 3.1.1 (2024-02-01) (Marching on)
* (grizzelbee) Upd: dependencies got updated
* (grizzelbee) Fix: [#244](https://github.com/Grizzelbee/ioBroker.dysonairpurifier/issues/244) Fixed PM2.5, PM10, VOC Values to be compliant to the dyson App
Expand Down
3 changes: 2 additions & 1 deletion dyson-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ module.exports.getDyson2faMail = async function(adapter, email, passwd, country,
});
adapter.log.debug(`Result from API-Status request -> challengeId is: ${response.data.challengeId}`);
adapter.log.debug(stringify(response.data));
return(response.data);
//return(response.data);
return( {native: {challengeId: response.data.challengeId}} );
} else {
return({error : `Received unexpected authentication-method from dyson API. Expecting: [EMAIL_PWD_2FA], received: [${result.data.authenticationMethod}].`});
}
Expand Down
15 changes: 14 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "dysonairpurifier",
"version": "3.1.1",
"version": "3.1.2",
"news": {
"3.1.2": {
"en": "dependencies got updated\n2FA Process is working again\nAt least nodeJs V18.2.0 is required",
"de": "Abhängigkeiten wurden aktualisiert\n2FA-Prozess funktioniert wieder\nMindestens nodeJs V18.2.0 ist erforderlich",
"ru": "зависимости обновлены \n Процесс 2FA снова работает \n Требуется как минимум nodeJs V18.2.0",
"pt": "dependências foram atualizadas\n O processo 2FA está funcionando novamente\nPelo menos nodeJs V18.2.0 é necessário",
"nl": "afhankelijkheden zijn bijgewerkt\n2FA-proces werkt weer\nMinimaal nodeJs V18.2.0 is vereist",
"fr": "les dépendances ont été mises à jour\nLe processus 2FA fonctionne à nouveau\nAu moins nodeJs V18.2.0 est requis",
"it": "le dipendenze sono state aggiornate\n Il processo 2FA funziona di nuovo\nÈ richiesto almeno nodeJs V18.2.0",
"es": "las dependencias se actualizaron\n El proceso 2FA está funcionando nuevamente\n Se requiere al menos nodeJs V18.2.0",
"pl": "zależności zostały zaktualizowane\nProces 2FA znów działa\nWymagany jest przynajmniej nodeJs V18.2.0",
"uk": "залежності оновлено\nПроцес 2FA знову працює\nПотрібен принаймні nodeJs V18.2.0",
"zh-cn": "依赖项已更新\n2FA 进程再次运行\n至少需要 nodeJs V18.2.0"
},
"3.1.1": {
"en": "dependencies got updated\nFixed PM2.5, PM10, VOC, NO2 Values\nFixed PM2.5, PM10, VOC Indexes\nUpdated admin-UI to jsonConfig",
"de": "Abhängigkeiten wurden aktualisiert \n PM2.5-, PM10-, VOC-, NO2-Werte korrigiert \n PM2.5-, PM10-, VOC-Indizes korrigiert \n Admin-UI auf jsonConfig aktualisiert",
Expand Down
Loading

0 comments on commit bfc04b2

Please sign in to comment.