mirror of
https://github.com/esphome/esphome.git
synced 2024-09-20 01:27:31 +02:00
Clang tidy changes + print changes
This commit is contained in:
parent
8f32714106
commit
734e4f1b3d
3 changed files with 3 additions and 3 deletions
|
@ -240,7 +240,7 @@ void AcuRiteComponent::decode_iris_(uint8_t *data, uint8_t len) {
|
|||
bool AcuRiteComponent::on_receive(remote_base::RemoteReceiveData data) {
|
||||
uint32_t syncs = 0;
|
||||
uint32_t bits = 0;
|
||||
uint8_t bytes[10];
|
||||
uint8_t bytes[10] = {0};
|
||||
|
||||
ESP_LOGV(TAG, "Received raw data with length %d", data.size());
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ void AcuRiteBinarySensor::update_battery(uint8_t value) {
|
|||
}
|
||||
|
||||
void AcuRiteBinarySensor::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "AcuRite Binary Sensor 0x%04x:", this->id_);
|
||||
ESP_LOGCONFIG(TAG, "AcuRite Binary Sensor: 0x%04x", this->id_);
|
||||
LOG_BINARY_SENSOR(" ", "Battery", this->battery_level_binary_sensor_);
|
||||
}
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ void AcuRiteSensor::setup() {
|
|||
}
|
||||
|
||||
void AcuRiteSensor::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "AcuRite Sensor 0x%04x:", this->id_);
|
||||
ESP_LOGCONFIG(TAG, "AcuRite Sensor: 0x%04x", this->id_);
|
||||
LOG_SENSOR(" ", "Speed", this->speed_sensor_);
|
||||
LOG_SENSOR(" ", "Direction", this->direction_sensor_);
|
||||
LOG_SENSOR(" ", "Temperature", this->temperature_sensor_);
|
||||
|
|
Loading…
Reference in a new issue