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 1/4] 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; } From cc317d27f569aacb3553d65db63a3bd02f53f197 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 18:38:20 +0000 Subject: [PATCH 2/4] Bump zeroconf from 0.47.3 to 0.47.4 (#4597) Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf) from 0.47.3 to 0.47.4. - [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases) - [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md) - [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.47.3...0.47.4) --- updated-dependencies: - dependency-name: zeroconf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From be69b498804bdf8071832991bfc1ed484eae1c82 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 18:38:47 +0000 Subject: [PATCH 3/4] Bump pytest-asyncio from 0.20.3 to 0.21.0 (#4599) Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.20.3 to 0.21.0. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.20.3...v0.21.0) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From e4ba3ff1db9a7689ad0967da3ddc9fa640f3563b Mon Sep 17 00:00:00 2001 From: RoboMagus <68224306+RoboMagus@users.noreply.github.com> Date: Thu, 23 Mar 2023 19:41:14 +0100 Subject: [PATCH 4/4] Limit range on filter time period for remote_receiver (#4604) * Limit range on filter time period for remote_receiver * pylint --- esphome/components/remote_receiver/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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,