|
|
|
@ -26,6 +26,7 @@ class ShowcaseComponent : public i2c::I2CDevice, public Component {
|
|
|
|
/* void set_lower(monochromatic::MonochromaticLightOutput *lower) {this->lower_ = lower;} */
|
|
|
|
/* void set_lower(monochromatic::MonochromaticLightOutput *lower) {this->lower_ = lower;} */
|
|
|
|
|
|
|
|
|
|
|
|
void write_state(state s){
|
|
|
|
void write_state(state s){
|
|
|
|
|
|
|
|
ESP_LOGI(TAG, "Write_state");
|
|
|
|
switch(s) {
|
|
|
|
switch(s) {
|
|
|
|
On:
|
|
|
|
On:
|
|
|
|
ESP_LOGI(TAG, "Set to On");
|
|
|
|
ESP_LOGI(TAG, "Set to On");
|
|
|
|
|