homeassistant-stubs 2024.9.0b4__py3-none-any.whl → 2024.9.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.
- homeassistant-stubs/components/apsystems/number.pyi +1 -1
- homeassistant-stubs/components/bthome/device_trigger.pyi +2 -1
- homeassistant-stubs/components/linkplay/media_player.pyi +1 -0
- homeassistant-stubs/components/sfr_box/coordinator.pyi +3 -3
- homeassistant-stubs/components/sfr_box/diagnostics.pyi +2 -1
- homeassistant-stubs/components/sfr_box/sensor.pyi +2 -0
- homeassistant-stubs/helpers/collection.pyi +4 -1
- {homeassistant_stubs-2024.9.0b4.dist-info → homeassistant_stubs-2024.9.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.9.0b4.dist-info → homeassistant_stubs-2024.9.1.dist-info}/RECORD +11 -11
- {homeassistant_stubs-2024.9.0b4.dist-info → homeassistant_stubs-2024.9.1.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.9.0b4.dist-info → homeassistant_stubs-2024.9.1.dist-info}/WHEEL +0 -0
@@ -10,7 +10,6 @@ from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
|
|
10
10
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ApSystemsConfigEntry, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
11
11
|
|
12
12
|
class ApSystemsMaxOutputNumber(ApSystemsEntity, NumberEntity):
|
13
|
-
_attr_native_min_value: int
|
14
13
|
_attr_native_step: int
|
15
14
|
_attr_device_class: Incomplete
|
16
15
|
_attr_mode: Incomplete
|
@@ -19,6 +18,7 @@ class ApSystemsMaxOutputNumber(ApSystemsEntity, NumberEntity):
|
|
19
18
|
_api: Incomplete
|
20
19
|
_attr_unique_id: Incomplete
|
21
20
|
_attr_native_max_value: Incomplete
|
21
|
+
_attr_native_min_value: Incomplete
|
22
22
|
def __init__(self, data: ApSystemsData) -> None: ...
|
23
23
|
_attr_native_value: Incomplete
|
24
24
|
async def async_update(self) -> None: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import BTHOME_BLE_EVENT as BTHOME_BLE_EVENT, CONF_DISCOVERED_EVENT_CLASSES as CONF_DISCOVERED_EVENT_CLASSES, CONF_SUBTYPE as CONF_SUBTYPE, DOMAIN as DOMAIN, EVENT_CLASS as EVENT_CLASS, EVENT_CLASS_BUTTON as EVENT_CLASS_BUTTON, EVENT_CLASS_DIMMER as EVENT_CLASS_DIMMER, EVENT_TYPE as EVENT_TYPE
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA as DEVICE_TRIGGER_BASE_SCHEMA
|
4
|
+
from homeassistant.components.device_automation.exceptions import InvalidDeviceAutomationConfig as InvalidDeviceAutomationConfig
|
4
5
|
from homeassistant.const import CONF_DEVICE_ID as CONF_DEVICE_ID, CONF_DOMAIN as CONF_DOMAIN, CONF_EVENT as CONF_EVENT, CONF_PLATFORM as CONF_PLATFORM, CONF_TYPE as CONF_TYPE
|
5
6
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant
|
6
7
|
from homeassistant.helpers.trigger import TriggerActionType as TriggerActionType, TriggerInfo as TriggerInfo
|
@@ -8,7 +9,7 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
8
9
|
from typing import Any
|
9
10
|
|
10
11
|
TRIGGERS_BY_EVENT_CLASS: Incomplete
|
11
|
-
|
12
|
+
TRIGGER_SCHEMA: Incomplete
|
12
13
|
|
13
14
|
async def async_validate_trigger_config(hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
14
15
|
async def async_get_triggers(hass: HomeAssistant, device_id: str) -> list[dict[str, Any]]: ...
|
@@ -5,6 +5,7 @@ from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Callable as Callable, Coroutine
|
6
6
|
from homeassistant.components import media_source as media_source
|
7
7
|
from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, RepeatMode as RepeatMode
|
8
|
+
from homeassistant.components.media_player.browse_media import async_process_play_media_url as async_process_play_media_url
|
8
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
10
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
10
11
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -8,8 +8,8 @@ from typing import Any
|
|
8
8
|
_LOGGER: Incomplete
|
9
9
|
_SCAN_INTERVAL: Incomplete
|
10
10
|
|
11
|
-
class SFRDataUpdateCoordinator(DataUpdateCoordinator[_DataT]):
|
11
|
+
class SFRDataUpdateCoordinator(DataUpdateCoordinator[_DataT | None]):
|
12
12
|
box: Incomplete
|
13
13
|
_method: Incomplete
|
14
|
-
def __init__(self, hass: HomeAssistant, box: SFRBox, name: str, method: Callable[[SFRBox], Coroutine[Any, Any, _DataT]]) -> None: ...
|
15
|
-
async def _async_update_data(self) -> _DataT: ...
|
14
|
+
def __init__(self, hass: HomeAssistant, box: SFRBox, name: str, method: Callable[[SFRBox], Coroutine[Any, Any, _DataT | None]]) -> None: ...
|
15
|
+
async def _async_update_data(self) -> _DataT | None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .models import DomainData as DomainData
|
3
|
-
from _typeshed import Incomplete
|
3
|
+
from _typeshed import DataclassInstance, Incomplete
|
4
4
|
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -8,4 +8,5 @@ from typing import Any
|
|
8
8
|
|
9
9
|
TO_REDACT: Incomplete
|
10
10
|
|
11
|
+
def _async_redact_data(obj: DataclassInstance | None) -> dict[str, Any] | None: ...
|
11
12
|
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: ConfigEntry) -> dict[str, Any]: ...
|
@@ -23,6 +23,8 @@ DSL_SENSOR_TYPES: tuple[SFRBoxSensorEntityDescription[DslInfo], ...]
|
|
23
23
|
SYSTEM_SENSOR_TYPES: tuple[SFRBoxSensorEntityDescription[SystemInfo], ...]
|
24
24
|
WAN_SENSOR_TYPES: tuple[SFRBoxSensorEntityDescription[WanInfo], ...]
|
25
25
|
|
26
|
+
def _value_to_option(value: str | None) -> str | None: ...
|
27
|
+
def _get_temperature(value: float | None) -> float | None: ...
|
26
28
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
27
29
|
|
28
30
|
class SFRBoxSensor(CoordinatorEntity[SFRDataUpdateCoordinator[_T]], SensorEntity):
|
@@ -3,6 +3,7 @@ import logging
|
|
3
3
|
from . import entity_registry as entity_registry
|
4
4
|
from .entity import Entity as Entity
|
5
5
|
from .entity_component import EntityComponent as EntityComponent
|
6
|
+
from .json import json_bytes as json_bytes
|
6
7
|
from .storage import Store as Store
|
7
8
|
from .typing import ConfigType as ConfigType, VolDictType as VolDictType
|
8
9
|
from _typeshed import Incomplete
|
@@ -29,7 +30,8 @@ class CollectionChange:
|
|
29
30
|
change_type: str
|
30
31
|
item_id: str
|
31
32
|
item: Any
|
32
|
-
|
33
|
+
item_hash: str | None = ...
|
34
|
+
def __init__(self, change_type, item_id, item, item_hash=...) -> None: ...
|
33
35
|
ChangeListener = Callable[[str, str, dict], Awaitable[None]]
|
34
36
|
ChangeSetListener = Callable[[Iterable[CollectionChange]], Awaitable[None]]
|
35
37
|
|
@@ -105,6 +107,7 @@ class StorageCollection(ObservableCollection[_ItemT], metaclass=abc.ABCMeta):
|
|
105
107
|
def _base_data_to_save(self) -> SerializedStorageCollection: ...
|
106
108
|
@abstractmethod
|
107
109
|
def _data_to_save(self) -> _StoreT: ...
|
110
|
+
def _hash_item(self, item: dict) -> str: ...
|
108
111
|
|
109
112
|
class DictStorageCollection(StorageCollection[dict, SerializedStorageCollection], metaclass=abc.ABCMeta):
|
110
113
|
def _create_item(self, item_id: str, data: dict) -> dict: ...
|
{homeassistant_stubs-2024.9.0b4.dist-info → homeassistant_stubs-2024.9.1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.9.
|
3
|
+
Version: 2024.9.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.9.
|
19
|
+
Requires-Dist: homeassistant (==2024.9.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
|
@@ -288,7 +288,7 @@ homeassistant-stubs/components/apsystems/config_flow.pyi,sha256=r09ePiWRFVvyKH_W
|
|
288
288
|
homeassistant-stubs/components/apsystems/const.pyi,sha256=1BkhPQNy0RI_iBcwjQ6VjgpUWug5eiGTHdx3rroMg9o,73
|
289
289
|
homeassistant-stubs/components/apsystems/coordinator.pyi,sha256=85Xq71oOzcaH_rX5IVcsyLQIEJ_d299VIVtHGjmO6d4,878
|
290
290
|
homeassistant-stubs/components/apsystems/entity.pyi,sha256=Z1RGkCTNuDrE8yE-WgVO6Zdk1jf-cr-hby4yVNFlT8E,402
|
291
|
-
homeassistant-stubs/components/apsystems/number.pyi,sha256=
|
291
|
+
homeassistant-stubs/components/apsystems/number.pyi,sha256=9QQ9FKHC2BbJk4d9dih9g5uEstCnRb7c3R0BCtpMYGM,1367
|
292
292
|
homeassistant-stubs/components/apsystems/sensor.pyi,sha256=_sPtxsRwpLh3TiEbjLr2-Gx-E82FqtYYgRilFrICaKw,2306
|
293
293
|
homeassistant-stubs/components/apsystems/switch.pyi,sha256=1SNS-dT5-XOp6x1mc_sRL1EsOasUYoLY62Hx9g8lz-A,1068
|
294
294
|
homeassistant-stubs/components/aqualogic/__init__.pyi,sha256=p7-uXKU0s5XG6NzT66TwEtoNEZ1IDcvZGtTeWtRS6qw,1180
|
@@ -496,7 +496,7 @@ homeassistant-stubs/components/bthome/config_flow.pyi,sha256=C8c6xzE3TRUUsEO9Dcd
|
|
496
496
|
homeassistant-stubs/components/bthome/const.pyi,sha256=kraaN_ym3cpyJd4W3YqMa_Ta9kQuAH_xRgo4bTG11TM,578
|
497
497
|
homeassistant-stubs/components/bthome/coordinator.pyi,sha256=gR0zg7yJFxowI_czEihLi2Ch7QnbMOToAijaqnzpOxM,1459
|
498
498
|
homeassistant-stubs/components/bthome/device.pyi,sha256=y5q_X_Oi3dEEuyOyVddjHVH5D7y5R-_eYB-i_7tcz34,270
|
499
|
-
homeassistant-stubs/components/bthome/device_trigger.pyi,sha256=
|
499
|
+
homeassistant-stubs/components/bthome/device_trigger.pyi,sha256=iG4DpxwbMduFA0Yv2jp_PhDJcgOgsQsrA3hCR1mlU20,1455
|
500
500
|
homeassistant-stubs/components/bthome/event.pyi,sha256=0L7lhGqdA0mbhsRBaav43siyN-xwsK5XmN9QPM_DBuQ,1531
|
501
501
|
homeassistant-stubs/components/bthome/logbook.pyi,sha256=mbjTGKK8sCIxXEmWVgiOfZ2nYSONNk0nias4QbJCoJk,553
|
502
502
|
homeassistant-stubs/components/bthome/sensor.pyi,sha256=1aiJVgY6UHopaVXeTUHDeEQQhB6aPYCFvaWVKfMxhd0,2371
|
@@ -1672,7 +1672,7 @@ homeassistant-stubs/components/linear_garage_door/light.pyi,sha256=V85q00IFJ78qz
|
|
1672
1672
|
homeassistant-stubs/components/linkplay/__init__.pyi,sha256=mh0Q4HlGbDMe_jd0Z1Oq5h2R130n8CZN61r1WSqUwkU,858
|
1673
1673
|
homeassistant-stubs/components/linkplay/config_flow.pyi,sha256=Z5HWJZ5-i15lErj2byryN7JNtD-qAZb1lu0OmqUxn0c,981
|
1674
1674
|
homeassistant-stubs/components/linkplay/const.pyi,sha256=PpphfxC1c87IZ19Zp3I5Zit-LaVluaP9zsk1Z0RByHM,139
|
1675
|
-
homeassistant-stubs/components/linkplay/media_player.pyi,sha256=
|
1675
|
+
homeassistant-stubs/components/linkplay/media_player.pyi,sha256=RwX2u7yaQ6THf4yvDMOtQrEffA9USHyX408w3AOjH0Q,3635
|
1676
1676
|
homeassistant-stubs/components/linkplay/utils.pyi,sha256=xBO7ryLFfXjGBEmn8iupcmxtc3lDT63XyPc_gHl9VJM,1001
|
1677
1677
|
homeassistant-stubs/components/litejet/__init__.pyi,sha256=kjhUyHTWKn3vZrYmvjhfZZPRYhrX2CFS_k2st-gTf_Q,615
|
1678
1678
|
homeassistant-stubs/components/litejet/config_flow.pyi,sha256=8eb8zahVh3L4-Ak-NBQUZn_dLPHHfEacfwtSD3duAGA,905
|
@@ -2619,10 +2619,10 @@ homeassistant-stubs/components/sfr_box/binary_sensor.pyi,sha256=ilurdNv7eypCMR0V
|
|
2619
2619
|
homeassistant-stubs/components/sfr_box/button.pyi,sha256=en04RFkOGtzwOK4DYde0-tRD3hJB1320-UK6172-AuE,2159
|
2620
2620
|
homeassistant-stubs/components/sfr_box/config_flow.pyi,sha256=qqJZizXLeCv3c8kIZ1E-wxZqsA29UWpatfY8KxVzyR0,1343
|
2621
2621
|
homeassistant-stubs/components/sfr_box/const.pyi,sha256=s3HM-cnWjjite14emgmMbGKvyPnHLABZoqNaqVc5HvQ,193
|
2622
|
-
homeassistant-stubs/components/sfr_box/coordinator.pyi,sha256=
|
2623
|
-
homeassistant-stubs/components/sfr_box/diagnostics.pyi,sha256=
|
2622
|
+
homeassistant-stubs/components/sfr_box/coordinator.pyi,sha256=YkXawXiCv3fh7wWWgKh1VvRWD7o_JnZtLDRKIZJ2UM8,724
|
2623
|
+
homeassistant-stubs/components/sfr_box/diagnostics.pyi,sha256=wtICgAJc_PS6ezS3DBoGKmL1n6FIo50Nxsti0Aheuwc,591
|
2624
2624
|
homeassistant-stubs/components/sfr_box/models.pyi,sha256=RTiW4j-fUIztQBiB-sfYqeDH78QF3tkpyzljzm5HH4I,567
|
2625
|
-
homeassistant-stubs/components/sfr_box/sensor.pyi,sha256=
|
2625
|
+
homeassistant-stubs/components/sfr_box/sensor.pyi,sha256=XZ030nnjCaw-Gg_N51qy4PWJ1l1T0e6v4MmShiB7_Mk,2732
|
2626
2626
|
homeassistant-stubs/components/shelly/__init__.pyi,sha256=ShO0Bs6P8_lIMYUyHLRJRIAohYYAseB79PHNTNXIccg,2250
|
2627
2627
|
homeassistant-stubs/components/shelly/binary_sensor.pyi,sha256=foelmZWQROcHKseTPfqHiRjuw5MZ7Gz_njly6jNs_R4,4598
|
2628
2628
|
homeassistant-stubs/components/shelly/bluetooth/__init__.pyi,sha256=HT0hgl_ciFlucyyluKSuO_9H8L0RSlaSj3lY81zCwwc,530
|
@@ -3410,7 +3410,7 @@ homeassistant-stubs/helpers/aiohttp_client.pyi,sha256=L08HHHfq2PLd_fX2vF42Bxxitv
|
|
3410
3410
|
homeassistant-stubs/helpers/area_registry.pyi,sha256=Nbw_anNBR5SlHvam7a7usPtvXcdzS8-KswMeUUcalM4,4652
|
3411
3411
|
homeassistant-stubs/helpers/category_registry.pyi,sha256=NEmNSMtmtYmy9EsY7S0xsh6P9jcFDnP1jTeIeowwh9Q,2975
|
3412
3412
|
homeassistant-stubs/helpers/check_config.pyi,sha256=jlI6Bd-sj6Yp8W_rg8cUTkVdEdJ9XFidEkJJukfKdJU,1644
|
3413
|
-
homeassistant-stubs/helpers/collection.pyi,sha256=
|
3413
|
+
homeassistant-stubs/helpers/collection.pyi,sha256=tpxH9-jbRQOIOpRbX3gHfKPsgpNq4Spt-8ZUdqdMFsE,7470
|
3414
3414
|
homeassistant-stubs/helpers/condition.pyi,sha256=I3D_7mopcuGnX0sfSkRTyMSMynD__kRsRu9EIERXzFw,6194
|
3415
3415
|
homeassistant-stubs/helpers/config_entry_flow.pyi,sha256=ei4l0as5zuv_VhnmawGbizDN0zx2vfc6GqE0J8mOZ7g,3028
|
3416
3416
|
homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi,sha256=VwB71f8--E571jjvJ6nqiNSep5gV6LcYC_u0vgGMZbY,5369
|
@@ -3529,7 +3529,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3529
3529
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3530
3530
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=FJDEgKwYTwuB8hBeJVjqwYqJ5hQZTSF_DtsnuO-E-pM,4758
|
3531
3531
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3532
|
-
homeassistant_stubs-2024.9.
|
3533
|
-
homeassistant_stubs-2024.9.
|
3534
|
-
homeassistant_stubs-2024.9.
|
3535
|
-
homeassistant_stubs-2024.9.
|
3532
|
+
homeassistant_stubs-2024.9.1.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3533
|
+
homeassistant_stubs-2024.9.1.dist-info/METADATA,sha256=yVEO08hQqdtaCVLLt3IHC2zKeiBB0EZ5Vd_RE4l80nM,3011
|
3534
|
+
homeassistant_stubs-2024.9.1.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3535
|
+
homeassistant_stubs-2024.9.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|