homeassistant-stubs 2024.5.3__py3-none-any.whl → 2024.5.4__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.
- homeassistant-stubs/components/deconz/light.pyi +1 -0
- homeassistant-stubs/components/duotecno/entity.pyi +2 -0
- homeassistant-stubs/components/mqtt/client.pyi +4 -0
- homeassistant-stubs/components/poolsense/entity.pyi +4 -2
- homeassistant-stubs/components/zwave_js/discovery.pyi +0 -2
- {homeassistant_stubs-2024.5.3.dist-info → homeassistant_stubs-2024.5.4.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.5.3.dist-info → homeassistant_stubs-2024.5.4.dist-info}/RECORD +9 -9
- {homeassistant_stubs-2024.5.3.dist-info → homeassistant_stubs-2024.5.4.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.5.3.dist-info → homeassistant_stubs-2024.5.4.dist-info}/WHEEL +0 -0
@@ -33,6 +33,7 @@ class SetStateAttributes(TypedDict, total=False):
|
|
33
33
|
transition_time: int
|
34
34
|
xy: tuple[float, float]
|
35
35
|
|
36
|
+
def update_color_state(group: Group, lights: list[Light], override: bool = False) -> None: ...
|
36
37
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
37
38
|
|
38
39
|
class DeconzBaseLight(DeconzDevice[_LightDeviceT], LightEntity):
|
@@ -16,6 +16,8 @@ class DuotecnoEntity(Entity):
|
|
16
16
|
def __init__(self, unit: BaseUnit) -> None: ...
|
17
17
|
async def async_added_to_hass(self) -> None: ...
|
18
18
|
async def _on_update(self) -> None: ...
|
19
|
+
@property
|
20
|
+
def available(self) -> bool: ...
|
19
21
|
_T = TypeVar('_T', bound='DuotecnoEntity')
|
20
22
|
_P = ParamSpec('_P')
|
21
23
|
|
@@ -19,6 +19,8 @@ from homeassistant.util.logging import catch_log_exception as catch_log_exceptio
|
|
19
19
|
from typing import Any
|
20
20
|
|
21
21
|
_LOGGER: Incomplete
|
22
|
+
MIN_BUFFER_SIZE: int
|
23
|
+
PREFERRED_BUFFER_SIZE: int
|
22
24
|
DISCOVERY_COOLDOWN: int
|
23
25
|
INITIAL_SUBSCRIBE_COOLDOWN: float
|
24
26
|
SUBSCRIBE_COOLDOWN: float
|
@@ -91,6 +93,7 @@ class MQTT:
|
|
91
93
|
_pending_subscriptions: Incomplete
|
92
94
|
_unsubscribe_debouncer: Incomplete
|
93
95
|
_pending_unsubscribes: Incomplete
|
96
|
+
_socket_buffersize: Incomplete
|
94
97
|
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, conf: ConfigType) -> None: ...
|
95
98
|
def _async_ha_started(self, _hass: HomeAssistant) -> None: ...
|
96
99
|
async def _async_ha_stop(self, _event: Event) -> None: ...
|
@@ -103,6 +106,7 @@ class MQTT:
|
|
103
106
|
async def _misc_loop(self) -> None: ...
|
104
107
|
def _async_reader_callback(self, client: mqtt.Client) -> None: ...
|
105
108
|
def _async_start_misc_loop(self) -> None: ...
|
109
|
+
def _increase_socket_buffer_size(self, sock: SocketType) -> None: ...
|
106
110
|
def _on_socket_open(self, client: mqtt.Client, userdata: Any, sock: SocketType) -> None: ...
|
107
111
|
def _async_on_socket_open(self, client: mqtt.Client, userdata: Any, sock: SocketType) -> None: ...
|
108
112
|
def _async_on_socket_close(self, client: mqtt.Client, userdata: Any, sock: SocketType) -> None: ...
|
@@ -1,12 +1,14 @@
|
|
1
|
-
from .const import ATTRIBUTION as ATTRIBUTION
|
1
|
+
from .const import ATTRIBUTION as ATTRIBUTION, DOMAIN as DOMAIN
|
2
2
|
from .coordinator import PoolSenseDataUpdateCoordinator as PoolSenseDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
4
5
|
from homeassistant.helpers.entity import EntityDescription as EntityDescription
|
5
6
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
6
7
|
|
7
8
|
class PoolSenseEntity(CoordinatorEntity[PoolSenseDataUpdateCoordinator]):
|
8
9
|
_attr_attribution = ATTRIBUTION
|
10
|
+
_attr_has_entity_name: bool
|
9
11
|
entity_description: Incomplete
|
10
|
-
_attr_name: Incomplete
|
11
12
|
_attr_unique_id: Incomplete
|
13
|
+
_attr_device_info: Incomplete
|
12
14
|
def __init__(self, coordinator: PoolSenseDataUpdateCoordinator, email: str, description: EntityDescription) -> None: ...
|
@@ -10,7 +10,6 @@ from homeassistant.const import EntityCategory as EntityCategory, Platform as Pl
|
|
10
10
|
from homeassistant.core import callback as callback
|
11
11
|
from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
|
12
12
|
from typing import Any
|
13
|
-
from zwave_js_server.model.device_class import DeviceClassItem as DeviceClassItem
|
14
13
|
from zwave_js_server.model.node import Node as ZwaveNode
|
15
14
|
from zwave_js_server.model.value import ConfigurationValue, Value as ZwaveValue
|
16
15
|
|
@@ -95,4 +94,3 @@ def async_discover_node_values(node: ZwaveNode, device: DeviceEntry, discovered_
|
|
95
94
|
def async_discover_single_value(value: ZwaveValue, device: DeviceEntry, discovered_value_ids: dict[str, set[str]]) -> Generator[ZwaveDiscoveryInfo, None, None]: ...
|
96
95
|
def async_discover_single_configuration_value(value: ConfigurationValue) -> Generator[ZwaveDiscoveryInfo, None, None]: ...
|
97
96
|
def check_value(value: ZwaveValue, schema: ZWaveValueDiscoverySchema) -> bool: ...
|
98
|
-
def check_device_class(device_class: DeviceClassItem, required_value: set[str] | None) -> bool: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.5.
|
3
|
+
Version: 2024.5.4
|
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.
|
19
|
+
Requires-Dist: homeassistant (==2024.5.4)
|
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
|
@@ -618,7 +618,7 @@ homeassistant-stubs/components/deconz/hub/__init__.pyi,sha256=i0ejKUP20btjIQdAyc
|
|
618
618
|
homeassistant-stubs/components/deconz/hub/api.pyi,sha256=U5j5PA64OuzFpQrfJc9_XUbnjQ4cFg-HiZv9IStoYHM,516
|
619
619
|
homeassistant-stubs/components/deconz/hub/config.pyi,sha256=6QSJQNs6cQTykuvz9y_fAm3MeOWmUgjiJXiblj7Mhhc,977
|
620
620
|
homeassistant-stubs/components/deconz/hub/hub.pyi,sha256=4m2D18p--RRoZsQly_TjED5Hv5agoAjIBVVTSeUX4Rg,2445
|
621
|
-
homeassistant-stubs/components/deconz/light.pyi,sha256=
|
621
|
+
homeassistant-stubs/components/deconz/light.pyi,sha256=v0BWfi4m2iaRtUVPs6x1EEpUGWM3AlTG19PbFUCrkU4,3493
|
622
622
|
homeassistant-stubs/components/deconz/lock.pyi,sha256=yPocVjIpNK-CUdsM3gQ8AsWPd9omGUyMii79aKjiIzo,986
|
623
623
|
homeassistant-stubs/components/deconz/logbook.pyi,sha256=1XS4iN6blO7cg_Kfshs-IKdN2lBsaGqQYqNtQiuI8C0,2603
|
624
624
|
homeassistant-stubs/components/deconz/number.pyi,sha256=hnTnd_F8bkB1SF-EXcy4ITSlziavWrR-vfJvxEZt3RA,2438
|
@@ -779,7 +779,7 @@ homeassistant-stubs/components/duotecno/climate.pyi,sha256=5Md0KcEvrwAsrOyS34Mvu
|
|
779
779
|
homeassistant-stubs/components/duotecno/config_flow.pyi,sha256=iogJgauOSf6NWDct0CJgCQg1X0brO_eFWK7SHjb2vCw,536
|
780
780
|
homeassistant-stubs/components/duotecno/const.pyi,sha256=xKqGbNfghjJ6-slWRS0vQza1FRzVbXZsZJEkpajP4XM,45
|
781
781
|
homeassistant-stubs/components/duotecno/cover.pyi,sha256=kKPFWVPtmfbpdJMMSfv-h6oorDbmCzDa_aFtGVXgmb8,1215
|
782
|
-
homeassistant-stubs/components/duotecno/entity.pyi,sha256=
|
782
|
+
homeassistant-stubs/components/duotecno/entity.pyi,sha256=gr_6OPbJuZe4nfyMYUIi9WIChPK-cU7-wiySKIdQsSk,1025
|
783
783
|
homeassistant-stubs/components/duotecno/light.pyi,sha256=8xy_mP44Ii2xgoWINxVbbN2z0mtxJWbvbm1FA-eJAaE,1116
|
784
784
|
homeassistant-stubs/components/duotecno/switch.pyi,sha256=z_jOp-p6ohOg-KgHP30qTFEMxuWjGwhcS4MFebNnRvk,909
|
785
785
|
homeassistant-stubs/components/easyenergy/__init__.pyi,sha256=CY8TIoiBLFTiOKyNuxkkCMNoVxmE79eZVjNhgOZ3Wo8,848
|
@@ -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=
|
1756
|
+
homeassistant-stubs/components/mqtt/client.pyi,sha256=Z4WHfdBCwiv1u3A1XfEgVoh9-iplx37AxlJeH_mNLQU,9402
|
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
|
@@ -2083,7 +2083,7 @@ homeassistant-stubs/components/poolsense/binary_sensor.pyi,sha256=cGJg_mUvbcgWV6
|
|
2083
2083
|
homeassistant-stubs/components/poolsense/config_flow.pyi,sha256=xgVvvxjGb-e4_4tBh0IDd1KKp6UZ5QrQdk4oUWrEfos,584
|
2084
2084
|
homeassistant-stubs/components/poolsense/const.pyi,sha256=LApbRjh9urlABUmBAdcgAD8qepdXLb5UMlv-4K--lrk,29
|
2085
2085
|
homeassistant-stubs/components/poolsense/coordinator.pyi,sha256=0DMGe7Znga7WcLKAwN8WsVyd6Uh4J7PJMVB18hZLwlE,846
|
2086
|
-
homeassistant-stubs/components/poolsense/entity.pyi,sha256=
|
2086
|
+
homeassistant-stubs/components/poolsense/entity.pyi,sha256=bDFmKEu3_I9RPDkPeSoHXGm3HYKYnEIybGjI74TrlX8,803
|
2087
2087
|
homeassistant-stubs/components/poolsense/sensor.pyi,sha256=9yOqy6xo261kbJ8YJoAGfsIv3hjpsQBZ-mqlsbwKBI0,1014
|
2088
2088
|
homeassistant-stubs/components/powerwall/__init__.pyi,sha256=hGic5iv4DisEsWUA8iun_EWDaowMZ2fWx1sMyXsYzRY,2579
|
2089
2089
|
homeassistant-stubs/components/powerwall/binary_sensor.pyi,sha256=IqVkGIOpdj_WuvqOniXs9JyzOhu7lL0Ai-bS2TK-HcU,1922
|
@@ -3155,7 +3155,7 @@ homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi,sha256=qkt
|
|
3155
3155
|
homeassistant-stubs/components/zwave_js/device_condition.pyi,sha256=3kPDHSFjwRyisrsxpx7QGhxQ6hjcojmxX7OmcCoeAM8,2271
|
3156
3156
|
homeassistant-stubs/components/zwave_js/device_trigger.pyi,sha256=gIgMObSiVTEHCojQ29xuZRPV2zWkh1uhc5pmunE_0v4,3789
|
3157
3157
|
homeassistant-stubs/components/zwave_js/diagnostics.pyi,sha256=LsCPyoFzukP1KOVwpQcLef5k9KKuW1tJHB7-RkkR74I,1796
|
3158
|
-
homeassistant-stubs/components/zwave_js/discovery.pyi,sha256=
|
3158
|
+
homeassistant-stubs/components/zwave_js/discovery.pyi,sha256=BBdyPGiIhZU_X0nIYtSZjOhY-8pItIEIaCdRxb-B7oI,5016
|
3159
3159
|
homeassistant-stubs/components/zwave_js/discovery_data_template.pyi,sha256=qG00VC29LVDxzKDXVpVkY1bwtBHkc1qQxSLe9NKjFKQ,7546
|
3160
3160
|
homeassistant-stubs/components/zwave_js/entity.pyi,sha256=hcdZVo5q3ISpeOLKtnxoad1PgsoQ9xquXASC3agHNsg,2729
|
3161
3161
|
homeassistant-stubs/components/zwave_js/event.pyi,sha256=Qs93rUDkOLYWMTKmCxem3Ub8KyOFN3MXqbnfUNH0rVg,1389
|
@@ -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.
|
3326
|
-
homeassistant_stubs-2024.5.
|
3327
|
-
homeassistant_stubs-2024.5.
|
3328
|
-
homeassistant_stubs-2024.5.
|
3325
|
+
homeassistant_stubs-2024.5.4.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3326
|
+
homeassistant_stubs-2024.5.4.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3327
|
+
homeassistant_stubs-2024.5.4.dist-info/METADATA,sha256=nzDB8jxKjI2jt5vhgtvZ00N-z3N5hgQdt8zq4rR0Ipg,3011
|
3328
|
+
homeassistant_stubs-2024.5.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|