From 64be4504ae750ac1528f8c7f4278a1894bde2a02 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 5 Apr 2026 12:49:43 -1000 Subject: [PATCH] Match ESP8266 Arduino core reset reason names --- esphome/components/esp8266/crash_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/esp8266/crash_handler.cpp b/esphome/components/esp8266/crash_handler.cpp index e8f78e5a69f..02bd34d485d 100644 --- a/esphome/components/esp8266/crash_handler.cpp +++ b/esphome/components/esp8266/crash_handler.cpp @@ -150,11 +150,11 @@ static const LogString *get_exception_cause(uint32_t cause) { static const LogString *get_reset_reason(uint32_t reason) { if (reason == REASON_WDT_RST) - return LOG_STR("Hardware Watchdog"); + return LOG_STR("Hardware WDT"); if (reason == REASON_EXCEPTION_RST) return LOG_STR("Exception"); if (reason == REASON_SOFT_WDT_RST) - return LOG_STR("Software Watchdog"); + return LOG_STR("Soft WDT"); return LOG_STR("Unknown"); }