17 if (key == this->
key_)
24 if (key == this->
key_)
31 if ((row == this->
row_) && (col == this->
col_))
38 if ((row == this->
row_) && (col == this->
col_))
void publish_state(bool new_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)