7 namespace matrix_keypad {
18 if (key == this->
key_)
25 if (key == this->
key_)
32 if ((row == this->
row_) && (col == this->
col_))
39 if ((row == this->
row_) && (col == this->
col_))
MatrixKeypadBinarySensor(const char *key)
void button_pressed(int row, int col) override
void button_released(int row, int col) override
void key_pressed(uint8_t key) override
MatrixKeypadBinarySensor(uint8_t key)
MatrixKeypadBinarySensor(int row, int col)
void key_released(uint8_t key) override
void publish_state(bool state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.
Base class for all binary_sensor-type classes.