Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Oct 26, 2023
1 parent 9f1f385 commit ea833f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ class hs100Controll extends utils.Adapter {

if (!_requestInterval) {
_requestInterval= setInterval(async () => {
this.getInfos();
}, interval);
this.getInfos();
}, interval);
}
} catch (err) {
this.log.error('getInfosError ' + JSON.stringify(err));
}
Expand Down

0 comments on commit ea833f9

Please sign in to comment.