[dallas_temp] higher precision for logged temperature (#12695)

This commit is contained in:
bakroistvan
2025-12-30 07:53:28 +01:00
committed by GitHub
parent 4c16afeacb
commit 468bd7b04f

View File

@@ -51,7 +51,7 @@ void DallasTemperatureSensor::update() {
}
float tempc = this->get_temp_c_();
ESP_LOGD(TAG, "'%s': Got Temperature=%.1f°C", this->get_name().c_str(), tempc);
ESP_LOGD(TAG, "'%s': Got Temperature=%f°C", this->get_name().c_str(), tempc);
this->publish_state(tempc);
});
}