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.
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: |-