homeassistant-stubs 2024.5.0b6__py3-none-any.whl → 2024.5.1__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.
@@ -26,7 +26,7 @@ class KNXNotificationService(BaseNotificationService):
26
26
  async def async_setup_entry(hass: HomeAssistant, config_entry: config_entries.ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
27
27
  def _create_notification_instance(xknx: XKNX, config: ConfigType) -> XknxNotification: ...
28
28
 
29
- class KNXNotify(NotifyEntity, KnxEntity):
29
+ class KNXNotify(KnxEntity, NotifyEntity):
30
30
  _device: XknxNotification
31
31
  _attr_entity_category: Incomplete
32
32
  _attr_unique_id: Incomplete
@@ -13,6 +13,7 @@ from typing import Any
13
13
 
14
14
  COLOR_MODE_MAP: Incomplete
15
15
  DEFAULT_TRANSITION: float
16
+ TRANSITION_BLOCKLIST: Incomplete
16
17
 
17
18
  async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
18
19
 
@@ -21,6 +22,7 @@ class MatterLight(MatterEntity, LightEntity):
21
22
  _supports_brightness: bool
22
23
  _supports_color: bool
23
24
  _supports_color_temperature: bool
25
+ _transitions_disabled: bool
24
26
  async def _set_xy_color(self, xy_color: tuple[float, float], transition: float = 0.0) -> None: ...
25
27
  async def _set_hs_color(self, hs_color: tuple[float, float], transition: float = 0.0) -> None: ...
26
28
  async def _set_color_temp(self, color_temp: int, transition: float = 0.0) -> None: ...
@@ -41,5 +43,6 @@ class MatterLight(MatterEntity, LightEntity):
41
43
  _attr_hs_color: Incomplete
42
44
  _attr_xy_color: Incomplete
43
45
  def _update_from_device(self) -> None: ...
46
+ def _check_transition_blocklist(self) -> None: ...
44
47
 
45
48
  DISCOVERY_SCHEMAS: Incomplete
@@ -7,10 +7,11 @@ from _typeshed import Incomplete
7
7
  from collections.abc import AsyncGenerator, Callable as Callable, Coroutine, Iterable
8
8
  from dataclasses import dataclass
9
9
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
10
- from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_PROTOCOL as CONF_PROTOCOL, CONF_USERNAME as CONF_USERNAME, EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTANT_STARTED, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
11
- from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, CoreState as CoreState, Event as Event, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
10
+ from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_PROTOCOL as CONF_PROTOCOL, CONF_USERNAME as CONF_USERNAME, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
11
+ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
12
12
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
13
13
  from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
14
+ from homeassistant.helpers.start import async_at_started as async_at_started
14
15
  from homeassistant.helpers.typing import ConfigType as ConfigType
15
16
  from homeassistant.loader import bind_hass as bind_hass
16
17
  from homeassistant.util.async_ import create_eager_task as create_eager_task
@@ -60,6 +61,7 @@ class EnsureJobAfterCooldown:
60
61
  async def _async_job(self) -> None: ...
61
62
  def _async_task_done(self, task: asyncio.Future) -> None: ...
62
63
  def _async_execute(self) -> None: ...
64
+ async def async_fire(self) -> None: ...
63
65
  def _async_cancel_timer(self) -> None: ...
64
66
  def async_schedule(self) -> None: ...
65
67
  async def async_cleanup(self) -> None: ...
@@ -91,6 +93,8 @@ class MQTT:
91
93
  _unsubscribe_debouncer: Incomplete
92
94
  _pending_unsubscribes: Incomplete
93
95
  def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, conf: ConfigType) -> None: ...
96
+ def _async_ha_started(self, _hass: HomeAssistant) -> None: ...
97
+ async def _async_ha_stop(self, _event: Event) -> None: ...
94
98
  def start(self, mqtt_data: MqttData) -> None: ...
95
99
  @property
96
100
  def subscriptions(self) -> list[Subscription]: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: homeassistant-stubs
3
- Version: 2024.5.0b6
3
+ Version: 2024.5.1
4
4
  Summary: PEP 484 typing stubs for Home Assistant Core
5
5
  Home-page: https://github.com/KapJI/homeassistant-stubs
6
6
  License: MIT
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Topic :: Software Development
18
18
  Classifier: Typing :: Typed
19
- Requires-Dist: homeassistant (==2024.5.0b6)
19
+ Requires-Dist: homeassistant (==2024.5.1)
20
20
  Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
21
21
  Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
22
22
  Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
@@ -1434,7 +1434,7 @@ homeassistant-stubs/components/knx/helpers/__init__.pyi,sha256=47DEQpj8HBSa-_TIm
1434
1434
  homeassistant-stubs/components/knx/helpers/keyring.pyi,sha256=oTrE8GVCNVbPdtEwfER_jEpK_WT9aNzMYJAsF5ko1iA,548
1435
1435
  homeassistant-stubs/components/knx/knx_entity.pyi,sha256=F73dDV76darf-8BpOdb-7PMKRNHQFS4rdea8MA_t0Q8,614
1436
1436
  homeassistant-stubs/components/knx/light.pyi,sha256=ZBOT_8BDzZR4GC4XMf5UGwIkMr-6MGBif6AwEz2FFXk,2352
