1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-06 19:00:59 +01:00

Merge pull request #4152 from esphome/bump-2022.11.5

2022.11.5
This commit is contained in:
Jesse Hills 2022-12-06 13:12:57 +13:00 committed by GitHub
commit 7209dd8bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -108,6 +108,10 @@ def validate_gpio_pin(value):
board = CORE.data[KEY_ESP32][KEY_BOARD]
board_pins = boards.ESP32_BOARD_PINS.get(board, {})
# Resolved aliased board pins (shorthand when two boards have the same pin configuration)
while isinstance(board_pins, str):
board_pins = boards.ESP32_BOARD_PINS[board_pins]
if value in board_pins.values():
return value

View File

@ -1,6 +1,6 @@
"""Constants used by esphome."""
__version__ = "2022.11.4"
__version__ = "2022.11.5"
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"