From 3daeea35a741e911dbce51b0d43970d6ce98e830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Kub=C3=AD=C4=8Dek?= Date: Sun, 11 Aug 2024 12:21:48 +0200 Subject: [PATCH] Update HLW8032 formatting --- esphome/components/hlw8032/hlw8032.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/esphome/components/hlw8032/hlw8032.cpp b/esphome/components/hlw8032/hlw8032.cpp index f37b719779..bb63da7878 100644 --- a/esphome/components/hlw8032/hlw8032.cpp +++ b/esphome/components/hlw8032/hlw8032.cpp @@ -101,9 +101,12 @@ void HLW8032Component::parse_data_() { #if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERY_VERBOSE ESP_LOGD(TAG, "HLW8032 Parsed data:"); - ESP_LOGD(TAG, " Voltage Parameter REG: 0x%06X, Voltage REG: 0x%06X", (unsigned int) voltage_parameter, (unsigned int) voltage_reg); - ESP_LOGD(TAG, " Current Parameter REG: 0x%06X, Current REG: 0x%06X", (unsigned int) current_parameter, (unsigned int) current_reg); - ESP_LOGD(TAG, " Power Parameter REG: 0x%06X, Power REG: 0x%06X", (unsigned int) power_parameter, (unsigned int) power_reg); + ESP_LOGD(TAG, " Voltage Parameter REG: 0x%06X, Voltage REG: 0x%06X", (unsigned int) voltage_parameter, + (unsigned int) voltage_reg); + ESP_LOGD(TAG, " Current Parameter REG: 0x%06X, Current REG: 0x%06X", (unsigned int) current_parameter, + (unsigned int) current_reg); + ESP_LOGD(TAG, " Power Parameter REG: 0x%06X, Power REG: 0x%06X", (unsigned int) power_parameter, + (unsigned int) power_reg); ESP_LOGD(TAG, " Data Update REG: 0x%02X", data_update_register); #endif