1437
- homeassistant-stubs/components/knx/notify.pyi,sha256=yrZbf5vzA8KmCX42Q3gan7CevcgC-0bmO3_nVs1UuRI,2069
1437
+ homeassistant-stubs/components/knx/notify.pyi,sha256=yvMpBhILLyy1u3rZYDGlHYq-K9aLs4OB6fB6W9gXxA4,2069
1438
1438
  homeassistant-stubs/components/knx/number.pyi,sha256=6IjV1UviOXpBRO0mhzfo2yZCdykbJ4k43zduR0o6jQ0,1782
1439
1439
  homeassistant-stubs/components/knx/project.pyi,sha256=PnlUYSUm8UHDVGI_RPASdz6ygLtYHFEjBUwChv68jYo,1609
1440
1440
  homeassistant-stubs/components/knx/repairs.pyi,sha256=qHTjuOu0i00PbB3tiZDJKAGCGecC9zlZS3dxWCcpOos,483
@@ -1654,7 +1654,7 @@ homeassistant-stubs/components/matter/discovery.pyi,sha256=jSDxCvFIfUwk6Dn9xXSoB
1654
1654
  homeassistant-stubs/components/matter/entity.pyi,sha256=njLx_kO1651sElHcdbf9e6L1Gdsg5eOt6HYju12byJU,2609
1655
1655
  homeassistant-stubs/components/matter/event.pyi,sha256=y4NBUOoKYVGIzjDBAt_G5pOtAbj0xwo5rb6bh0ghk1A,1375
1656
1656
  homeassistant-stubs/components/matter/helpers.pyi,sha256=ns3ORR-onyPHBniSiwvs7Gu0o7lpeRxBE4bhJzmnRgo,1208
1657
- homeassistant-stubs/components/matter/light.pyi,sha256=-xk8VkBgv2TKa5mmg8tQDnfDV_GEM8-he2V0nPHlefc,2709
1657
+ homeassistant-stubs/components/matter/light.pyi,sha256=Qwd93LG7IdhnnCoDxkF2eKJ-1f8-Nuu5JpDuIWAIZ2w,2829
1658
1658
  homeassistant-stubs/components/matter/lock.pyi,sha256=KPfk8HnN9qusyENg5kmuc-lbPc_u88djVDJDD-E9occ,1731
1659
1659
  homeassistant-stubs/components/matter/models.pyi,sha256=YvwPpU_XqVCE_b5MLeHH-HbjrvwDm-oqJ-cBdmPOjFM,1989
1660
1660
  homeassistant-stubs/components/matter/sensor.pyi,sha256=ZyVC4aMVeLos90B-4ZkHMChaNLvOYOd3avQrQZR1Bz4,2199
@@ -1753,7 +1753,7 @@ homeassistant-stubs/components/mqtt/alarm_control_panel.pyi,sha256=GY_e5FcGWJkMu
1753
1753
  homeassistant-stubs/components/mqtt/binary_sensor.pyi,sha256=2KsKKklC8ZYrxBNnck6ptIt4LKV0dqaZuEiU8UBtZPs,3030
1754
1754
  homeassistant-stubs/components/mqtt/button.pyi,sha256=v0a_HI2SXDq9OrWYmGe_4QyHodedsvysMVCANer76uQ,1913
1755
1755
  homeassistant-stubs/components/mqtt/camera.pyi,sha256=ETti_q5ZP-98HP5oN9UF5tegTGjDzMsDdsitW20_OhA,2046
1756
- homeassistant-stubs/components/mqtt/client.pyi,sha256=RAudiOu45FXV14HL4OIfWlLTMQiP0iLBrrDs4fZ4APA,9117
1756
+ homeassistant-stubs/components/mqtt/client.pyi,sha256=rs58EZpDV5BxIOyZfwzPRd2j0ObpXLGhHZxK38QcxTg,9284
1757
1757
  homeassistant-stubs/components/mqtt/climate.pyi,sha256=44wn21ev_J1C8H_gy76oX-rUu_6jZKb9PVL95IqedM4,8593
1758
1758
  homeassistant-stubs/components/mqtt/config.pyi,sha256=ZzcogEgaXfMFwZIYMPiIpTSMnuMKx6Xsvv30vbB8iXw,721
1759
1759
  homeassistant-stubs/components/mqtt/config_flow.pyi,sha256=v2BB9K_j8XM3zrjjSI6gjlFG9H7YoyGgdv9cThbZcV4,5410
@@ -3322,7 +3322,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
3322
3322
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
3323
3323
  homeassistant-stubs/util/yaml/loader.pyi,sha256=8rCANDOO3yTLdOqK3AZNmpv-dQD7JVKP1VKDhnEjK3Y,4239
3324
3324
  homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
3325
- homeassistant_stubs-2024.5.0b6.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3326
- homeassistant_stubs-2024.5.0b6.dist-info/METADATA,sha256=UE1KZ8ozqLtg0Jgs_Nm_Yzq9vTm_GMiFZbR7aexJz24,3015
3327
- homeassistant_stubs-2024.5.0b6.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3328
- homeassistant_stubs-2024.5.0b6.dist-info/RECORD,,
3325
+ homeassistant_stubs-2024.5.1.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3326
+ homeassistant_stubs-2024.5.1.dist-info/METADATA,sha256=WIYW4_RJuOw_0MYOo1hdCw3n8v_LjQrfY1idX_bJ4Uo,3011
3327
+ homeassistant_stubs-2024.5.1.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3328
+ homeassistant_stubs-2024.5.1.dist-info/RECORD,,