homeassistant-stubs 2025.10.0b1__py3-none-any.whl → 2025.10.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.

@@ -1,5 +1,6 @@
1
1
  from .coordinator import AmazonConfigEntry as AmazonConfigEntry
2
2
  from .entity import AmazonEntity as AmazonEntity
3
+ from .utils import async_update_unique_id as async_update_unique_id
3
4
  from _typeshed import Incomplete
4
5
  from aioamazondevices.api import AmazonDevice as AmazonDevice
5
6
  from collections.abc import Callable as Callable
@@ -16,6 +17,7 @@ PARALLEL_UPDATES: int
16
17
  class AmazonBinarySensorEntityDescription(BinarySensorEntityDescription):
17
18
  is_on_fn: Callable[[AmazonDevice, str], bool]
18
19
  is_supported: Callable[[AmazonDevice, str], bool] = ...
20
+ is_available_fn: Callable[[AmazonDevice, str], bool] = ...
19
21
 
20
22
  BINARY_SENSORS: Final[Incomplete]
21
23
 
@@ -25,3 +27,5 @@ class AmazonBinarySensorEntity(AmazonEntity, BinarySensorEntity):
25
27
  entity_description: AmazonBinarySensorEntityDescription
26
28
  @property
27
29
  def is_on(self) -> bool: ...
30
+ @property
31
+ def available(self) -> bool: ...
@@ -16,6 +16,7 @@ PARALLEL_UPDATES: int
16
16
  @dataclass(frozen=True, kw_only=True)
17
17
  class AmazonSensorEntityDescription(SensorEntityDescription):
18
18
  native_unit_of_measurement_fn: Callable[[AmazonDevice, str], str] | None = ...
19
+ is_available_fn: Callable[[AmazonDevice, str], bool] = ...
19
20
 
20
21
  SENSORS: Final[Incomplete]
21
22
 
@@ -27,3 +28,5 @@ class AmazonSensorEntity(AmazonEntity, SensorEntity):
27
28
  def native_unit_of_measurement(self) -> str | None: ...
28
29
  @property
29
30
  def native_value(self) -> StateType: ...
31
+ @property
32
+ def available(self) -> bool: ...
@@ -1,6 +1,6 @@
1
1
  from .coordinator import AmazonConfigEntry as AmazonConfigEntry
2
2
  from .entity import AmazonEntity as AmazonEntity
3
- from .utils import alexa_api_call as alexa_api_call
3
+ from .utils import alexa_api_call as alexa_api_call, async_update_unique_id as async_update_unique_id
4
4
  from _typeshed import Incomplete
5
5
  from aioamazondevices.api import AmazonDevice as AmazonDevice
6
6
  from collections.abc import Callable as Callable
@@ -15,7 +15,7 @@ PARALLEL_UPDATES: int
15
15
  @dataclass(frozen=True, kw_only=True)
16
16
  class AmazonSwitchEntityDescription(SwitchEntityDescription):
17
17
  is_on_fn: Callable[[AmazonDevice], bool]
18
- subkey: str
18
+ is_available_fn: Callable[[AmazonDevice, str], bool] = ...
19
19
  method: str
20
20
 
21
21
  SWITCHES: Final[Incomplete]
@@ -30,3 +30,5 @@ class AmazonSwitchEntity(AmazonEntity, SwitchEntity):
30
30
  async def async_turn_off(self, **kwargs: Any) -> None: ...
31
31
  @property
32
32
  def is_on(self) -> bool: ...
33
+ @property
34
+ def available(self) -> bool: ...
@@ -1,7 +1,10 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from .const import DOMAIN as DOMAIN, _LOGGER as _LOGGER
2
+ from .coordinator import AmazonDevicesCoordinator as AmazonDevicesCoordinator
2
3
  from .entity import AmazonEntity as AmazonEntity
3
4
  from collections.abc import Awaitable, Callable as Callable, Coroutine
5
+ from homeassistant.core import HomeAssistant as HomeAssistant
4
6
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
5
7
  from typing import Any, Concatenate
6
8
 
7
9
  def alexa_api_call[_T: AmazonEntity, **_P](func: Callable[Concatenate[_T, _P], Awaitable[None]]) -> Callable[Concatenate[_T, _P], Coroutine[Any, Any, None]]: ...
10
+ async def async_update_unique_id(hass: HomeAssistant, coordinator: AmazonDevicesCoordinator, domain: str, old_key: str, new_key: str) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.10.0b1
3
+ Version: 2025.10.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.10.0b1
21
+ Requires-Dist: homeassistant==2025.10.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)
@@ -230,17 +230,17 @@ homeassistant-stubs/components/alexa/resources.pyi,sha256=xMQBaxEGbaPEoshHfFP63Y
230
230
  homeassistant-stubs/components/alexa/smart_home.pyi,sha256=RmHUf67v2P6JgBBMf6YQ9qtbUVV-SrgWyW0TbhhjPtk,2615
