............

master
Roman Kretschmer 2 years ago
parent 43f27bbbd9
commit 4df82f668f

@ -27,6 +27,7 @@ class ShowcaseComponent : public i2c::I2CDevice, public Component {
void write_state(State s){
ESP_LOGI(TAG, "Write_state");
this->s_ = s;
switch(s) {
case(On):
ESP_LOGI(TAG, "Set to On");
@ -38,7 +39,6 @@ class ShowcaseComponent : public i2c::I2CDevice, public Component {
this->lower_->set_level(0.0);
break;
case(Auto):
this->s_ = Auto;
ESP_LOGI(TAG, "Set to Auto");
break;
}

Loading…
Cancel
Save