homeassistant-stubs 2024.6.0b7__py3-none-any.whl → 2024.6.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/aladdin_connect/config_flow.pyi +1 -0
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +4 -1
- homeassistant-stubs/components/hydrawise/entity.pyi +2 -0
- homeassistant-stubs/components/notify/repairs.pyi +1 -1
- homeassistant-stubs/helpers/llm.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +1 -0
- {homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/RECORD +10 -10
- {homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/WHEEL +0 -0
@@ -2,6 +2,7 @@ import logging
|
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
3
|
from collections.abc import Mapping
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlowResult as ConfigFlowResult
|
5
|
+
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_TOKEN as CONF_TOKEN
|
5
6
|
from homeassistant.helpers.config_entry_oauth2_flow import AbstractOAuth2FlowHandler as AbstractOAuth2FlowHandler
|
6
7
|
from typing import Any
|
7
8
|
|
@@ -12,7 +12,8 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
12
12
|
@dataclass(frozen=True, kw_only=True)
|
13
13
|
class HydrawiseBinarySensorEntityDescription(BinarySensorEntityDescription):
|
14
14
|
value_fn: Callable[[HydrawiseBinarySensor], bool | None]
|
15
|
-
|
15
|
+
always_available: bool = ...
|
16
|
+
def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, value_fn, always_available) -> None: ...
|
16
17
|
|
17
18
|
CONTROLLER_BINARY_SENSORS: tuple[HydrawiseBinarySensorEntityDescription, ...]
|
18
19
|
RAIN_SENSOR_BINARY_SENSOR: tuple[HydrawiseBinarySensorEntityDescription, ...]
|
@@ -24,3 +25,5 @@ class HydrawiseBinarySensor(HydrawiseEntity, BinarySensorEntity):
|
|
24
25
|
entity_description: HydrawiseBinarySensorEntityDescription
|
25
26
|
_attr_is_on: Incomplete
|
26
27
|
def _update_attrs(self) -> None: ...
|
28
|
+
@property
|
29
|
+
def available(self) -> bool: ...
|
@@ -3,5 +3,5 @@ from homeassistant.components.repairs import RepairsFlow as RepairsFlow
|
|
3
3
|
from homeassistant.components.repairs.issue_handler import ConfirmRepairFlow as ConfirmRepairFlow
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
5
5
|
|
6
|
-
def migrate_notify_issue(hass: HomeAssistant, domain: str, integration_title: str, breaks_in_ha_version: str) -> None: ...
|
6
|
+
def migrate_notify_issue(hass: HomeAssistant, domain: str, integration_title: str, breaks_in_ha_version: str, service_name: str | None = None) -> None: ...
|
7
7
|
async def async_create_fix_flow(hass: HomeAssistant, issue_id: str, data: dict[str, str | int | float | None] | None) -> RepairsFlow: ...
|
@@ -74,6 +74,7 @@ def async_extract_referenced_entity_ids(hass: HomeAssistant, service_call: Servi
|
|
74
74
|
async def async_extract_config_entry_ids(hass: HomeAssistant, service_call: ServiceCall, expand_group: bool = True) -> set[str]: ...
|
75
75
|
def _load_services_file(hass: HomeAssistant, integration: Integration) -> JSON_TYPE: ...
|
76
76
|
def _load_services_files(hass: HomeAssistant, integrations: Iterable[Integration]) -> list[JSON_TYPE]: ...
|
77
|
+
def async_get_cached_service_description(hass: HomeAssistant, domain: str, service: str) -> dict[str, Any] | None: ...
|
77
78
|
async def async_get_all_descriptions(hass: HomeAssistant) -> dict[str, dict[str, Any]]: ...
|
78
79
|
def remove_entity_service_fields(call: ServiceCall) -> dict[Any, Any]: ...
|
79
80
|
def async_set_service_schema(hass: HomeAssistant, domain: str, service: str, schema: dict[str, Any]) -> None: ...
|
{homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.6.
|
3
|
+
Version: 2024.6.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
|
@@ -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.6.
|
19
|
+
Requires-Dist: homeassistant (==2024.6.0b9)
|
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
|
{homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/RECORD
RENAMED
@@ -156,7 +156,7 @@ homeassistant-stubs/components/airzone_cloud/water_heater.pyi,sha256=sVZJ49IcpYn
|
|
156
156
|
homeassistant-stubs/components/aladdin_connect/__init__.pyi,sha256=GaIFLQkq-CzaZcurn0GdxhNbbUPs7rgd1xMGK1cvOtA,1130
|
157
157
|
homeassistant-stubs/components/aladdin_connect/api.pyi,sha256=edlmKlN_K5aUh3zpLGMtspFsKO0yiDOmciOEHJI_2iY,455
|
158
158
|
homeassistant-stubs/components/aladdin_connect/application_credentials.pyi,sha256=gC5LevrYVBmGRf6YJuwIR4rPyphIk0ro8IvjoPQVjiI,343
|
159
|
-
homeassistant-stubs/components/aladdin_connect/config_flow.pyi,sha256=
|
159
|
+
homeassistant-stubs/components/aladdin_connect/config_flow.pyi,sha256=1Q9XGOhBTOE_-rAwKA747wjccME86laWppO_dE6F8jc,966
|
160
160
|
homeassistant-stubs/components/aladdin_connect/const.pyi,sha256=yF-smlszIn3m_AZNZksL2lIxZ1MHxtUdi3WkIwIr728,52
|
161
161
|
homeassistant-stubs/components/aladdin_connect/coordinator.pyi,sha256=N0UdEMe971BgY0c3QwZk3KV4vev4MffWSrkhrGMydq0,681
|
162
162
|
homeassistant-stubs/components/aladdin_connect/cover.pyi,sha256=42PIyedA_TiNBf6Im5e1g27qK5Q4AdZUr9Vi0Acs6rc,1352
|
@@ -1324,11 +1324,11 @@ homeassistant-stubs/components/husqvarna_automower/select.pyi,sha256=NJjPyK4rwqA
|
|
1324
1324
|
homeassistant-stubs/components/husqvarna_automower/sensor.pyi,sha256=yNAg-AeqbV7vSH9q0I6-NWbmvN73L1vpS_WeODJpZiE,2276
|
1325
1325
|
homeassistant-stubs/components/husqvarna_automower/switch.pyi,sha256=u5ZVg8ezdZvHZy5O4EJFkQmh5jKAxK8MDiFgWUtF3Hg,2338
|
1326
1326
|
homeassistant-stubs/components/hydrawise/__init__.pyi,sha256=t2yqEt3ccdEF7_WOKibmnLc4PESDvHVRHRDluCI91Wk,689
|
1327
|
-
homeassistant-stubs/components/hydrawise/binary_sensor.pyi,sha256=
|
1327
|
+
homeassistant-stubs/components/hydrawise/binary_sensor.pyi,sha256=Jmtfge0nOgMUONeJ2TxdN0UUR-ykO97CoEq1TbgCtA0,1824
|
1328
1328
|
homeassistant-stubs/components/hydrawise/config_flow.pyi,sha256=z9d8T9MlR9fHvsSXeono_2SpO1yVflvJTXRwqR_m50s,959
|
1329
1329
|
homeassistant-stubs/components/hydrawise/const.pyi,sha256=GByx0fyEBDoxGb0gPgO2-KgXfEUaRdAz8o-4iHdVhi0,230
|
1330
1330
|
homeassistant-stubs/components/hydrawise/coordinator.pyi,sha256=_zJ1QdjfN6p4qn5_ks7vk7RtpuI1KikC7Z7b4mypjWo,1045
|
1331
|
-
homeassistant-stubs/components/hydrawise/entity.pyi,sha256=
|
1331
|
+
homeassistant-stubs/components/hydrawise/entity.pyi,sha256=WXNnUobw9O-PWZndjscGtxgGOfZPNVfCAQtaQwD5XX4,1353
|
1332
1332
|
homeassistant-stubs/components/hydrawise/sensor.pyi,sha256=5Y-bFxX0YJpriBFBX14V1006hH4Xt7GbuL7oT2p0-UY,2423
|
1333
1333
|
homeassistant-stubs/components/hydrawise/switch.pyi,sha256=2330J0ZhxV2VqpYarlK823dL3m2DbWWtNAHmzmUVZ-E,1889
|
1334
1334
|
homeassistant-stubs/components/hyperion/__init__.pyi,sha256=uHHQZBah-0HVjfWu62lI54URzJ4yUsaMxfP9HyhqIa4,1947
|
@@ -1981,7 +1981,7 @@ homeassistant-stubs/components/no_ip/__init__.pyi,sha256=LEgsEXyJpLsJ5B6QgcMM9YJ
|
|
1981
1981
|
homeassistant-stubs/components/notify/__init__.pyi,sha256=tzN01rqffcZbuR5pejVr8CGppcItR1okkbGB4IzAV7Q,2904
|
1982
1982
|
homeassistant-stubs/components/notify/const.pyi,sha256=avQYneEncK6P1GLR7dVBEO4_3uGkpherb8g5cfjww8I,269
|
1983
1983
|
homeassistant-stubs/components/notify/legacy.pyi,sha256=Zt11m8JHr6ls3TblSY87cLAfPZdor11WaMQC7oIcSzA,3059
|
1984
|
-
homeassistant-stubs/components/notify/repairs.pyi,sha256=
|
1984
|
+
homeassistant-stubs/components/notify/repairs.pyi,sha256=usKMrC4DWGmm8BKZEvYKeGwFKEe3gTZeKoXIEmWd1UY,585
|
1985
1985
|
homeassistant-stubs/components/notion/__init__.pyi,sha256=QvswX1nrNN9_hC1wYMQjd1ih09XGPbDTZBKx7_OKNng,2685
|
1986
1986
|
homeassistant-stubs/components/notion/binary_sensor.pyi,sha256=1OhLt3BI3-X5h3PynK6HC9NYpy46Ba-Fm_siGewHfcc,1958
|
1987
1987
|
homeassistant-stubs/components/notion/config_flow.pyi,sha256=crcDBjEh0QBBLfGB0YIqZxt51EfBSVBrk14Z2t0hZVM,1504
|
@@ -3312,7 +3312,7 @@ homeassistant-stubs/helpers/intent.pyi,sha256=0BzG3LFc_yNkA9hRRKv8w4NGFJpzldSUCu
|
|
3312
3312
|
homeassistant-stubs/helpers/issue_registry.pyi,sha256=-nFO9SpW-rNL8DusXkjktFMFpN2PwdQpGPBQM36ecDo,4115
|
3313
3313
|
homeassistant-stubs/helpers/json.pyi,sha256=tCdDyP3NYTF3Jb6cASWYnepzie6YLlD0ikMPW7wevKQ,1452
|
3314
3314
|
homeassistant-stubs/helpers/label_registry.pyi,sha256=fDg71PDb5lXKPPZZ0c85retuA53X_YWvkdNlHW1tVI8,2846
|
3315
|
-
homeassistant-stubs/helpers/llm.pyi,sha256=
|
3315
|
+
homeassistant-stubs/helpers/llm.pyi,sha256=3ZhdnB48pJc88CDV9NCFxm1FPUcU-Y_-78wFNh_Mt40,3820
|
3316
3316
|
homeassistant-stubs/helpers/location.pyi,sha256=ynZlBZv3LuyphX4B28y2n2V4IHtJ6ETkUnqOlSYM1FM,655
|
3317
3317
|
homeassistant-stubs/helpers/network.pyi,sha256=34Qq5-Y8aevzqp_21b7L2Woqn-8dOunSTm7uML0_ty0,1773
|
3318
3318
|
homeassistant-stubs/helpers/normalized_name_base_registry.pyi,sha256=LoqQgtUt36e2EvYZisNHOydbZWGIRRSsuGNA01agMVg,704
|
@@ -3327,7 +3327,7 @@ homeassistant-stubs/helpers/script.pyi,sha256=-4WtmNRtnmQQkc6iErTPcfNYmUHO7DO8aH
|
|
3327
3327
|
homeassistant-stubs/helpers/script_variables.pyi,sha256=oH8USW9PDMHyCACqINIUIm2ZQENbHSyRN37dhgXD_08,570
|
3328
3328
|
homeassistant-stubs/helpers/selector.pyi,sha256=tgenOojSkRCEJGQ-G1DjSz3ueOBa1lW0Ajo9uavl_Ck,14996
|
3329
3329
|
homeassistant-stubs/helpers/sensor.pyi,sha256=lElWOartDwgLVi4vvGlqHFEJ8u25O_PiiEUOSo-CQOg,263
|
3330
|
-
homeassistant-stubs/helpers/service.pyi,sha256=
|
3330
|
+
homeassistant-stubs/helpers/service.pyi,sha256=90E0V_RL-8rf1ZTQHlQcqySjdqeoNf-_2mbuHcCOL9I,7141
|
3331
3331
|
homeassistant-stubs/helpers/service_info/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3332
3332
|
homeassistant-stubs/helpers/service_info/bluetooth.pyi,sha256=kHDeoPorAhi-bJvJ_O--xHFnFE6U4JswHm44saDXqHg,118
|
3333
3333
|
homeassistant-stubs/helpers/service_info/mqtt.pyi,sha256=P5KXm7ljA6pixaEQo3CEim_NSjQyetHVPH3V3RhLHkE,458
|
@@ -3398,7 +3398,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3398
3398
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3399
3399
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=RTT2312P0TB9bA-rj3xdQK_J6sqVQE4LBJozgLH3oao,4621
|
3400
3400
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3401
|
-
homeassistant_stubs-2024.6.
|
3402
|
-
homeassistant_stubs-2024.6.
|
3403
|
-
homeassistant_stubs-2024.6.
|
3404
|
-
homeassistant_stubs-2024.6.
|
3401
|
+
homeassistant_stubs-2024.6.0b9.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3402
|
+
homeassistant_stubs-2024.6.0b9.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3403
|
+
homeassistant_stubs-2024.6.0b9.dist-info/METADATA,sha256=9zH0Uhs2bNgH4Sv6gTxXayWlD0gEOD7E3665rNylfaE,3015
|
3404
|
+
homeassistant_stubs-2024.6.0b9.dist-info/RECORD,,
|
{homeassistant_stubs-2024.6.0b7.dist-info → homeassistant_stubs-2024.6.0b9.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|