1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Streamline setup() logging (s, t, u, v, w, x, y, z) (#8930)

This commit is contained in:
Keith Burzinski
2025-05-28 14:28:41 -05:00
committed by GitHub
parent d99e3237f9
commit 8eac859bab
74 changed files with 76 additions and 79 deletions

View File

@@ -18,7 +18,7 @@ static const uint8_t TCS34725_REGISTER_ENABLE = TCS34725_COMMAND_BIT | 0x00;
static const uint8_t TCS34725_REGISTER_CRGBDATAL = TCS34725_COMMAND_BIT | 0x14;
void TCS34725Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up TCS34725...");
ESP_LOGCONFIG(TAG, "Running setup");
uint8_t id;
if (this->read_register(TCS34725_REGISTER_ID, &id, 1) != i2c::ERROR_OK) {
this->mark_failed();