1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 02:02:21 +01:00

Streamline setup() logging (n, o, p, q, r) (#8929)

This commit is contained in:
Keith Burzinski
2025-05-28 14:23:53 -05:00
committed by GitHub
parent d9a9e0aea3
commit d99e3237f9
28 changed files with 31 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ const uint8_t CONFIG_REG = 3;
static const char *const TAG = "pca9554";
void PCA9554Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up PCA9554/PCA9554A...");
ESP_LOGCONFIG(TAG, "Running setup");
this->reg_width_ = (this->pin_count_ + 7) / 8;
// Test to see if device exists
if (!this->read_inputs_()) {