diff --git a/esphome/components/prometheus/prometheus_handler.cpp b/esphome/components/prometheus/prometheus_handler.cpp index 9a9ff527e1..1867f144dc 100644 --- a/esphome/components/prometheus/prometheus_handler.cpp +++ b/esphome/components/prometheus/prometheus_handler.cpp @@ -885,7 +885,9 @@ void PrometheusHandler::climate_row_(AsyncResponseStream *stream, climate::Clima // Now see if position is supported if (obj->get_traits().get_supports_current_temperature()) { std::string current_temp = "current_temperature"; - climate_mode_row_(stream, obj, area, node, friendly_name, current_temp, obj->current_temperature) + int8_t current_accuracy = traits.get_current_temperature_accuracy_decimals(); + climate_mode_row_(stream, obj, area, node, friendly_name, current_temp, + value_accuracy_to_string(obj->current_temperature, current_accuracy)) } } #endif