2 Commits

Author SHA1 Message Date
Sebastian Muszynski
a6d882de4a Fix ble_client build issue (#70)
Some checks are pending
CI / yamllint (push) Waiting to run
CI / Bundle external component and ESPHome (push) Waiting to run
CI / Create common environment (push) Blocked by required conditions
CI / Check ruff (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / Validate example configurations (push) Blocked by required conditions
CI / Build example configurations (push) Blocked by required conditions
2025-07-21 18:33:07 +02:00
Sebastian Muszynski
8cb0f29c7d Drop Python 3.10 support (#69) 2025-07-21 15:20:25 +02:00
3 changed files with 4 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ permissions:
env:
FORCE_COLOR: 1
DEFAULT_PYTHON: "3.10"
PYUPGRADE_TARGET: "--py310-plus"
DEFAULT_PYTHON: "3.11"
PYUPGRADE_TARGET: "--py311-plus"
concurrency:
# yamllint disable-line rule:line-length

View File

@@ -33,7 +33,7 @@ repos:
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py310-plus]
args: [--py311-plus]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:

View File

@@ -40,4 +40,5 @@ async def to_code(config):
await cg.register_component(var, config)
await ble_client.register_ble_node(var, config)
cg.add_define("USE_ESP32_BLE_DEVICE")
cg.add(var.set_throttle(config[CONF_THROTTLE]))