Fix esp_idf build.

This commit is contained in:
Your Name
2023-02-24 17:42:16 +01:00
parent 48e18088f4
commit bfd1cf3b2d
5 changed files with 11 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ void TrumaSensor::setup() {
void TrumaSensor::dump_config() {
LOG_SENSOR("", "Truma Sensor", this);
ESP_LOGCONFIG(TAG, "Type %u", this->type_);
ESP_LOGCONFIG(TAG, "Type %u", (size_t) this->type_);
}
} // namespace truma_inetbox
} // namespace esphome