Pages in tm1637 display

Hello everyone. Can you please tell me how to turn pages using the tm1637 display? The compiler reports that this display does not support the “pages” method. For example, to alternately display temperature and humidity.

Not every display type support pages. The example shows how to do what you seek.

I understand it. I just wanted to find an alternative solution.
And yet I came up with it. More precisely, there was a hint in the ESPHome documentation, but I didn’t realize it right away.
Did this:

display:
  - platform: tm1637
    id: tm1637_display
    clk_pin: GPIO12
    dio_pin: GPIO14
    update_interval: 5000ms
    lambda: |-
      static int i = 0;
      i++;
      if ((i % 2) == 0)
        it.printf(0, "%.1f~", id(ds18b20_indoor).state);
      else
        it.strftime("%H.%M", id(sntp_time).now());

Hi
I’ve been trying to do this for weeks now
Thank you for this code, could you help me to display temperature as “C” and shift the values to one side to display negative too, I also could not add a third temp to display can you do that?

That is the example I suggested to you.

I don’t see your example.

In the docs, just like I said.

Sorry for the delay. Try this:

display:
  - platform: tm1637
    id: tm1637_display
    clk_pin: GPIO12
    dio_pin: GPIO14
    update_interval: 5s
    lambda: |-
      static int i = 0;
      i++;
      if ((i % 3) == 0)
        it.printf(0, "%3.0fC", id(temp1).state);
      else if ((i % 3) == 1)
        it.printf(0, "%3.0fC", id(temp2).state);
      else
        it.printf(0, "%3.0fC", id(temp3).state);

thank you!