mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
IDF 5 fixes for various components from test1.yaml (#5451)
This commit is contained in:
@@ -17,7 +17,7 @@ void HYT271Component::dump_config() {
|
||||
LOG_SENSOR(" ", "Humidity", this->humidity_);
|
||||
}
|
||||
void HYT271Component::update() {
|
||||
uint8_t raw_data[4];
|
||||
uint8_t raw_data[4] = {0, 0, 0, 0};
|
||||
|
||||
if (this->write(&raw_data[0], 0) != i2c::ERROR_OK) {
|
||||
this->status_set_warning();
|
||||
|
||||
Reference in New Issue
Block a user