Skip to content

Commit

Permalink
Bug fix: Some examples didn't match README
Browse files Browse the repository at this point in the history
  • Loading branch information
jisotalo committed Mar 9, 2024
1 parent ecb3b8e commit fc1a79b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 20 deletions.
6 changes: 3 additions & 3 deletions dist/shelly-porssisahko-addon-temp-hours.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/shelly-porssisahko-ht-sensor-temp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions dist/shelly-porssisahko-open-meteo-api.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ function USER_CONFIG(config, state, initialized) {
} else if (temp.tC <= -5) {
hours = 6;
minutes = 45;

} else {
hours = 6;
minutes = 45;
}
//Ei tehdä mitään --> käytetään käyttöliittymän asetuksia
}

//------------------------------
// Toimintalogiikka päättyy
Expand Down
6 changes: 3 additions & 3 deletions src/after-build-examples/shelly-porssisahko-ht-sensor-temp.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ function USER_CONFIG(config, state, initialized) {
} else if (data.temp <= -5) {
hours = 6;
minutes = 45;

} else {
hours = 6;
minutes = 45;
}
//Ei tehdä mitään --> käytetään käyttöliittymän asetuksia
}

//------------------------------
// Toimintalogiikka päättyy
Expand Down
9 changes: 5 additions & 4 deletions src/after-build-examples/shelly-porssisahko-open-meteo-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ function USER_OVERRIDE(cmd, state, callback) {
minutes = 45;

} else {
//Vuorokauden aikana alimmillaan >= -5 °C
hours = 6;
minutes = 45;
}
//Ei tehdä mitään --> käytetään käyttöliittymän asetuksia
}




//------------------------------
// Toimintalogiikka päättyy
Expand Down

0 comments on commit fc1a79b

Please sign in to comment.