Skip to content

Commit

Permalink
fix for #78
Browse files Browse the repository at this point in the history
fixes #78
  • Loading branch information
donavanbecker committed Nov 14, 2021
1 parent cb2b045 commit 5e3af78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/meters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class Meter {
minStep: 0.1,
})
.onGet(() => {
return Number.isNaN(this.CurrentTemperature);
return this.CurrentTemperature;
});
} else {
this.platform.device('Temperature Sensor Not Added');
Expand Down

0 comments on commit 5e3af78

Please sign in to comment.