diff --git a/esphome/components/remote_receiver/__init__.py b/esphome/components/remote_receiver/__init__.py index 1ed9161ec7..d59ad5c7f1 100644 --- a/esphome/components/remote_receiver/__init__.py +++ b/esphome/components/remote_receiver/__init__.py @@ -12,7 +12,7 @@ from esphome.const import ( CONF_TOLERANCE, CONF_MEMORY_BLOCKS, ) -from esphome.core import CORE +from esphome.core import CORE, TimePeriod AUTO_LOAD = ["remote_base"] remote_receiver_ns = cg.esphome_ns.namespace("remote_receiver") @@ -33,9 +33,10 @@ CONFIG_SCHEMA = remote_base.validate_triggers( cv.SplitDefault( CONF_BUFFER_SIZE, esp32="10000b", esp8266="1000b" ): cv.validate_bytes, - cv.Optional( - CONF_FILTER, default="50us" - ): cv.positive_time_period_microseconds, + cv.Optional(CONF_FILTER, default="50us"): cv.All( + cv.positive_time_period_microseconds, + cv.Range(max=TimePeriod(microseconds=255)), + ), cv.Optional( CONF_IDLE, default="10ms" ): cv.positive_time_period_microseconds, 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; } diff --git a/requirements.txt b/requirements.txt index 93a3592aed..5b37be15ae 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ esptool==4.5.1 click==8.1.3 esphome-dashboard==20230214.0 aioesphomeapi==13.5.1 -zeroconf==0.47.3 +zeroconf==0.47.4 # esp-idf requires this, but doesn't bundle it by default # https://github.com/espressif/esp-idf/blob/220590d599e134d7a5e7f1e683cc4550349ffbf8/requirements.txt#L24 diff --git a/requirements_test.txt b/requirements_test.txt index 771086421e..3e59023d20 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -8,6 +8,6 @@ pre-commit pytest==7.2.2 pytest-cov==4.0.0 pytest-mock==3.10.0 -pytest-asyncio==0.20.3 +pytest-asyncio==0.21.0 asyncmock==0.4.2 hypothesis==5.49.0