homeassistant-stubs 2024.2.0b7__py3-none-any.whl → 2024.2.0b9__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/amberelectric/config_flow.pyi +5 -1
- homeassistant-stubs/components/amberelectric/const.pyi +0 -1
- homeassistant-stubs/components/analytics_insights/__init__.pyi +1 -0
- homeassistant-stubs/components/analytics_insights/sensor.pyi +2 -0
- homeassistant-stubs/components/proximity/sensor.pyi +2 -1
- homeassistant-stubs/components/unifi/sensor.pyi +3 -1
- homeassistant-stubs/helpers/entity_platform.pyi +2 -0
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/RECORD +11 -11
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/WHEEL +0 -0
@@ -1,12 +1,16 @@
|
|
1
|
-
from .const import CONF_SITE_ID as CONF_SITE_ID, CONF_SITE_NAME as CONF_SITE_NAME,
|
1
|
+
from .const import CONF_SITE_ID as CONF_SITE_ID, CONF_SITE_NAME as CONF_SITE_NAME, DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from amberelectric.model.site import Site as Site
|
4
4
|
from homeassistant import config_entries as config_entries
|
5
5
|
from homeassistant.const import CONF_API_TOKEN as CONF_API_TOKEN
|
6
6
|
from homeassistant.data_entry_flow import FlowResult as FlowResult
|
7
|
+
from homeassistant.helpers.selector import SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig, SelectSelectorMode as SelectSelectorMode
|
7
8
|
|
8
9
|
API_URL: str
|
9
10
|
|
11
|
+
def generate_site_selector_name(site: Site) -> str: ...
|
12
|
+
def filter_sites(sites: list[Site]) -> list[Site]: ...
|
13
|
+
|
10
14
|
class AmberElectricConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
11
15
|
VERSION: int
|
12
16
|
_errors: Incomplete
|
@@ -4,6 +4,7 @@ from dataclasses import dataclass
|
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
5
|
from homeassistant.const import Platform as Platform
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
+
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
7
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
9
|
|
9
10
|
PLATFORMS: list[Platform]
|
@@ -6,6 +6,7 @@ from collections.abc import Callable as Callable
|
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from homeassistant.components.sensor import SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
8
8
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
|
+
from homeassistant.const import EntityCategory as EntityCategory
|
9
10
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
11
|
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
11
12
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
@@ -23,6 +24,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
23
24
|
|
24
25
|
class HomeassistantAnalyticsSensor(CoordinatorEntity[HomeassistantAnalyticsDataUpdateCoordinator], SensorEntity):
|
25
26
|
_attr_has_entity_name: bool
|
27
|
+
_attr_entity_category: Incomplete
|
26
28
|
entity_description: AnalyticsSensorEntityDescription
|
27
29
|
_attr_unique_id: Incomplete
|
28
30
|
_attr_device_info: Incomplete
|
@@ -17,6 +17,7 @@ SENSORS_PER_PROXIMITY: list[SensorEntityDescription]
|
|
17
17
|
class TrackedEntityDescriptor(NamedTuple):
|
18
18
|
entity_id: str
|
19
19
|
identifier: str
|
20
|
+
name: str
|
20
21
|
|
21
22
|
def _device_info(coordinator: ProximityDataUpdateCoordinator) -> DeviceInfo: ...
|
22
23
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -40,7 +41,7 @@ class ProximityTrackedEntitySensor(CoordinatorEntity[ProximityDataUpdateCoordina
|
|
40
41
|
def __init__(self, description: SensorEntityDescription, coordinator: ProximityDataUpdateCoordinator, tracked_entity_descriptor: TrackedEntityDescriptor) -> None: ...
|
41
42
|
async def async_added_to_hass(self) -> None: ...
|
42
43
|
@property
|
43
|
-
def data(self) -> dict[str, str | int | None]
|
44
|
+
def data(self) -> dict[str, str | int | None]: ...
|
44
45
|
@property
|
45
46
|
def available(self) -> bool: ...
|
46
47
|
@property
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import DEVICE_STATES as DEVICE_STATES
|
2
2
|
from .controller import UniFiController as UniFiController
|
3
3
|
from .entity import HandlerT as HandlerT, UnifiEntity as UnifiEntity, UnifiEntityDescription as UnifiEntityDescription, async_client_device_info_fn as async_client_device_info_fn, async_device_available_fn as async_device_available_fn, async_device_device_info_fn as async_device_device_info_fn, async_wlan_available_fn as async_wlan_available_fn, async_wlan_device_info_fn as async_wlan_device_info_fn
|
4
|
+
from _typeshed import Incomplete
|
4
5
|
from aiounifi.interfaces.api_handlers import ItemEvent as ItemEvent
|
5
6
|
from aiounifi.models.api import ApiItemT
|
6
7
|
from aiounifi.models.client import Client
|
@@ -50,8 +51,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
50
51
|
|
51
52
|
class UnifiSensorEntity(UnifiEntity[HandlerT, ApiItemT], SensorEntity):
|
52
53
|
entity_description: UnifiSensorEntityDescription[HandlerT, ApiItemT]
|
53
|
-
|
54
|
+
_attr_available: bool
|
54
55
|
def _make_disconnected(self, *_: core_Event) -> None: ...
|
56
|
+
_attr_native_value: Incomplete
|
55
57
|
def async_update_state(self, event: ItemEvent, obj_id: str) -> None: ...
|
56
58
|
async def async_added_to_hass(self) -> None: ...
|
57
59
|
async def async_will_remove_from_hass(self) -> None: ...
|
@@ -26,6 +26,7 @@ SLOW_ADD_MIN_TIMEOUT: int
|
|
26
26
|
PLATFORM_NOT_READY_RETRIES: int
|
27
27
|
DATA_ENTITY_PLATFORM: str
|
28
28
|
DATA_DOMAIN_ENTITIES: str
|
29
|
+
DATA_DOMAIN_PLATFORM_ENTITIES: str
|
29
30
|
PLATFORM_NOT_READY_BASE_WAIT_TIME: int
|
30
31
|
_LOGGER: Incomplete
|
31
32
|
|
@@ -60,6 +61,7 @@ class EntityPlatform:
|
|
60
61
|
_update_in_sequence: bool
|
61
62
|
parallel_updates_created: Incomplete
|
62
63
|
domain_entities: Incomplete
|
64
|
+
domain_platform_entities: Incomplete
|
63
65
|
def __init__(self, *, hass: HomeAssistant, logger: Logger, domain: str, platform_name: str, platform: EntityPlatformModule | None, scan_interval: timedelta, entity_namespace: str | None) -> None: ...
|
64
66
|
def __repr__(self) -> str: ...
|
65
67
|
def _get_parallel_updates_semaphore(self, entity_has_sync_update: bool) -> asyncio.Semaphore | None: ...
|
{homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.2.
|
3
|
+
Version: 2024.2.0b9
|
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
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.10
|
18
18
|
Classifier: Topic :: Software Development
|
19
19
|
Classifier: Typing :: Typed
|
20
|
-
Requires-Dist: homeassistant (==2024.2.
|
20
|
+
Requires-Dist: homeassistant (==2024.2.0b9)
|
21
21
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
22
22
|
Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
|
23
23
|
Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
|
{homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/RECORD
RENAMED
@@ -181,8 +181,8 @@ homeassistant-stubs/components/amazon_polly/const.pyi,sha256=vbAbNiCnc3sCPDr591t
|
|
181
181
|
homeassistant-stubs/components/amazon_polly/tts.pyi,sha256=Xvw1rLJ6HwIaZM-RhXPitqNY9le5RbdyHHzeK9twV-0,2428
|
182
182
|
homeassistant-stubs/components/amberelectric/__init__.pyi,sha256=znn57V2Payzl6ilFb2DJoS9JavK5LImPg7q1avqCgGg,525
|
183
183
|
homeassistant-stubs/components/amberelectric/binary_sensor.pyi,sha256=ohghfZGQ8k-nITNdu4PuTgTgzFH24gC1EfDN3DKr_ls,1441
|
184
|
-
homeassistant-stubs/components/amberelectric/config_flow.pyi,sha256=
|
185
|
-
homeassistant-stubs/components/amberelectric/const.pyi,sha256=
|
184
|
+
homeassistant-stubs/components/amberelectric/config_flow.pyi,sha256=qGOdtADqkfSnqRR-dxFRwECDV1n4qPkrQT2rLiYotKg,1162
|
185
|
+
homeassistant-stubs/components/amberelectric/const.pyi,sha256=RemXSfqh-nM8zCTW1SRNUNyHbg5Z0iSwuHzivzmgzIE,195
|
186
186
|
homeassistant-stubs/components/amberelectric/coordinator.pyi,sha256=b_YRGv4L7_NbT3h2Vq2SlvzygoAKks7ZJ53bK0gRemY,1472
|
187
187
|
homeassistant-stubs/components/amberelectric/sensor.pyi,sha256=4ck4bTvDNoqriAs17lSsAIQ9a3P7feXrQ3gY7kyspMA,2561
|
188
188
|
homeassistant-stubs/components/ambiclimate/__init__.pyi,sha256=hQBLAkQxbC0NEmfnKpy70pBwBeEoBqGPnL8jQWLH1Vg,643
|
@@ -209,11 +209,11 @@ homeassistant-stubs/components/ampio/const.pyi,sha256=hhl2Hm7gc36wuCF6eaF97K2R0K
|
|
209
209
|
homeassistant-stubs/components/analytics/__init__.pyi,sha256=nC2TOh4GWA0dpEHJmpUh2HMf8cqSsDKyqYOzwoFu8ag,1135
|
210
210
|
homeassistant-stubs/components/analytics/analytics.pyi,sha256=-cpgUfu2W2xzcyMVJu3WcAkuDa6xU9JEHKnpqRlTkMM,3278
|
211
211
|
homeassistant-stubs/components/analytics/const.pyi,sha256=qP2A0iQW7qrKk0gdX30C4yuUxEqvR53NGTUFFKFZ5us,870
|
212
|
-
homeassistant-stubs/components/analytics_insights/__init__.pyi,sha256=
|
212
|
+
homeassistant-stubs/components/analytics_insights/__init__.pyi,sha256=HoRxjlVupe1sQOtL0588wgPZJl3ZqJ8NlOvu816tP88,1075
|
213
213
|
homeassistant-stubs/components/analytics_insights/config_flow.pyi,sha256=dTOopIkFpjBa7CP61_LysuIouPMDJ6YXCmObvVu7Wpk,1279
|
214
214
|
homeassistant-stubs/components/analytics_insights/const.pyi,sha256=Ph95NKcQ9bcrMGS0cpH5oXsIStmcw1l31J8skXHm8m0,134
|
215
215
|
homeassistant-stubs/components/analytics_insights/coordinator.pyi,sha256=-AMZK5AseDkmRessFbvDyBZKKqd1d9pKhJEwAQYdjLQ,1329
|
216
|
-
homeassistant-stubs/components/analytics_insights/sensor.pyi,sha256=
|
216
|
+
homeassistant-stubs/components/analytics_insights/sensor.pyi,sha256=8lXJ32_7Z6bBJbGBvgiarvaTnFto-3hVQlOqcgkwqV8,2462
|
217
217
|
homeassistant-stubs/components/android_ip_webcam/__init__.pyi,sha256=-X4H8pokQ4vi1wt85wP-9pCE8MehBqdq9pv2e5bM8k8,779
|
218
218
|
homeassistant-stubs/components/android_ip_webcam/binary_sensor.pyi,sha256=GVvxsfYhXzD736npB5sZXGPeY8xymoJagV8CwBix4uM,1189
|
219
219
|
homeassistant-stubs/components/android_ip_webcam/camera.pyi,sha256=SteeqWhWjf4VEbBiqIcILBjTEFMdCL_N0BXP7TmwQFs,1107
|
@@ -2019,7 +2019,7 @@ homeassistant-stubs/components/proximity/const.pyi,sha256=mHiHFx1eCuk6QyvMgQr1Y0
|
|
2019
2019
|
homeassistant-stubs/components/proximity/coordinator.pyi,sha256=wSHWmopn6w98oXO6r129OUbzCikc6uWxEjhMEyVsJTg,3232
|
2020
2020
|
homeassistant-stubs/components/proximity/diagnostics.pyi,sha256=4I7tgPU_S6CCWIOkzCZpCSPqmsF7vVTUxmnVpakM-uk,972
|
2021
2021
|
homeassistant-stubs/components/proximity/helpers.pyi,sha256=GCADeAWXrdfOeXH-mq3u5TLwr1wVAeT-vl6BX5l1wag,323
|
2022
|
-
homeassistant-stubs/components/proximity/sensor.pyi,sha256=
|
2022
|
+
homeassistant-stubs/components/proximity/sensor.pyi,sha256=pu4aHjpKNTKxztZRIqEqqYzksBejsYR-hxFPaO4Gesc,2613
|
2023
2023
|
homeassistant-stubs/components/prusalink/__init__.pyi,sha256=tNAk_MMeA4IZ_O1_nkacQ9VfbrNcKK4BNpx8q-Xb_oM,2440
|
2024
2024
|
homeassistant-stubs/components/prusalink/button.pyi,sha256=IS84pNj2ndQ7_nxcWPfIJfh1up5bOCg1p0e1OHzTx2g,2102
|
2025
2025
|
homeassistant-stubs/components/prusalink/camera.pyi,sha256=IuAzx5QlhQzW8u-qN0iHREz2319gaHzBnGj8tCZH-bY,952
|
@@ -2765,7 +2765,7 @@ homeassistant-stubs/components/unifi/diagnostics.pyi,sha256=NtOUSVcH53_-v6Z6DXqv
|
|
2765
2765
|
homeassistant-stubs/components/unifi/entity.pyi,sha256=AV9xyWNWeiQDccG84MoGST5AVKMCyzDzNKVzr-qzoH8,3959
|
2766
2766
|
homeassistant-stubs/components/unifi/errors.pyi,sha256=h1_5yfcesViHv8-8Bd-geo5moFY7_SkjvvcN3ydwaHo,339
|
2767
2767
|
homeassistant-stubs/components/unifi/image.pyi,sha256=qL0eUpXFBd2KVmT0QT4XDCQoXzPpkVWPcm0UN9QOhBI,2673
|
2768
|
-
homeassistant-stubs/components/unifi/sensor.pyi,sha256=
|
2768
|
+
homeassistant-stubs/components/unifi/sensor.pyi,sha256=13dqQEFPXK_ggLYSx_EKJUTuRLF3TSC_mXH3mT-nF2A,4709
|
2769
2769
|
homeassistant-stubs/components/unifi/services.pyi,sha256=HUocu09DKvpcTs7K_A3ohNzArNElWFeT-UIEDubvZsY,834
|
2770
2770
|
homeassistant-stubs/components/unifi/switch.pyi,sha256=1k52WHi9-eN29GLFUs1zhpPmdAywRDDvfHt7EFxpjgc,4660
|
2771
2771
|
homeassistant-stubs/components/unifi/update.pyi,sha256=kkk9fepCplC5iEoyVRFaoGHv6ueGQdcjn5rzNaDZy1Y,2866
|
@@ -3096,7 +3096,7 @@ homeassistant-stubs/helpers/discovery_flow.pyi,sha256=L1pHTaSYLIDv97LBXRcW9Xu65P
|
|
3096
3096
|
homeassistant-stubs/helpers/dispatcher.pyi,sha256=oxDrTGjTUQEQPJn5mFqWIjNkbpOrWwTPmNxq0cnSfzo,2281
|
3097
3097
|
homeassistant-stubs/helpers/entity.pyi,sha256=z_pGHo7opuk6i6sWdxe6IbkztKBOGQ2Dxd6FAAxIgno,12749
|
3098
3098
|
homeassistant-stubs/helpers/entity_component.pyi,sha256=jH3N5crWdv9emPMaHHl53oArFfsitmcqC8jOJKH3gyo,3512
|
3099
|
-
homeassistant-stubs/helpers/entity_platform.pyi,sha256=
|
3099
|
+
homeassistant-stubs/helpers/entity_platform.pyi,sha256=Ha9BDDVbRQhTlsFixDXiKK2eylBDYdC8luRXbhsRIE0,6005
|
3100
3100
|
homeassistant-stubs/helpers/entity_registry.pyi,sha256=jVnAR8OVAAQfWKFtaVXNkhvyUFLaER6qLNvlIfeK_Es,12289
|
3101
3101
|
homeassistant-stubs/helpers/entity_values.pyi,sha256=ivHFA5Ay7dXCfomEdjcPFc54lX-_9kaD91MCs2BAnxg,455
|
3102
3102
|
homeassistant-stubs/helpers/entityfilter.pyi,sha256=8pYuzKPfv8LEAILvtoWrjiLWF08gPR9yNpbexwsp1So,2008
|
@@ -3187,7 +3187,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3187
3187
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3188
3188
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=fCRJl2omP0s_2O6n64qGIs_PUgu4AGMrkAxcxTPk_Z4,4173
|
3189
3189
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=89c0boOGMdQvHxVk7Xs42DKMj3ldlozxjrpiV74RkGY,457
|
3190
|
-
homeassistant_stubs-2024.2.
|
3191
|
-
homeassistant_stubs-2024.2.
|
3192
|
-
homeassistant_stubs-2024.2.
|
3193
|
-
homeassistant_stubs-2024.2.
|
3190
|
+
homeassistant_stubs-2024.2.0b9.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3191
|
+
homeassistant_stubs-2024.2.0b9.dist-info/METADATA,sha256=Q8Hx6mrVtQZVVHNn1b8OFzyuomqpGG6JbvymINwlOrs,3066
|
3192
|
+
homeassistant_stubs-2024.2.0b9.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3193
|
+
homeassistant_stubs-2024.2.0b9.dist-info/RECORD,,
|
{homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b9.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|