homeassistant-stubs 2025.9.0b1__py3-none-any.whl → 2025.9.0b2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of homeassistant-stubs might be problematic. Click here for more details.

@@ -9,7 +9,6 @@ from homeassistant.helpers import device_registry as dr
9
9
 
10
10
  ATTR_TEXT_COMMAND: str
11
11
  ATTR_SOUND: str
12
- ATTR_SOUND_VARIANT: str
13
12
  SERVICE_TEXT_COMMAND: str
14
13
  SERVICE_SOUND_NOTIFICATION: str
15
14
  SCHEMA_SOUND_SERVICE: Incomplete
@@ -6,6 +6,7 @@ from abc import ABC, abstractmethod
6
6
  from aioasuswrt.asuswrt import AsusWrt as AsusWrtLegacy
7
7
  from aiohttp import ClientSession as ClientSession
8
8
  from asusrouter import AsusRouter
9
+ from asusrouter.config import ARConfigKey
9
10
  from asusrouter.modules.client import AsusClient as AsusClient
10
11
  from asusrouter.modules.data import AsusData
11
12
  from collections.abc import Awaitable, Callable, Coroutine
@@ -93,7 +94,8 @@ class AsusWrtHttpBridge(AsusWrtBridge):
93
94
  _api: Incomplete
94
95
  def __init__(self, conf: dict[str, Any], session: ClientSession) -> None: ...
95
96
  @staticmethod
96
- def _get_api(conf: dict[str, Any], session: ClientSession) -> AsusRouter: ...
97
+ def _get_api(conf: dict[str, Any], session: ClientSession, config: dict[ARConfigKey, Any]) -> AsusRouter: ...
98
+ def _get_api_config(self) -> dict[ARConfigKey, Any]: ...
97
99
  @property
98
100
  def is_connected(self) -> bool: ...
99
101
  _label_mac: Incomplete
@@ -22,6 +22,7 @@ from homeassistant.util.json import json_loads as json_loads
22
22
  from typing import Any, Final
23
23
 
24
24
  CLOSE_MSG_TYPES: Incomplete
25
+ AUTH_MESSAGE_TIMEOUT: int
25
26
  _WS_LOGGER: Final[Incomplete]
26
27
 
27
28
  class WebsocketAPIView(HomeAssistantView):
@@ -1,3 +1,4 @@
1
+ from .config_cache import async_get_validated_config as async_get_validated_config
1
2
  from .const import CONF_ALWAYS_CONNECTED as CONF_ALWAYS_CONNECTED, CONF_KEY as CONF_KEY, CONF_LOCAL_NAME as CONF_LOCAL_NAME, CONF_SLOT as CONF_SLOT, DEVICE_TIMEOUT as DEVICE_TIMEOUT
2
3
  from .models import YaleXSBLEData as YaleXSBLEData
3
4
  from .util import async_find_existing_service_info as async_find_existing_service_info, bluetooth_callback_matcher as bluetooth_callback_matcher
@@ -6,11 +7,12 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
7
  from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
7
8
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, CoreState as CoreState, Event as Event, HomeAssistant as HomeAssistant, callback as callback
8
9
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
9
- from yalexs_ble import ConnectionInfo as ConnectionInfo, LockInfo as LockInfo, LockState as LockState
10
+ from yalexs_ble import ConnectionInfo as ConnectionInfo, LockInfo as LockInfo, LockState as LockState, PushLock
10
11
 
11
12
  type YALEXSBLEConfigEntry = ConfigEntry[YaleXSBLEData]
12
13
  PLATFORMS: list[Platform]
13
14
 
14
15
  async def async_setup_entry(hass: HomeAssistant, entry: YALEXSBLEConfigEntry) -> bool: ...
15
16
  async def _async_update_listener(hass: HomeAssistant, entry: YALEXSBLEConfigEntry) -> None: ...
