We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1907967 + 250f2b1 commit fcb41afCopy full SHA for fcb41af
index.js
@@ -471,7 +471,7 @@ class NatureRemoAircon {
471
if (! (mode === 'cool' || mode === 'warm')) {
472
continue;
473
}
474
- const temperatures = modes[mode].temp.filter(t => t.match(/^\d+(\.\d+)?$/)).map(t => parseInt(t));
+ const temperatures = modes[mode].temp.filter(t => t.match(/^\d+(\.\d+)?$/)).map(t => parseFloat(t));
475
allTemperatures = allTemperatures.concat(temperatures);
476
477
0 commit comments