1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-15 17:52:19 +01:00
This commit is contained in:
J. Nick Koston
2025-06-17 14:17:35 +02:00
parent 35bfc9f069
commit ea3ea1eee7

View File

@@ -29,7 +29,7 @@ void GPIOBinarySensorStore::setup(InternalGPIOPin *pin, gpio::InterruptType type
void GPIOBinarySensor::setup() { void GPIOBinarySensor::setup() {
if (this->use_interrupt_ && !this->pin_->is_internal()) { if (this->use_interrupt_ && !this->pin_->is_internal()) {
ESP_LOGW(TAG, "Interrupts not supported for this pin type, falling back to polling"); ESP_LOGD(TAG, "GPIO is not internal, falling back to polling mode");
this->use_interrupt_ = false; this->use_interrupt_ = false;
} }