Update htu21d.cpp, fix publishing of heater level (#5520)

This commit is contained in:
Nippey authored and Jesse Hills committed 2023-10-13 14:16:22 +13:00
1 parent af3b22f8b7
commit d27e5e9c97
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ void HTU21DComponent::update() {
if (this->humidity_ != nullptr)
this->humidity_->publish_state(humidity);
if (this->heater_ != nullptr)
this->heater_->publish_state(humidity);
this->heater_->publish_state(heater_level);
this->status_clear_warning();
}