..............
This commit is contained in:
@@ -25,9 +25,9 @@ void ShowcaseComponent::loop() {
|
|||||||
this->write_state(On);
|
this->write_state(On);
|
||||||
/* ESP_LOGI(TAG, "Set to On", data); */
|
/* ESP_LOGI(TAG, "Set to On", data); */
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if(this->s_ == Auto) {
|
if(this->s_ == Auto) {
|
||||||
if(data & 8 != 0){
|
if(data & 8){
|
||||||
// TODO: turn on led
|
// TODO: turn on led
|
||||||
ESP_LOGI(TAG, "Auto On");
|
ESP_LOGI(TAG, "Auto On");
|
||||||
this->upper_->set_level(this->b_upper_);
|
this->upper_->set_level(this->b_upper_);
|
||||||
@@ -40,7 +40,6 @@ void ShowcaseComponent::loop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void ShowcaseComponent::dump_config(){
|
void ShowcaseComponent::dump_config(){
|
||||||
ESP_LOGCONFIG(TAG, "showcase component");
|
ESP_LOGCONFIG(TAG, "showcase component");
|
||||||
|
|||||||
Reference in New Issue
Block a user