I just thought that I would share a keypad that I found in aliexpress. It is an analog keypad. It is also a good example of how we can use the Analog Input on my Environment Sensor.
The analog keypad is basically array of resistor divider. As you press on the button, a unique resistor combination form a unique resistor value. Using them as voltage divider, they will generate unique voltage for each button.
I wrote a simple DTH which translate the voltage to button events. I believe one should be able to use rule machine to automate actions when a button is pressed or released. Here is a short demo.