Bump aioshelly to 12.0.0 (#127884)

This commit is contained in:
Shay Levy 2024-10-08 02:05:23 +03:00 committed by GitHub
parent eac930ad7f
commit 963bba63d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 13 deletions

View file

@ -5,13 +5,7 @@ from __future__ import annotations
from typing import TYPE_CHECKING
from aioshelly.ble import async_start_scanner, create_scanner
from aioshelly.ble.const import (
BLE_SCAN_RESULT_EVENT,
BLE_SCAN_RESULT_VERSION,
DEFAULT_DURATION_MS,
DEFAULT_INTERVAL_MS,
DEFAULT_WINDOW_MS,
)
from aioshelly.ble.const import BLE_SCAN_RESULT_EVENT, BLE_SCAN_RESULT_VERSION
from homeassistant.components.bluetooth import async_register_scanner
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback as hass_callback
@ -43,9 +37,6 @@ async def async_connect_scanner(
active=scanner_mode == BLEScannerMode.ACTIVE,
event_type=BLE_SCAN_RESULT_EVENT,
data_version=BLE_SCAN_RESULT_VERSION,
interval_ms=DEFAULT_INTERVAL_MS,
window_ms=DEFAULT_WINDOW_MS,
duration_ms=DEFAULT_DURATION_MS,
)
@hass_callback

View file

@ -9,7 +9,7 @@
"iot_class": "local_push",
"loggers": ["aioshelly"],
"quality_scale": "platinum",
"requirements": ["aioshelly==11.4.2"],
"requirements": ["aioshelly==12.0.0"],
"zeroconf": [
{
"type": "_http._tcp.local.",

View file

@ -365,7 +365,7 @@ aioruuvigateway==0.1.0
aiosenz==1.0.0
# homeassistant.components.shelly
aioshelly==11.4.2
aioshelly==12.0.0
# homeassistant.components.skybell
aioskybell==22.7.0

View file

@ -347,7 +347,7 @@ aioruuvigateway==0.1.0
aiosenz==1.0.0
# homeassistant.components.shelly
aioshelly==11.4.2
aioshelly==12.0.0
# homeassistant.components.skybell
aioskybell==22.7.0