homeassistant-stubs 2024.7.0b7__py3-none-any.whl → 2024.7.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/bootstrap.pyi +4 -3
- homeassistant-stubs/components/aladdin_connect/__init__.pyi +4 -13
- homeassistant-stubs/components/aladdin_connect/config_flow.pyi +3 -16
- homeassistant-stubs/components/esphome/update.pyi +1 -0
- homeassistant-stubs/components/matter/fan.pyi +2 -2
- homeassistant-stubs/components/tplink/entity.pyi +1 -1
- homeassistant-stubs/components/tplink/light.pyi +1 -0
- homeassistant-stubs/components/tplink/sensor.pyi +0 -3
- homeassistant-stubs/components/tplink/switch.pyi +0 -3
- {homeassistant_stubs-2024.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/RECORD +13 -20
- homeassistant-stubs/components/aladdin_connect/api.pyi +0 -11
- homeassistant-stubs/components/aladdin_connect/application_credentials.pyi +0 -5
- homeassistant-stubs/components/aladdin_connect/const.pyi +0 -3
- homeassistant-stubs/components/aladdin_connect/coordinator.pyi +0 -13
- homeassistant-stubs/components/aladdin_connect/cover.pyi +0 -24
- homeassistant-stubs/components/aladdin_connect/entity.pyi +0 -11
- homeassistant-stubs/components/aladdin_connect/sensor.pyi +0 -25
- {homeassistant_stubs-2024.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/WHEEL +0 -0
@@ -1,5 +1,4 @@
|
|
1
1
|
import logging
|
2
|
-
import logging.handlers
|
3
2
|
from . import block_async_io as block_async_io, config_entries as config_entries, core as core, loader as loader, requirements as requirements
|
4
3
|
from .components import http as http
|
5
4
|
from .const import BASE_PLATFORMS as BASE_PLATFORMS, FORMAT_DATETIME as FORMAT_DATETIME, REQUIRED_NEXT_PYTHON_HA_RELEASE as REQUIRED_NEXT_PYTHON_HA_RELEASE, REQUIRED_NEXT_PYTHON_VER as REQUIRED_NEXT_PYTHON_VER, SIGNAL_BOOTSTRAP_INTEGRATIONS as SIGNAL_BOOTSTRAP_INTEGRATIONS
|
@@ -17,6 +16,7 @@ from .util.logging import async_activate_log_queue_handler as async_activate_log
|
|
17
16
|
from .util.package import async_get_user_site as async_get_user_site, is_virtual_env as is_virtual_env
|
18
17
|
from _typeshed import Incomplete
|
19
18
|
from anyio._backends import _asyncio as _asyncio
|
19
|
+
from logging.handlers import RotatingFileHandler, TimedRotatingFileHandler
|
20
20
|
from typing import Any
|
21
21
|
|
22
22
|
_LOGGER: Incomplete
|
@@ -48,9 +48,10 @@ def open_hass_ui(hass: core.HomeAssistant) -> None: ...
|
|
48
48
|
def _init_blocking_io_modules_in_executor() -> None: ...
|
49
49
|
async def async_load_base_functionality(hass: core.HomeAssistant) -> None: ...
|
50
50
|
async def async_from_config_dict(config: ConfigType, hass: core.HomeAssistant) -> core.HomeAssistant | None: ...
|
51
|
-
def async_enable_logging(hass: core.HomeAssistant, verbose: bool = False, log_rotate_days: int | None = None, log_file: str | None = None, log_no_color: bool = False) -> None: ...
|
51
|
+
async def async_enable_logging(hass: core.HomeAssistant, verbose: bool = False, log_rotate_days: int | None = None, log_file: str | None = None, log_no_color: bool = False) -> None: ...
|
52
|
+
def _create_log_file(err_log_path: str, log_rotate_days: int | None) -> RotatingFileHandler | TimedRotatingFileHandler: ...
|
52
53
|
|
53
|
-
class _RotatingFileHandlerWithoutShouldRollOver(
|
54
|
+
class _RotatingFileHandlerWithoutShouldRollOver(RotatingFileHandler):
|
54
55
|
def shouldRollover(self, record: logging.LogRecord) -> bool: ...
|
55
56
|
|
56
57
|
async def async_mount_local_lib_path(config_dir: str) -> str: ...
|
@@ -1,16 +1,7 @@
|
|
1
|
-
from .
|
2
|
-
from .const import DOMAIN as DOMAIN
|
3
|
-
from .coordinator import AladdinConnectCoordinator as AladdinConnectCoordinator
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
|
-
from homeassistant.const import Platform as Platform
|
1
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
|
6
2
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
-
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
|
-
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2Session as OAuth2Session, async_get_config_entry_implementation as async_get_config_entry_implementation
|
9
3
|
|
10
|
-
|
11
|
-
AladdinConnectConfigEntry = ConfigEntry[AladdinConnectCoordinator]
|
4
|
+
DOMAIN: str
|
12
5
|
|
13
|
-
async def async_setup_entry(hass: HomeAssistant,
|
14
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
15
|
-
async def async_migrate_entry(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry) -> bool: ...
|
16
|
-
def async_remove_stale_devices(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry) -> None: ...
|
6
|
+
async def async_setup_entry(hass: HomeAssistant, _: ConfigEntry) -> bool: ...
|
7
|
+
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -1,18 +1,5 @@
|
|
1
|
-
import
|
2
|
-
from .
|
3
|
-
from collections.abc import Mapping
|
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
|
6
|
-
from homeassistant.helpers.config_entry_oauth2_flow import AbstractOAuth2FlowHandler as AbstractOAuth2FlowHandler
|
7
|
-
from typing import Any
|
1
|
+
from . import DOMAIN as DOMAIN
|
2
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow
|
8
3
|
|
9
|
-
class
|
10
|
-
DOMAIN = DOMAIN
|
4
|
+
class AladdinConnectConfigFlow(ConfigFlow, domain=DOMAIN):
|
11
5
|
VERSION: int
|
12
|
-
MINOR_VERSION: int
|
13
|
-
reauth_entry: ConfigEntry | None
|
14
|
-
async def async_step_reauth(self, user_input: Mapping[str, Any]) -> ConfigFlowResult: ...
|
15
|
-
async def async_step_reauth_confirm(self, user_input: Mapping[str, Any] | None = None) -> ConfigFlowResult: ...
|
16
|
-
async def async_oauth_create_entry(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
17
|
-
@property
|
18
|
-
def logger(self) -> logging.Logger: ...
|
@@ -26,6 +26,7 @@ class ESPHomeDashboardUpdateEntity(CoordinatorEntity[ESPHomeDashboardCoordinator
|
|
26
26
|
_attr_title: str
|
27
27
|
_attr_name: str
|
28
28
|
_attr_release_url: str
|
29
|
+
_attr_entity_registry_enabled_default: bool
|
29
30
|
_entry_data: Incomplete
|
30
31
|
_attr_unique_id: Incomplete
|
31
32
|
_attr_device_info: Incomplete
|
@@ -32,10 +32,10 @@ class MatterFan(MatterEntity, FanEntity):
|
|
32
32
|
async def async_oscillate(self, oscillating: bool) -> None: ...
|
33
33
|
async def async_set_direction(self, direction: str) -> None: ...
|
34
34
|
async def _set_wind_mode(self, wind_mode: str | None) -> None: ...
|
35
|
+
_attr_preset_mode: Incomplete
|
36
|
+
_attr_percentage: int
|
35
37
|
_attr_current_direction: Incomplete
|
36
38
|
_attr_oscillating: Incomplete
|
37
|
-
_attr_percentage: Incomplete
|
38
|
-
_attr_preset_mode: Incomplete
|
39
39
|
def _update_from_device(self) -> None: ...
|
40
40
|
_attr_speed_count: Incomplete
|
41
41
|
_attr_preset_modes: Incomplete
|
@@ -19,6 +19,7 @@ from typing import Any, Concatenate
|
|
19
19
|
_LOGGER: Incomplete
|
20
20
|
FEATURE_CATEGORY_TO_ENTITY_CATEGORY: Incomplete
|
21
21
|
DEVICETYPES_WITH_SPECIALIZED_PLATFORMS: Incomplete
|
22
|
+
FEATURES_ALLOW_LIST: Incomplete
|
22
23
|
EXCLUDED_FEATURES: Incomplete
|
23
24
|
LEGACY_KEY_MAPPING: Incomplete
|
24
25
|
|
@@ -36,7 +37,6 @@ class CoordinatedTPLinkEntity(CoordinatorEntity[TPLinkDataUpdateCoordinator], AB
|
|
36
37
|
_attr_unique_id: Incomplete
|
37
38
|
def __init__(self, device: Device, coordinator: TPLinkDataUpdateCoordinator, *, feature: Feature | None = None, parent: Device | None = None) -> None: ...
|
38
39
|
def _get_unique_id(self) -> str: ...
|
39
|
-
async def async_added_to_hass(self) -> None: ...
|
40
40
|
@abstractmethod
|
41
41
|
def _async_update_attrs(self) -> None: ...
|
42
42
|
_attr_available: bool
|
@@ -57,6 +57,7 @@ class TPLinkLightEffectEntity(TPLinkLightEntity):
|
|
57
57
|
def __init__(self, device: Device, coordinator: TPLinkDataUpdateCoordinator, *, light_module: Light, effect_module: LightEffect) -> None: ...
|
58
58
|
_attr_supported_features: Incomplete
|
59
59
|
_attr_effect: Incomplete
|
60
|
+
_attr_color_mode: Incomplete
|
60
61
|
_attr_effect_list: Incomplete
|
61
62
|
def _async_update_attrs(self) -> None: ...
|
62
63
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
@@ -1,13 +1,11 @@
|
|
1
1
|
from . import TPLinkConfigEntry as TPLinkConfigEntry
|
2
2
|
from .const import UNIT_MAPPING as UNIT_MAPPING
|
3
|
-
from .coordinator import TPLinkDataUpdateCoordinator as TPLinkDataUpdateCoordinator
|
4
3
|
from .entity import CoordinatedTPLinkFeatureEntity as CoordinatedTPLinkFeatureEntity, TPLinkFeatureEntityDescription as TPLinkFeatureEntityDescription
|
5
4
|
from _typeshed import Incomplete
|
6
5
|
from dataclasses import dataclass
|
7
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
8
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
9
8
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
from kasa import Device as Device, Feature
|
11
9
|
|
12
10
|
@dataclass(frozen=True, kw_only=True)
|
13
11
|
class TPLinkSensorEntityDescription(SensorEntityDescription, TPLinkFeatureEntityDescription):
|
@@ -20,7 +18,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: TPLinkConfigEntry
|
|
20
18
|
|
21
19
|
class TPLinkSensorEntity(CoordinatedTPLinkFeatureEntity, SensorEntity):
|
22
20
|
entity_description: TPLinkSensorEntityDescription
|
23
|
-
def __init__(self, device: Device, coordinator: TPLinkDataUpdateCoordinator, *, feature: Feature, description: TPLinkSensorEntityDescription, parent: Device | None = None) -> None: ...
|
24
21
|
_attr_suggested_display_precision: Incomplete
|
25
22
|
_attr_native_value: Incomplete
|
26
23
|
_attr_native_unit_of_measurement: Incomplete
|
@@ -1,12 +1,10 @@
|
|
1
1
|
from . import TPLinkConfigEntry as TPLinkConfigEntry
|
2
|
-
from .coordinator import TPLinkDataUpdateCoordinator as TPLinkDataUpdateCoordinator
|
3
2
|
from .entity import CoordinatedTPLinkFeatureEntity as CoordinatedTPLinkFeatureEntity, TPLinkFeatureEntityDescription as TPLinkFeatureEntityDescription, async_refresh_after as async_refresh_after
|
4
3
|
from _typeshed import Incomplete
|
5
4
|
from dataclasses import dataclass
|
6
5
|
from homeassistant.components.switch import SwitchEntity as SwitchEntity, SwitchEntityDescription as SwitchEntityDescription
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
7
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
9
|
-
from kasa import Device as Device, Feature
|
10
8
|
from typing import Any
|
11
9
|
|
12
10
|
_LOGGER: Incomplete
|
@@ -22,7 +20,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: TPLinkConfigEntry
|
|
22
20
|
|
23
21
|
class TPLinkSwitch(CoordinatedTPLinkFeatureEntity, SwitchEntity):
|
24
22
|
entity_description: TPLinkSwitchEntityDescription
|
25
|
-
def __init__(self, device: Device, coordinator: TPLinkDataUpdateCoordinator, *, feature: Feature, description: TPLinkSwitchEntityDescription, parent: Device | None = None) -> None: ...
|
26
23
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
27
24
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
28
25
|
_attr_is_on: Incomplete
|
{homeassistant_stubs-2024.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.7.
|
3
|
+
Version: 2024.7.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
|
@@ -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.7.
|
19
|
+
Requires-Dist: homeassistant (==2024.7.0b8)
|
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.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/RECORD
RENAMED
@@ -27,7 +27,7 @@ homeassistant-stubs/backports/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
27
27
|
homeassistant-stubs/backports/enum.pyi,sha256=xkDSG4CMuB2Nt6p41ZMn6ZoOadNZyKka7T6ypp01zn4,401
|
28
28
|
homeassistant-stubs/backports/functools.pyi,sha256=CO-_1EQxS7z-7Klaxc_O6RqCgj00vSRrFlRQKuu2v9A,409
|
29
29
|
homeassistant-stubs/block_async_io.pyi,sha256=mNk9ihGoyoMbmZ2M89yUe9u_L4f38JVvWO_D8OC7iEI,1106
|
30
|
-
homeassistant-stubs/bootstrap.pyi,sha256=
|
30
|
+
homeassistant-stubs/bootstrap.pyi,sha256=P7dSvqfqgVdqcEanFwUeiIqQneyMrl6Z7I6bbIg1Rzw,4689
|
31
31
|
homeassistant-stubs/components/__init__.pyi,sha256=q2bLPZGVleGG6Ui44GnodCQXtIqeQaHR5KABVOnNwb4,363
|
32
32
|
homeassistant-stubs/components/abode/__init__.pyi,sha256=271Mbhu9kOoYq8wa6BnUdlzCkpqxbm9EDf-Xx6uWWFM,2064
|
33
33
|
homeassistant-stubs/components/abode/alarm_control_panel.pyi,sha256=3oVtDqHkuuWgMgg1hXRd6WXGWRW8vLRjj1d_LTow90c,1413
|
@@ -154,15 +154,8 @@ homeassistant-stubs/components/airzone_cloud/entity.pyi,sha256=hRXbf-Bo-hCiH5xZS
|
|
154
154
|
homeassistant-stubs/components/airzone_cloud/select.pyi,sha256=lULx37Jhd50IukjLHW7lHFW5ZrJZZQvatSkEKExNp30,2108
|
155
155
|
homeassistant-stubs/components/airzone_cloud/sensor.pyi,sha256=zt7Asts0nuzMpxthwEAH6IYNFnKY4y_ri1t3y3THM9U,2463
|
156
156
|
homeassistant-stubs/components/airzone_cloud/water_heater.pyi,sha256=FsOx4orwtX0D01jKdrqBYfH9TBVSvvBQXZkmch8lJfM,2012
|
157
|
-
homeassistant-stubs/components/aladdin_connect/__init__.pyi,sha256=
|
158
|
-
homeassistant-stubs/components/aladdin_connect/
|
159
|
-
homeassistant-stubs/components/aladdin_connect/application_credentials.pyi,sha256=gC5LevrYVBmGRf6YJuwIR4rPyphIk0ro8IvjoPQVjiI,343
|
160
|
-
homeassistant-stubs/components/aladdin_connect/config_flow.pyi,sha256=1Q9XGOhBTOE_-rAwKA747wjccME86laWppO_dE6F8jc,966
|
161
|
-
homeassistant-stubs/components/aladdin_connect/const.pyi,sha256=yF-smlszIn3m_AZNZksL2lIxZ1MHxtUdi3WkIwIr728,52
|
162
|
-
homeassistant-stubs/components/aladdin_connect/coordinator.pyi,sha256=ekmDbZFsg-dpfws6s1J6Z8GmDb89Y46t5F-yal7mtxQ,538
|
163
|
-
homeassistant-stubs/components/aladdin_connect/cover.pyi,sha256=luqIincao5KES9deAkc4d9v1NckbgsU0D-Ss8OCboxg,1291
|
164
|
-
homeassistant-stubs/components/aladdin_connect/entity.pyi,sha256=8rxvKozXySh9SFTj6wIHwxfsWvKPfyOaUdrF2zpM6EE,577
|
165
|
-
homeassistant-stubs/components/aladdin_connect/sensor.pyi,sha256=8Z10QXK97lQzHF-ivKa-wZEaf5-8VxQHq9Ox0-70sSQ,1804
|
157
|
+
homeassistant-stubs/components/aladdin_connect/__init__.pyi,sha256=hf2OGrtWJSXHT-EbCo33wKf2FtHdzc0tXkD1s4VvQG4,343
|
158
|
+
homeassistant-stubs/components/aladdin_connect/config_flow.pyi,sha256=l2dmGJ7w2Phisi7eEkI--MCz1yLojokWXiJ8Rb_iEG0,174
|
166
159
|
homeassistant-stubs/components/alarm_control_panel/__init__.pyi,sha256=HAy4eBu6DrLXpxnVKZUIpN2lSCugSpjy2XEICJMyxY4,5762
|
167
160
|
homeassistant-stubs/components/alarm_control_panel/const.pyi,sha256=qQ67ccTCIwoc1Q2MO7e1Fk6E7oSXyo4Ch3cDhYsXchM,1420
|
168
161
|
homeassistant-stubs/components/alarm_control_panel/device_action.pyi,sha256=MBMRM5J6rpIKfySyJtvzcsA8jt8glz60oPpZqk0eCNY,1695
|
@@ -939,7 +932,7 @@ homeassistant-stubs/components/esphome/sensor.pyi,sha256=2QeRoHVnJTCN3z16AtuzeF5
|
|
939
932
|
homeassistant-stubs/components/esphome/switch.pyi,sha256=S07GasrfFp8vM4l0EulKRAmqrtgFLxT7mCfM5DVhTKQ,1015
|
940
933
|
homeassistant-stubs/components/esphome/text.pyi,sha256=8gIzeCItqj-2XHqvZWUpOVVajpdfRGSKKeBbY4h3cjM,1032
|
941
934
|
homeassistant-stubs/components/esphome/time.pyi,sha256=BcQ6KjXViXdiQN7F3YOL5Y4fRaDO4qiM95pCtbsGMcY,553
|
942
|
-
homeassistant-stubs/components/esphome/update.pyi,sha256=
|
935
|
+
homeassistant-stubs/components/esphome/update.pyi,sha256=10jjSn07maAchq4Dvg6e-v2QrEPeYRoADGOktR2Y5BY,3318
|
943
936
|
homeassistant-stubs/components/esphome/valve.pyi,sha256=r7BEA77eFbPZHGX9GgYI9GKk64G-W9Hd7UdJm6hRiEg,1443
|
944
937
|
homeassistant-stubs/components/esphome/voice_assistant.pyi,sha256=tJVzX9rSDXsJQh5_ldLNxfoG6nzRPBIiX9tTY36dpX0,3780
|
945
938
|
homeassistant-stubs/components/event/__init__.pyi,sha256=cLTAQmoR_UR-M4jMuTl4nzOfKC3Hw_4PBlWrljxyyRE,2656
|
@@ -1715,7 +1708,7 @@ homeassistant-stubs/components/matter/diagnostics.pyi,sha256=euUs7WTbEugSNJfeH2o
|
|
1715
1708
|
homeassistant-stubs/components/matter/discovery.pyi,sha256=WUxJqMNNma4zh4fojva69yFLeOG9bSybvJuA7abDhvo,699
|
1716
1709
|
homeassistant-stubs/components/matter/entity.pyi,sha256=AoTS8xdFLw_2m2lbCjblb__f7NXZGb6ULHsEgjK6VWs,2541
|
1717
1710
|
homeassistant-stubs/components/matter/event.pyi,sha256=wnxrxLnP8uL8isN-5JuKebuTKttyMZeGkLhkxW5wiUM,1317
|
1718
|
-
homeassistant-stubs/components/matter/fan.pyi,sha256=
|
1711
|
+
homeassistant-stubs/components/matter/fan.pyi,sha256=n0AuhMyR9xYizsJHmfqbrzvk9rhAHmVKeJosdPtJEp0,2087
|
1719
1712
|
homeassistant-stubs/components/matter/helpers.pyi,sha256=ns3ORR-onyPHBniSiwvs7Gu0o7lpeRxBE4bhJzmnRgo,1208
|
1720
1713
|
homeassistant-stubs/components/matter/light.pyi,sha256=Qwd93LG7IdhnnCoDxkF2eKJ-1f8-Nuu5JpDuIWAIZ2w,2829
|
1721
1714
|
homeassistant-stubs/components/matter/lock.pyi,sha256=ckrG8DNPAym_br9fXeoXre7Cu77v6BrFEn4Zg43d9xM,1761
|
@@ -2888,14 +2881,14 @@ homeassistant-stubs/components/tplink/config_flow.pyi,sha256=gDowqlNP4xg8_zoQJhN
|
|
2888
2881
|
homeassistant-stubs/components/tplink/const.pyi,sha256=zkoaSVwHL77PZgEoVWy_zVvRTB44IGvO7usaoHEUluc,510
|
2889
2882
|
homeassistant-stubs/components/tplink/coordinator.pyi,sha256=mWT8dNcTFM1HBGRJTm5z91ej7VaIoYfBksjOuOySlIw,835
|
2890
2883
|
homeassistant-stubs/components/tplink/diagnostics.pyi,sha256=DeZAwYKgyNzK6KIlHhdSsSmm83325gP311t5eo7VYEk,473
|
2891
|
-
homeassistant-stubs/components/tplink/entity.pyi,sha256=
|
2884
|
+
homeassistant-stubs/components/tplink/entity.pyi,sha256=Fv89aZoFRYIpQlUD4NzUDGY5sbI2YTsdGXINArVCdEE,3857
|
2892
2885
|
homeassistant-stubs/components/tplink/fan.pyi,sha256=kl09pU0J8rEE2OP3Rc9pEyGSR2YSzHCEKZTAShWXGFk,1797
|
2893
|
-
homeassistant-stubs/components/tplink/light.pyi,sha256
|
2886
|
+
homeassistant-stubs/components/tplink/light.pyi,sha256=iZXLJwCRX5YKK5iMDruv4HWPiP7eXMIe-Yura2behB0,4255
|
2894
2887
|
homeassistant-stubs/components/tplink/models.pyi,sha256=OrY0kxIlxdyemHc8gUpkLHoKizDcWnHvpTIp0TYLJjQ,352
|
2895
2888
|
homeassistant-stubs/components/tplink/number.pyi,sha256=ZCzeAnVsQIXw05Sq46_IpQv7Bh-q6Xj_xCXThp_0imY,1972
|
2896
2889
|
homeassistant-stubs/components/tplink/select.pyi,sha256=M913p06yvyYUQbet2gWXn1i8rbVMefa84SyEiGyyYxI,1845
|
2897
|
-
homeassistant-stubs/components/tplink/sensor.pyi,sha256=
|
2898
|
-
homeassistant-stubs/components/tplink/switch.pyi,sha256=
|
2890
|
+
homeassistant-stubs/components/tplink/sensor.pyi,sha256=fEJSdsJRmNeSuZ0WvnJtzHBuVnu2O0qRz9AAVzWewYU,1747
|
2891
|
+
homeassistant-stubs/components/tplink/switch.pyi,sha256=Z2AtTFjPi9v2DLuKON7PrSSr6UJb-TUO6_l3lsDs7GM,1600
|
2899
2892
|
homeassistant-stubs/components/tplink_omada/__init__.pyi,sha256=xvIRjC1GEQ7IF99WHQGyFXPtr1n_Q5WrNVqrtOm_WoM,699
|
2900
2893
|
homeassistant-stubs/components/tplink_omada/binary_sensor.pyi,sha256=xioKAnLiGM25Jeyvc29lNEKofeQNzlepZ2tntAgVZcs,2319
|
2901
2894
|
homeassistant-stubs/components/tplink_omada/config_flow.pyi,sha256=xmrEV4t06MCN6eHpbrXaaVm8eZbfaA4iod8rcZKpEAk,1832
|
@@ -3438,7 +3431,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3438
3431
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3439
3432
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=RTT2312P0TB9bA-rj3xdQK_J6sqVQE4LBJozgLH3oao,4621
|
3440
3433
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3441
|
-
homeassistant_stubs-2024.7.
|
3442
|
-
homeassistant_stubs-2024.7.
|
3443
|
-
homeassistant_stubs-2024.7.
|
3444
|
-
homeassistant_stubs-2024.7.
|
3434
|
+
homeassistant_stubs-2024.7.0b8.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3435
|
+
homeassistant_stubs-2024.7.0b8.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3436
|
+
homeassistant_stubs-2024.7.0b8.dist-info/METADATA,sha256=gEeRIoXTA32Tk2cGKhKdK3JfBDSIfermz50QNkm1X3Q,3015
|
3437
|
+
homeassistant_stubs-2024.7.0b8.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
from _typeshed import Incomplete
|
2
|
-
from aiohttp import ClientSession as ClientSession
|
3
|
-
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2Session as OAuth2Session
|
4
|
-
|
5
|
-
API_URL: str
|
6
|
-
API_KEY: str
|
7
|
-
|
8
|
-
class AsyncConfigEntryAuth(Auth):
|
9
|
-
_oauth_session: Incomplete
|
10
|
-
def __init__(self, websession: ClientSession, oauth_session: OAuth2Session) -> None: ...
|
11
|
-
async def async_get_access_token(self) -> str: ...
|
@@ -1,5 +0,0 @@
|
|
1
|
-
from .const import OAUTH2_AUTHORIZE as OAUTH2_AUTHORIZE, OAUTH2_TOKEN as OAUTH2_TOKEN
|
2
|
-
from homeassistant.components.application_credentials import AuthorizationServer as AuthorizationServer
|
3
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
-
|
5
|
-
async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: ...
|
@@ -1,13 +0,0 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
|
-
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
5
|
-
|
6
|
-
_LOGGER: Incomplete
|
7
|
-
|
8
|
-
class AladdinConnectCoordinator(DataUpdateCoordinator[None]):
|
9
|
-
acc: Incomplete
|
10
|
-
doors: Incomplete
|
11
|
-
def __init__(self, hass: HomeAssistant, acc: AladdinConnectClient) -> None: ...
|
12
|
-
async def async_setup(self) -> None: ...
|
13
|
-
async def _async_update_data(self) -> None: ...
|
@@ -1,24 +0,0 @@
|
|
1
|
-
from . import AladdinConnectConfigEntry as AladdinConnectConfigEntry, AladdinConnectCoordinator as AladdinConnectCoordinator
|
2
|
-
from .entity import AladdinConnectEntity as AladdinConnectEntity
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity, CoverEntityFeature as CoverEntityFeature
|
5
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
7
|
-
from typing import Any
|
8
|
-
|
9
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
10
|
-
|
11
|
-
class AladdinDevice(AladdinConnectEntity, CoverEntity):
|
12
|
-
_attr_device_class: Incomplete
|
13
|
-
_attr_supported_features: Incomplete
|
14
|
-
_attr_name: Incomplete
|
15
|
-
_attr_unique_id: Incomplete
|
16
|
-
def __init__(self, coordinator: AladdinConnectCoordinator, device: GarageDoor) -> None: ...
|
17
|
-
async def async_open_cover(self, **kwargs: Any) -> None: ...
|
18
|
-
async def async_close_cover(self, **kwargs: Any) -> None: ...
|
19
|
-
@property
|
20
|
-
def is_closed(self) -> bool | None: ...
|
21
|
-
@property
|
22
|
-
def is_closing(self) -> bool | None: ...
|
23
|
-
@property
|
24
|
-
def is_opening(self) -> bool | None: ...
|
@@ -1,11 +0,0 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN
|
2
|
-
from .coordinator import AladdinConnectCoordinator as AladdinConnectCoordinator
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
5
|
-
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
6
|
-
|
7
|
-
class AladdinConnectEntity(CoordinatorEntity[AladdinConnectCoordinator]):
|
8
|
-
_attr_has_entity_name: bool
|
9
|
-
_device: Incomplete
|
10
|
-
_attr_device_info: Incomplete
|
11
|
-
def __init__(self, coordinator: AladdinConnectCoordinator, device: GarageDoor) -> None: ...
|
@@ -1,25 +0,0 @@
|
|
1
|
-
from . import AladdinConnectConfigEntry as AladdinConnectConfigEntry, AladdinConnectCoordinator as AladdinConnectCoordinator
|
2
|
-
from .entity import AladdinConnectEntity as AladdinConnectEntity
|
3
|
-
from _typeshed import Incomplete
|
4
|
-
from collections.abc import Callable as Callable
|
5
|
-
from dataclasses import dataclass
|
6
|
-
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
7
|
-
from homeassistant.const import PERCENTAGE as PERCENTAGE
|
8
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
|
-
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
10
|
-
|
11
|
-
@dataclass(frozen=True, kw_only=True)
|
12
|
-
class AccSensorEntityDescription(SensorEntityDescription):
|
13
|
-
value_fn: Callable[[AladdinConnectClient, str, int], float | None]
|
14
|
-
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, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value_fn) -> None: ...
|
15
|
-
|
16
|
-
SENSORS: tuple[AccSensorEntityDescription, ...]
|
17
|
-
|
18
|
-
async def async_setup_entry(hass: HomeAssistant, entry: AladdinConnectConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
19
|
-
|
20
|
-
class AladdinConnectSensor(AladdinConnectEntity, SensorEntity):
|
21
|
-
entity_description: AccSensorEntityDescription
|
22
|
-
_attr_unique_id: Incomplete
|
23
|
-
def __init__(self, coordinator: AladdinConnectCoordinator, device: GarageDoor, description: AccSensorEntityDescription) -> None: ...
|
24
|
-
@property
|
25
|
-
def native_value(self) -> float | None: ...
|
{homeassistant_stubs-2024.7.0b7.dist-info → homeassistant_stubs-2024.7.0b8.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|