Possible to have two displays? Or rotate a screen page?

Is it possible to have one display with config for the screen landscape.
Then be able to go to a specific page and that page be in portrait ?

I tried it with two displays, but every 5 seconds it flashes between them both.

I have tried this thread Oled display rotation based on a sensor however, it appears the “rotation” can’t be templated.

image

Or just have multiple screens?

display:
  - platform: st7789v
    backlight_pin: GPIO4
    cs_pin: GPIO5
    dc_pin: GPIO16
    reset_pin: GPIO23
    rotation: 270 //Be able to make this custom
    id: my_display
    update_interval: 1s
    pages:
      - id: page1
        lambda: |-


// Screen 2 (does display, but automatically cycles between screens
  - platform: st7789v
    backlight_pin: GPIO4
    cs_pin: GPIO5
    dc_pin: GPIO16
    reset_pin: GPIO23
    rotation: 0
    id: my_display2
    update_interval: 0s
    pages:
      - id: page99
        lambda: |-

Anyone…?
Any thoughts?

Pretty certain neither will work, as the rotation is not templatable and set at compile time.

Have you actually tried the 2 screen idea?

Yeah I think the only way would be to rotate everything within the lambda if that’s even possible.

Yes did try it, bit just “flashes” the second screen every 5 seconds or so.