esphomekeypad
esphomekeypad copied to clipboard
ESPhome Keypad
Two custom sensors to use 3x4 matrix kexpads with ESPhome. Uses the Arduino Keypad Library.
KeypadSensor
This sensor instantly publishes the numerical value of the pressed key. * becomes -6, # becomes -13, because of the ASCII value. After 500ms the value is reset to "Unknown".
KeypadTextSensor
This sensor gathers all pressed numbers in a string and publishes the hole string when # is pressed. The string is reset, when * is pressed. The string is automatically reset after some time.