Gpio without interrupts

I want to run openhab on device with gpios but without interrupt support on these gpios, so there is no edge file after the gpios are exported. As I understand the gpio binding only support input gpios with edge detection, so I can’t use it. I’m thinking to write a simple python script that will periodically read the gpios and publish messages on mqtt bus, but before I’ll do that I want to ask if there is other/easier way to read gpios states in openhab ?

That is the approach I use even for RPi, primarily so I can have my OH running away from the things connected to the GPIOs.