17
+ async def _async_wait_for_first_update(push_lock: PushLock, local_name: str) -> None: ...
16
18
  async def async_unload_entry(hass: HomeAssistant, entry: YALEXSBLEConfigEntry) -> bool: ...
@@ -0,0 +1,10 @@
1
+ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
2
+ from homeassistant.util.hass_dict import HassKey as HassKey
3
+ from yalexs_ble import ValidatedLockConfig as ValidatedLockConfig
4
+
5
+ CONFIG_CACHE: HassKey[dict[str, ValidatedLockConfig]]
6
+
7
+ @callback
8
+ def async_add_validated_config(hass: HomeAssistant, address: str, config: ValidatedLockConfig) -> None: ...
9
+ @callback
10
+ def async_get_validated_config(hass: HomeAssistant, address: str) -> ValidatedLockConfig | None: ...
@@ -1,3 +1,4 @@
1
+ from .config_cache import async_add_validated_config as async_add_validated_config, async_get_validated_config as async_get_validated_config
1
2
  from .const import CONF_ALWAYS_CONNECTED as CONF_ALWAYS_CONNECTED, CONF_KEY as CONF_KEY, CONF_LOCAL_NAME as CONF_LOCAL_NAME, CONF_SLOT as CONF_SLOT, DOMAIN as DOMAIN
2
3
  from .util import async_find_existing_service_info as async_find_existing_service_info, human_readable_name as human_readable_name
3
4
  from _typeshed import Incomplete
@@ -32,7 +33,10 @@ class YalexsConfigFlow(ConfigFlow, domain=DOMAIN):
32
33
  async def async_step_integration_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
33
34
  async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
