because the default LCD is showed "voltage_2"
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
address: 0x3C
lambda: |-
it.printf(0, 0, id(roboto), "T: %.1f°C", id(temperature).state);
it.printf(0, 20, id(roboto), "H: %.1f%%", id(humidity).state);
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_2).state);
you can replace : it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_2).state); with
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_1).state); or
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_3).state);
voltage_1 voltage_2 voltage_3 means different voltage detect channel.
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
address: 0x3C
lambda: |-
it.printf(0, 0, id(roboto), "T: %.1f°C", id(temperature).state);
it.printf(0, 20, id(roboto), "H: %.1f%%", id(humidity).state);
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_2).state);
you can replace : it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_2).state); with
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_1).state); or
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_3).state);
voltage_1 voltage_2 voltage_3 means different voltage detect channel.