mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Update htu21d.cpp, fix publishing of heater level (#5520)
This commit is contained in:
parent
f4ce8b8b6c
commit
2910eb2ef7
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ void HTU21DComponent::update() {
|
||||||
if (this->humidity_ != nullptr)
|
if (this->humidity_ != nullptr)
|
||||||
this->humidity_->publish_state(humidity);
|
this->humidity_->publish_state(humidity);
|
||||||
if (this->heater_ != nullptr)
|
if (this->heater_ != nullptr)
|
||||||
this->heater_->publish_state(humidity);
|
this->heater_->publish_state(heater_level);
|
||||||
this->status_clear_warning();
|
this->status_clear_warning();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue