mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Bump aioshelly to 12.0.0 (#127884)
This commit is contained in:
parent
eac930ad7f
commit
963bba63d0
@ -5,13 +5,7 @@ from __future__ import annotations
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
from aioshelly.ble import async_start_scanner, create_scanner
|
from aioshelly.ble import async_start_scanner, create_scanner
|
||||||
from aioshelly.ble.const import (
|
from aioshelly.ble.const import BLE_SCAN_RESULT_EVENT, BLE_SCAN_RESULT_VERSION
|
||||||
BLE_SCAN_RESULT_EVENT,
|
|
||||||
BLE_SCAN_RESULT_VERSION,
|
|
||||||
DEFAULT_DURATION_MS,
|
|
||||||
DEFAULT_INTERVAL_MS,
|
|
||||||
DEFAULT_WINDOW_MS,
|
|
||||||
)
|
|
||||||
|
|
||||||
from homeassistant.components.bluetooth import async_register_scanner
|
from homeassistant.components.bluetooth import async_register_scanner
|
||||||
from homeassistant.core import CALLBACK_TYPE, HomeAssistant, callback as hass_callback
|
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,
|
active=scanner_mode == BLEScannerMode.ACTIVE,
|
||||||
event_type=BLE_SCAN_RESULT_EVENT,
|
event_type=BLE_SCAN_RESULT_EVENT,
|
||||||
data_version=BLE_SCAN_RESULT_VERSION,
|
data_version=BLE_SCAN_RESULT_VERSION,
|
||||||
interval_ms=DEFAULT_INTERVAL_MS,
|
|
||||||
window_ms=DEFAULT_WINDOW_MS,
|
|
||||||
duration_ms=DEFAULT_DURATION_MS,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@hass_callback
|
@hass_callback
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["aioshelly"],
|
"loggers": ["aioshelly"],
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
"requirements": ["aioshelly==11.4.2"],
|
"requirements": ["aioshelly==12.0.0"],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
{
|
{
|
||||||
"type": "_http._tcp.local.",
|
"type": "_http._tcp.local.",
|
||||||
|
@ -365,7 +365,7 @@ aioruuvigateway==0.1.0
|
|||||||
aiosenz==1.0.0
|
aiosenz==1.0.0
|
||||||
|
|
||||||
# homeassistant.components.shelly
|
# homeassistant.components.shelly
|
||||||
aioshelly==11.4.2
|
aioshelly==12.0.0
|
||||||
|
|
||||||
# homeassistant.components.skybell
|
# homeassistant.components.skybell
|
||||||
aioskybell==22.7.0
|
aioskybell==22.7.0
|
||||||
|
@ -347,7 +347,7 @@ aioruuvigateway==0.1.0
|
|||||||
aiosenz==1.0.0
|
aiosenz==1.0.0
|
||||||
|
|
||||||
# homeassistant.components.shelly
|
# homeassistant.components.shelly
|
||||||
aioshelly==11.4.2
|
aioshelly==12.0.0
|
||||||
|
|
||||||
# homeassistant.components.skybell
|
# homeassistant.components.skybell
|
||||||
aioskybell==22.7.0
|
aioskybell==22.7.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user