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

This commit is contained in:
bakroistvan
2025-12-29 22:53:28 -08:00
committed by GitHub
parent 4c16afeacb
commit 468bd7b04f
@@ -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);
});
}