[mhz19] Fix Uninitialized var warning message (#13526)

This commit is contained in:
sebcaps
2026-01-26 07:07:29 +01:00
committed by Jonathan Swoboda
parent ed9a672f44
commit d6bf137026

View File

@@ -155,6 +155,9 @@ void MHZ19Component::dump_config() {
case MHZ19_DETECTION_RANGE_0_10000PPM:
range_str = "0 to 10000ppm";
break;
default:
range_str = "default";
break;
}
ESP_LOGCONFIG(TAG, " Detection range: %s", range_str);
}