Auto-update blog content from Obsidian: 2025-10-24 20:19:14
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 5s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 7s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 3s
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 5s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 7s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 3s
This commit is contained in:
@@ -488,7 +488,7 @@ function isModeEligible(mode, temps, humidity, thresholds, currentMode) {
|
|||||||
// For heat mode (inverted logic)
|
// For heat mode (inverted logic)
|
||||||
if (mode === "heat") {
|
if (mode === "heat") {
|
||||||
if (!isCurrent) {
|
if (!isCurrent) {
|
||||||
const minStart = Math.min(...Object.values(threshold.start));
|
const minStart = Math.max(...Object.values(threshold.start));
|
||||||
return tempForCheckStart < minStart;
|
return tempForCheckStart < minStart;
|
||||||
} else {
|
} else {
|
||||||
return tempForCheckStop < threshold.stop;
|
return tempForCheckStop < threshold.stop;
|
||||||
|
|||||||
@@ -486,7 +486,7 @@ function isModeEligible(mode, temps, humidity, thresholds, currentMode) {
|
|||||||
// For heat mode (inverted logic)
|
// For heat mode (inverted logic)
|
||||||
if (mode === "heat") {
|
if (mode === "heat") {
|
||||||
if (!isCurrent) {
|
if (!isCurrent) {
|
||||||
const minStart = Math.min(...Object.values(threshold.start));
|
const minStart = Math.max(...Object.values(threshold.start));
|
||||||
return tempForCheckStart < minStart;
|
return tempForCheckStart < minStart;
|
||||||
} else {
|
} else {
|
||||||
return tempForCheckStop < threshold.stop;
|
return tempForCheckStop < threshold.stop;
|
||||||
|
|||||||
Reference in New Issue
Block a user