Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DpunktS committed Feb 22, 2025
1 parent 2f20b16 commit 98e1008
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,10 +474,7 @@ class SeplosV3Sniffer extends utils.Adapter {
}

for (const [key, { value, unit, role, ctype }] of Object.entries(updates)) {
if (
!this.lastUpdate[key] ||
now - this.lastUpdate[key] >= this.updateInterval
) {
if (!this.lastUpdate[key] || now - this.lastUpdate[key] >= this.updateInterval) {
this.lastUpdate[key] = now;
await this.ensureObjectExists(key, {
type: 'state',
Expand Down

0 comments on commit 98e1008

Please sign in to comment.