From a9183c3153776a065ce4f80b8fc0b679bad0a143 Mon Sep 17 00:00:00 2001 From: Jordan Zucker Date: Thu, 13 Feb 2025 15:27:31 -0800 Subject: [PATCH] Another pass here helps --- esphome/components/prometheus/prometheus_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/prometheus/prometheus_handler.cpp b/esphome/components/prometheus/prometheus_handler.cpp index 9e998c1c77..7e530deb4c 100644 --- a/esphome/components/prometheus/prometheus_handler.cpp +++ b/esphome/components/prometheus/prometheus_handler.cpp @@ -904,7 +904,7 @@ void PrometheusHandler::climate_row_(AsyncResponseStream *stream, climate::Clima std::string min_temp = "mininum_temperature"; auto min_temp_value = value_accuracy_to_string(traits.get_visual_min_temperature(), target_accuracy); climate_value_row_(stream, obj, area, node, friendly_name, min_temp, min_temp_value); - // now check optional things + // now check optional traits if (traits.get_supports_current_temperature() && !std::isnan(obj->current_temperature)) { std::string current_temp = "current_temperature"; auto current_temp_value = value_accuracy_to_string(obj->current_temperature, current_accuracy);