7namespace 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_))
void publish_state(bool state)
Publish a new state to the front-end.
void key_pressed(uint8_t key) override
void button_released(int row, int col) override
void key_released(uint8_t key) override
MatrixKeypadBinarySensor(const char *key)
MatrixKeypadBinarySensor(uint8_t key)
void button_pressed(int row, int col) override
MatrixKeypadBinarySensor(int row, int col)
Providing packet encoding functions for exchanging data with a remote host.