diff --git a/components/panasonic_ac/esppac.cpp b/components/panasonic_ac/esppac.cpp index 3458a32..daec166 100644 --- a/components/panasonic_ac/esppac.cpp +++ b/components/panasonic_ac/esppac.cpp @@ -242,9 +242,9 @@ void PanasonicAC::set_current_power_consumption_sensor(sensor::Sensor *current_p void PanasonicAC::log_packet(std::vector data, bool outgoing) { if (outgoing) { - ESP_LOGV(TAG, "TX: %s", hexencode(data).c_str()); + ESP_LOGV(TAG, "TX: %s", format_hex_pretty(data).c_str()); } else { - ESP_LOGV(TAG, "RX: %s", hexencode(data).c_str()); + ESP_LOGV(TAG, "RX: %s", format_hex_pretty(data).c_str()); } }