From f2c7b9c3f88f26f5897f9ded0f2af4d33faa6a0d Mon Sep 17 00:00:00 2001 From: Legolas-2025 Date: Fri, 23 Jan 2026 20:24:11 +0100 Subject: [PATCH] Fix display positioning for voltage and current readings Adjusted vertical positioning of voltage and current display on the screen. --- esp32-energy-meter.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esp32-energy-meter.yaml b/esp32-energy-meter.yaml index 057c248..0fb0feb 100644 --- a/esp32-energy-meter.yaml +++ b/esp32-energy-meter.yaml @@ -127,10 +127,10 @@ display: it.printf(it.get_width()/2, 38, id(baloo_32_700), TextAlign::CENTER, "%.1f W", id(power2).state); // Voltage (slightly below screen due to rotation) - it.printf(0, it.get_height() + 12, id(baloo_18_700), TextAlign::BOTTOM_LEFT, "%.1f V", id(voltage2).state); + it.printf(0, it.get_height() + 10, id(baloo_18_700), TextAlign::BOTTOM_LEFT, "%.1f V", id(voltage2).state); // Current (slightly below screen due to rotation) - it.printf(it.get_width(), it.get_height() + 12, id(baloo_18_700), TextAlign::BOTTOM_RIGHT, "%.1f A", id(current2).state); + it.printf(it.get_width(), it.get_height() + 10, id(baloo_18_700), TextAlign::BOTTOM_RIGHT, "%.1f A", id(current2).state); binary_sensor: @@ -405,4 +405,4 @@ sensor: filters: - multiply: 1 register_count: 1 - response_size: 4 \ No newline at end of file + response_size: 4