diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh
index 83c871b..9a8a7fd 100644
--- a/pve-mod-gui-sensors.sh
+++ b/pve-mod-gui-sensors.sh
@@ -250,10 +250,10 @@ function install_mod {
});\n\
if (!isNaN(tempVal)) {\n\
let tempStyle = '';\n\
- if (!isNaN(tempMax) && tempVal > tempMax) {\n\
+ if (!isNaN(tempMax) && tempVal >= tempMax) {\n\
tempStyle = 'color: #FFC300; font-weight: bold;';\n\
}\n\
- if (!isNaN(tempCrit) && tempVal > tempCrit) {\n\
+ if (!isNaN(tempCrit) && tempVal >= tempCrit) {\n\
tempStyle = 'color: red; font-weight: bold;';\n\
}\n\
let tempStr = '';\n\
@@ -318,10 +318,10 @@ function install_mod {
});\n\
if (!isNaN(tempVal)) {\n\
let tempStyle = '';\n\
- if (!isNaN(tempMax) && tempVal > tempMax) {\n\
+ if (!isNaN(tempMax) && tempVal >= tempMax) {\n\
tempStyle = 'color: #FFC300; font-weight: bold;';\n\
}\n\
- if (!isNaN(tempCrit) && tempVal > tempCrit) {\n\
+ if (!isNaN(tempCrit) && tempVal >= tempCrit) {\n\
tempStyle = 'color: red; font-weight: bold;';\n\
}\n\
const tempStr = \`Drive \${index + 1}: \${tempVal}°C\`;\n\
@@ -375,10 +375,10 @@ function install_mod {
});\n\
if (!isNaN(tempVal)) {\n\
let tempStyle = '';\n\
- if (!isNaN(tempMax) && tempVal > tempMax) {\n\
+ if (!isNaN(tempMax) && tempVal >= tempMax) {\n\
tempStyle = 'color: #FFC300; font-weight: bold;';\n\
}\n\
- if (!isNaN(tempCrit) && tempVal > tempCrit) {\n\
+ if (!isNaN(tempCrit) && tempVal >= tempCrit) {\n\
tempStyle = 'color: red; font-weight: bold;';\n\
}\n\
const tempStr = \`Drive \${index + 1}: \${tempVal}°C\`;\n\