homeassistant-stubs 2024.2.0b7__py3-none-any.whl → 2024.2.0b8__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-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b8.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b8.dist-info}/RECORD +9 -9
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b8.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b8.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
|
{homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b8.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.0b8
|
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.0b8)
|
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.0b8.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
|
@@ -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.0b8.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3191
|
+
homeassistant_stubs-2024.2.0b8.dist-info/METADATA,sha256=S_UN6mqCsXmI1zDs90rpjcxyy_7rIxMBh5CgKjxdt5s,3066
|
3192
|
+
homeassistant_stubs-2024.2.0b8.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3193
|
+
homeassistant_stubs-2024.2.0b8.dist-info/RECORD,,
|
{homeassistant_stubs-2024.2.0b7.dist-info → homeassistant_stubs-2024.2.0b8.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|