231
231
  homeassistant-stubs/components/alexa/state_report.pyi,sha256=z6l9miD598LoKEdlMP2dQ-CtR5PYe3aZNTY4pxXWUvI,3567
232
232
  homeassistant-stubs/components/alexa_devices/__init__.pyi,sha256=Jsp7aJCK7AUufTXp8IcOROGeUwWuRbTDToZvmJaW-LQ,1041
233
- homeassistant-stubs/components/alexa_devices/binary_sensor.pyi,sha256=VPfaNQ6tpM8vLlOefGfdG5v6XrsLnH7TR8e71pm3A1c,1362
233
+ homeassistant-stubs/components/alexa_devices/binary_sensor.pyi,sha256=FJSCTHgpi2nmrzeZuW5orX5he_HeEL6-nGbzXhfN3p4,1544
234
234
  homeassistant-stubs/components/alexa_devices/config_flow.pyi,sha256=a7VQKF_45mfsJZwPaNUJe806sGTSsRWMJtFseuxnegs,1193
235
235
  homeassistant-stubs/components/alexa_devices/const.pyi,sha256=GhMOGYFBllOq4hNVAWMXsSMahHd6nhe87hIh0jFYQ9U,150
236
236
  homeassistant-stubs/components/alexa_devices/coordinator.pyi,sha256=cLxfRH6LHjygPLcP_ooVj7dcZ1OhY220vrVld_CsJ2I,1175
237
237
  homeassistant-stubs/components/alexa_devices/diagnostics.pyi,sha256=bRYiRMxTdgbGeSTQw0w0S91vwU2sCBuBNfHvyt_mgug,870
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
- homeassistant-stubs/components/alexa_devices/sensor.pyi,sha256=PNo4r7dQ7lQtFEPbheI9mdZQ7XlheIV0mQ8zYvQ8Qhg,1473
240
+ homeassistant-stubs/components/alexa_devices/sensor.pyi,sha256=CT7ZUCRmM_UIZJ-AqL-i0WV2znUYuNzuL7PPXS2T69o,1587
241
241
  homeassistant-stubs/components/alexa_devices/services.pyi,sha256=vWmwhrzZApfI3kut_KaZ0_x-Rv9rdm5YjCUphhhFzvY,1101
242
- homeassistant-stubs/components/alexa_devices/switch.pyi,sha256=w3ciKjUJSg54EmohphEoFPczwTbMhK1cjszzo8Vh9mg,1411
243
- homeassistant-stubs/components/alexa_devices/utils.pyi,sha256=UU3T3fQ74zYah8pDCY6y4_Hy26UhwSPJaF9Kno-xLmk,433
242
+ homeassistant-stubs/components/alexa_devices/switch.pyi,sha256=zCfiXdTWTAZwyWDuWqEvf_O3aFTvJgUqvba9sOsc1aA,1559
243
+ homeassistant-stubs/components/alexa_devices/utils.pyi,sha256=uqLUIIFUjthIYtFwgZ_lRgRsQ8B89Dd8faRI1RLC7mQ,740
244
244
  homeassistant-stubs/components/alpha_vantage/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
245
  homeassistant-stubs/components/alpha_vantage/sensor.pyi,sha256=lOIgbkISKtkxyu3EjpM5U-Scxr95BYt2_fQcjPrFoiI,2057
246
246
  homeassistant-stubs/components/altruist/__init__.pyi,sha256=LW3DTatWSeke8R-9AYSMXuGc3LCpRpZ-ZCjr2PW0yvY,485
@@ -4447,7 +4447,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=vaIsOJB6hkwj7GLyo3YCNZCTwVgvvODy
4447
4447
  homeassistant-stubs/util/yaml/input.pyi,sha256=j_ejvjaXDxeNYtA4hb9tNUPsQdi7wogbmTQXsqmt5xo,253
4448
4448
  homeassistant-stubs/util/yaml/loader.pyi,sha256=_HvI0rXv3kQRsSRV-VZGWVyGjD0SAzLkPfq0A3jksrs,850
4449
4449
  homeassistant-stubs/util/yaml/objects.pyi,sha256=Ynjx0JaWF3u82Pj8aXO-YeqrkzNO8t-Nn7G7rr_X-oI,206
4450
- homeassistant_stubs-2025.10.0b1.dist-info/METADATA,sha256=Aa7HJMDqfpa2oKdjX5aG-rrZ_8WpVD3YENcTU-iubTw,2954
4451
- homeassistant_stubs-2025.10.0b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4452
- homeassistant_stubs-2025.10.0b1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4453
- homeassistant_stubs-2025.10.0b1.dist-info/RECORD,,
4450
+ homeassistant_stubs-2025.10.0b2.dist-info/METADATA,sha256=iRKMorYPLxhE8KSPRPKLeikJGB4jYwsOZkEnDhoYajk,2954
4451
+ homeassistant_stubs-2025.10.0b2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4452
+ homeassistant_stubs-2025.10.0b2.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4453
+ homeassistant_stubs-2025.10.0b2.dist-info/RECORD,,