Two custom sensors to use 3x4 matrix kexpads with ESPhome. Uses the Arduino Keypad Library. TextSensor to use 4x4 matrix keypad.
This sensor instantly publishes the numerical value of the pressed key. * becomes -6, # becomes -13, because of the ASCII value.
This sensor gathers all pressed numbers in a string and publishes the hole string when # is pressed. The string is reset, when * is pressed.
This TextSensor enters value of a pressed key in a char array (to support letters ABCD and signs * #) and publishes it instantly.