"Thumb turn", "by keypad"

Yup. You can do this as suggested by @terminal3. The entire automation can be done using Rule Machine.

Here's an example of something similar: