From c16709ed952b166f4e4c079d6bb227dc3847b3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Skaln=C3=ADk?= Date: Thu, 23 Mar 2023 19:37:40 +0100 Subject: [PATCH] fix wrong port multiplexer name in dump GPIO function (#4592) --- esphome/components/sx1509/sx1509_gpio_pin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/sx1509/sx1509_gpio_pin.cpp b/esphome/components/sx1509/sx1509_gpio_pin.cpp index 2c6e0b0c32..56b51ae311 100644 --- a/esphome/components/sx1509/sx1509_gpio_pin.cpp +++ b/esphome/components/sx1509/sx1509_gpio_pin.cpp @@ -13,7 +13,7 @@ bool SX1509GPIOPin::digital_read() { return this->parent_->digital_read(this->pi void SX1509GPIOPin::digital_write(bool value) { this->parent_->digital_write(this->pin_, value != this->inverted_); } std::string SX1509GPIOPin::dump_summary() const { char buffer[32]; - snprintf(buffer, sizeof(buffer), "%u via MCP23016", pin_); + snprintf(buffer, sizeof(buffer), "%u via sx1509", pin_); return buffer; }