I’m in need of some help regarding the “display.page.show:” command. I have some pages (page1, page2, etc.) in my yaml and now would like to use “display.page.show:” to call a specific page based on an integer value from a sensor.
example:
if the sensor value is 1, the display should show page1, if the sensor has a value of 2, it should show page2 and so on.
I’m struggling with how to implement this, or if this is even possible in the first place.
yes that is as far as I got, but since it’s 20+ pages I was hoping for some kind of solution where I could combine the “page” part with the sensor value.
something like: