1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-22 03:33:52 +01:00

Streamline setup() logging (k, l, m) (#8928)

This commit is contained in:
Keith Burzinski
2025-05-28 13:57:58 -05:00
committed by GitHub
parent 0ce03ae26b
commit d9a9e0aea3
51 changed files with 52 additions and 56 deletions

View File

@@ -10,7 +10,7 @@ static const char *const TAG = "mcp4461";
constexpr uint8_t EEPROM_WRITE_TIMEOUT_MS = 10;
void Mcp4461Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up mcp4461 using address (0x%02X)...", this->address_);
ESP_LOGCONFIG(TAG, "Running setup for address 0x%02X", this->address_);
auto err = this->write(nullptr, 0);
if (err != i2c::ERROR_OK) {
this->error_code_ = MCP4461_STATUS_I2C_ERROR;