14 if (key == this->
key_)
18 if (key == this->
key_)
void publish_state(bool new_state)
Publish a new state to the front-end.
One key of a TCA8418, matched by the key number codegen resolved from the config.
void key_pressed(uint8_t key) override
TCA8418BinarySensor(uint8_t key)
void key_released(uint8_t key) override