[STYLE] 將溫度過低告警側邊條顏色調整為警示紅色

This commit is contained in:
sky121113 2026-05-21 17:09:00 +08:00
parent e88d68d3b1
commit b6e5b825a5

View File

@ -99,7 +99,7 @@ class DiscordWebhookService
} elseif (str_contains($log->message, 'too low')) {
$title = '🔴 ' . $this->cleanTranslation(__('Temperature Alert (Low)'), $companyLocale);
$description = $this->cleanTranslation(__('Current temperature (:temp°C) is below the lower limit (:limit°C).', ['temp' => $temp, 'limit' => $limit]), $companyLocale);
$color = 561586; // cyan-600
$color = 14753096; // rose-600 (與過高告警一致使用紅色)
$fields[] = [
'name' => $this->cleanTranslation(__('Current Temperature'), $companyLocale),