34
35
  async def async_step_reauth_validate(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
36
+ async def async_step_key_slot(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
35
37
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
38
+ @callback
39
+ def _async_get_name_from_address(self, address: str) -> str: ...
36
40
  @staticmethod
37
41
  @callback
38
42
  def async_get_options_flow(config_entry: ConfigEntry) -> YaleXSBLEOptionsFlowHandler: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.9.0b1
3
+ Version: 2025.9.0b2
4
4
  Summary: PEP 484 typing stubs for Home Assistant Core
5
5
  Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
6
6
  Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
18
18
  Classifier: Topic :: Software Development
19
19
  Classifier: Typing :: Typed
20
20
  Requires-Python: >=3.13.2
21
- Requires-Dist: homeassistant==2025.9.0b1
21
+ Requires-Dist: homeassistant==2025.9.0b2
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  [![CI](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml/badge.svg)](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
@@ -238,7 +238,7 @@ homeassistant-stubs/components/alexa_devices/diagnostics.pyi,sha256=bRYiRMxTdgbG
238
238
  homeassistant-stubs/components/alexa_devices/entity.pyi,sha256=1oxFqfyw52JjClztThBJdtXj2BeC3_KWt0YPhsgiHrQ,914
239
239
  homeassistant-stubs/components/alexa_devices/notify.pyi,sha256=JDU6BbYvy7NlK41ivzAJz0CDDJpr5M-2OJk858PK5M4,1391
240
240
  homeassistant-stubs/components/alexa_devices/sensor.pyi,sha256=PNo4r7dQ7lQtFEPbheI9mdZQ7XlheIV0mQ8zYvQ8Qhg,1473
241
- homeassistant-stubs/components/alexa_devices/services.pyi,sha256=iDkcf2cxZF8RTO1AivFrMzUzpGOIybl-bJzI_GcPRE4,1125
241
+ homeassistant-stubs/components/alexa_devices/services.pyi,sha256=vWmwhrzZApfI3kut_KaZ0_x-Rv9rdm5YjCUphhhFzvY,1101
242
242
  homeassistant-stubs/components/alexa_devices/switch.pyi,sha256=w3ciKjUJSg54EmohphEoFPczwTbMhK1cjszzo8Vh9mg,1411
243
243
  homeassistant-stubs/components/alexa_devices/utils.pyi,sha256=UU3T3fQ74zYah8pDCY6y4_Hy26UhwSPJaF9Kno-xLmk,433
244
244
  homeassistant-stubs/components/alpha_vantage/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -405,7 +405,7 @@ homeassistant-stubs/components/assist_satellite/errors.pyi,sha256=roq9cFMrbiJ4-O
405
405
  homeassistant-stubs/components/assist_satellite/intent.pyi,sha256=HTbQZnSD7MC-tG_SovCLcymYfUW9q3JuDiRXpyR_K_w,621
406
406
  homeassistant-stubs/components/assist_satellite/websocket_api.pyi,sha256=tSfIMpvJXDaYryZYiC8bHPlMv7V1GxzR4cP9k7YqdC0,1443
407
407
  homeassistant-stubs/components/asuswrt/__init__.pyi,sha256=kqTxaQbRWiEJDZsT-JbwWPDFMtDTu0-uqVKa8YYxL_g,680
408
- homeassistant-stubs/components/asuswrt/bridge.pyi,sha256=E7-Co0u5zwlLRLe_cHIjJDDxPct7VROZBfIK3WCW8xg,5602
408
+ homeassistant-stubs/components/asuswrt/bridge.pyi,sha256=pq97KoEp0EtvUlJ5eS2zLhROT-4fBFGGmQ_ghQZFDNE,5737
409
409
  homeassistant-stubs/components/asuswrt/config_flow.pyi,sha256=biW1WD9C2_66xFDCc5GzZzQOq3gDL7_QXbIZFes_-j8,2709
410
410
  homeassistant-stubs/components/asuswrt/const.pyi,sha256=Icqyk4Jxb-iFhyo5XEuj2JaR_s2N96xhRebKsdumlhE,650
411
411
  homeassistant-stubs/components/asuswrt/device_tracker.pyi,sha256=fj1j0W6iHjeNbW062eMSPN3FmuTXuNLDwIU1sWza6Jg,1574
@@ -4075,7 +4075,7 @@ homeassistant-stubs/components/websocket_api/connection.pyi,sha256=jE0wJ7xH4hZNP
4075
4075
  homeassistant-stubs/components/websocket_api/const.pyi,sha256=5CpHtWKAp62aqv5xieG8VDg_d6_0MOWvObdgbylgJLI,1147
4076
4076
  homeassistant-stubs/components/websocket_api/decorators.pyi,sha256=Gg--Upls9u0y0CSiYmuLJl2GOSZu8dILCweylW9Vugk,1270
4077
4077
  homeassistant-stubs/components/websocket_api/error.pyi,sha256=CFYujcIfsyBOn5j3hlScAuXUrB9X0CkAKpxHRx3XgqQ,121
4078
- homeassistant-stubs/components/websocket_api/http.pyi,sha256=8xEOu2KyoCnGlZ-aGUkA-uAMmE0U9v3ustX0ypMjI5g,3865
4078
+ homeassistant-stubs/components/websocket_api/http.pyi,sha256=MTNhtLX0v_lTeKIIs9gxMvscX7MP7zjXRYwRSY-f07s,3891
4079
4079
  homeassistant-stubs/components/websocket_api/messages.pyi,sha256=7S51KBHEtIMYCpv5xRKXksdjYNblFkQ31d4qx1EADWM,2250
4080
4080
  homeassistant-stubs/components/websocket_api/sensor.pyi,sha256=O-Gi1s4HgWkJCuP9dm1vdHKQkTx6pcyvAyMB1-6DZr0,1073
4081
4081
  homeassistant-stubs/components/websocket_api/util.pyi,sha256=OEWD7liL2uXXq4VKNf1x0PNy-QoGteaCtvF4ZhXf-9U,87
@@ -4169,9 +4169,10 @@ homeassistant-stubs/components/yale_smart_alarm/lock.pyi,sha256=zH9QlkHRYxfa70or
4169
4169
  homeassistant-stubs/components/yale_smart_alarm/select.pyi,sha256=H1GbtwC3UGjg7zImbKjPYSUYVWXRhP6Y3VYVoqbEQDc,1123
4170
4170
  homeassistant-stubs/components/yale_smart_alarm/sensor.pyi,sha256=kAzMXGxFpVnkLQlPBi67KL6bLcdkl6r2_-Gv6jYRUw4,890
4171
4171
  homeassistant-stubs/components/yale_smart_alarm/switch.pyi,sha256=Rc-n2LliXloyUvfAkk7-kwq08OFkji7Vn_aWAtIJ_1c,1136
4172
- homeassistant-stubs/components/yalexs_ble/__init__.pyi,sha256=mMdp8y6ZtMuDKI6FfRjg0Xoowfz08_Ay3c-FgSpNwjU,1391
4172
+ homeassistant-stubs/components/yalexs_ble/__init__.pyi,sha256=WzVqOLTP-uEFBLfxDw6VvfHo7l2AF7e0Nj2n-l1KUu8,1574
4173
4173
  homeassistant-stubs/components/yalexs_ble/binary_sensor.pyi,sha256=j4-K8dXUTVmQvWFFchv-rsJ5woqNEWaRXSb9hzH8Vzw,1001
4174
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi,sha256=-_4UV7_z0Rcdn2K2G335Olf0LIzv8U3bY_aVDSGV1XY,2757
4174
+ homeassistant-stubs/components/yalexs_ble/config_cache.pyi,sha256=khGwghGPUrp8etA3wcvzCmsv3_zOYGQs7vBHG3So7j8,495
4175
+ homeassistant-stubs/components/yalexs_ble/config_flow.pyi,sha256=QYr_lzBB8YpCzPopHe4tc3RWAjMT1K0NgywA-zhQ3W4,3088
4175
4176
  homeassistant-stubs/components/yalexs_ble/const.pyi,sha256=w5Y9pGLavYDoqDJK4zabIUx0m7wNcNYFTGuwSAxqDfo,109
4176
4177
  homeassistant-stubs/components/yalexs_ble/entity.pyi,sha256=PqaMn7pNAIYw4njkzsHMNT4S5x5PPZwfyCvHijG4wk8,1247
4177
4178
  homeassistant-stubs/components/yalexs_ble/lock.pyi,sha256=U2r8ItO9oWZEV-AY3HfI_mqAC2JSC7WGGQUui0nf2gg,1557
@@ -4389,7 +4390,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=vaIsOJB6hkwj7GLyo3YCNZCTwVgvvODy
4389
4390
  homeassistant-stubs/util/yaml/input.pyi,sha256=j_ejvjaXDxeNYtA4hb9tNUPsQdi7wogbmTQXsqmt5xo,253
4390
4391
  homeassistant-stubs/util/yaml/loader.pyi,sha256=_HvI0rXv3kQRsSRV-VZGWVyGjD0SAzLkPfq0A3jksrs,850
4391
4392
  homeassistant-stubs/util/yaml/objects.pyi,sha256=Ynjx0JaWF3u82Pj8aXO-YeqrkzNO8t-Nn7G7rr_X-oI,206
4392
- homeassistant_stubs-2025.9.0b1.dist-info/METADATA,sha256=8KcJzV5rKqu6PuZR24hgBMapycu_v-fbNdc_rEg_91k,2952
4393
- homeassistant_stubs-2025.9.0b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4394
- homeassistant_stubs-2025.9.0b1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4395
- homeassistant_stubs-2025.9.0b1.dist-info/RECORD,,
4393
+ homeassistant_stubs-2025.9.0b2.dist-info/METADATA,sha256=R6cOrh5jRuPCY4HdcWaX2ev9-uNm_v17Nr0obRi02Z0,2952
4394
+ homeassistant_stubs-2025.9.0b2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4395
+ homeassistant_stubs-2025.9.0b2.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4396
+ homeassistant_stubs-2025.9.0b2.dist-info/RECORD,,