homeassistant-stubs 2024.9.0b3__py3-none-any.whl → 2024.9.0b5__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/linkplay/__init__.pyi +5 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +5 -1
- homeassistant-stubs/components/linkplay/const.pyi +1 -0
- homeassistant-stubs/components/linkplay/utils.pyi +5 -0
- homeassistant-stubs/components/nest/__init__.pyi +2 -1
- homeassistant-stubs/components/ring/config_flow.pyi +1 -0
- {homeassistant_stubs-2024.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.dist-info}/RECORD +10 -10
- {homeassistant_stubs-2024.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.dist-info}/WHEEL +0 -0
@@ -1,13 +1,17 @@
|
|
1
1
|
from .const import PLATFORMS as PLATFORMS
|
2
|
+
from .utils import async_get_client_session as async_get_client_session
|
3
|
+
from aiohttp import ClientSession as ClientSession
|
4
|
+
from dataclasses import dataclass
|
2
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
6
|
from homeassistant.const import CONF_HOST as CONF_HOST
|
4
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
8
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
6
|
-
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
9
|
from linkplay.bridge import LinkPlayBridge as LinkPlayBridge
|
8
10
|
|
11
|
+
@dataclass
|
9
12
|
class LinkPlayData:
|
10
13
|
bridge: LinkPlayBridge
|
14
|
+
def __init__(self, bridge) -> None: ...
|
11
15
|
LinkPlayConfigEntry = ConfigEntry[LinkPlayData]
|
12
16
|
|
13
17
|
async def async_setup_entry(hass: HomeAssistant, entry: LinkPlayConfigEntry) -> bool: ...
|
@@ -1,11 +1,15 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
+
from .utils import async_get_client_session as async_get_client_session
|
2
3
|
from _typeshed import Incomplete
|
4
|
+
from aiohttp import ClientSession as ClientSession
|
3
5
|
from homeassistant.components import zeroconf as zeroconf
|
4
6
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
7
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MODEL as CONF_MODEL
|
6
|
-
from
|
8
|
+
from linkplay.bridge import LinkPlayBridge as LinkPlayBridge
|
7
9
|
from typing import Any
|
8
10
|
|
11
|
+
_LOGGER: Incomplete
|
12
|
+
|
9
13
|
class LinkPlayConfigFlow(ConfigFlow, domain=DOMAIN):
|
10
14
|
data: Incomplete
|
11
15
|
def __init__(self) -> None: ...
|
@@ -1,3 +1,7 @@
|
|
1
|
+
from .const import CONF_SESSION as CONF_SESSION, DOMAIN as DOMAIN
|
2
|
+
from aiohttp import ClientSession as ClientSession
|
3
|
+
from homeassistant.const import EVENT_HOMEASSISTANT_CLOSE as EVENT_HOMEASSISTANT_CLOSE
|
4
|
+
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
1
5
|
from typing import Final
|
2
6
|
|
3
7
|
MANUFACTURER_ARTSOUND: Final[str]
|
@@ -17,3 +21,4 @@ MODELS_IEAST_AUDIOCAST_M5: Final[str]
|
|
17
21
|
MODELS_GENERIC: Final[str]
|
18
22
|
|
19
23
|
def get_info_from_project(project: str) -> tuple[str, str]: ...
|
24
|
+
async def async_get_client_session(hass: HomeAssistant) -> ClientSession: ...
|
@@ -10,6 +10,7 @@ from collections.abc import Awaitable, Callable as Callable
|
|
10
10
|
from google_nest_sdm.device import Device as Device
|
11
11
|
from google_nest_sdm.event import EventMessage as EventMessage
|
12
12
|
from google_nest_sdm.event_media import Media as Media
|
13
|
+
from google_nest_sdm.traits import TraitType
|
13
14
|
from homeassistant.auth.permissions.const import POLICY_READ as POLICY_READ
|
14
15
|
from homeassistant.components.camera import Image as Image, img_util as img_util
|
15
16
|
from homeassistant.components.http import KEY_HASS_USER as KEY_HASS_USER
|
@@ -37,7 +38,7 @@ class SignalUpdateCallback:
|
|
37
38
|
_config_entry_id: Incomplete
|
38
39
|
def __init__(self, hass: HomeAssistant, config_reload_cb: Callable[[], Awaitable[None]], config_entry_id: str) -> None: ...
|
39
40
|
async def async_handle_event(self, event_message: EventMessage) -> None: ...
|
40
|
-
def
|
41
|
+
def _supported_traits(self, device_id: str) -> list[TraitType]: ...
|
41
42
|
|
42
43
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
43
44
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -5,6 +5,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow
|
|
5
5
|
from homeassistant.const import APPLICATION_NAME as APPLICATION_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_TOKEN as CONF_TOKEN, CONF_USERNAME as CONF_USERNAME
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
9
|
from typing import Any
|
9
10
|
|
10
11
|
_LOGGER: Incomplete
|
{homeassistant_stubs-2024.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.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.0b5
|
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.0b5)
|
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.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.dist-info}/RECORD
RENAMED
@@ -1669,11 +1669,11 @@ homeassistant-stubs/components/linear_garage_door/cover.pyi,sha256=gPKwRfGBUrSqz
|
|
1669
1669
|
homeassistant-stubs/components/linear_garage_door/diagnostics.pyi,sha256=5F0UUj__QfBf7e-da6T6fK1oNCjHuPZ-hFoWJYz8jjw,608
|
1670
1670
|
homeassistant-stubs/components/linear_garage_door/entity.pyi,sha256=XqjSAsvOCWUnbtQv013hiqqC5OGcpEroK-e20TD0IGc,816
|
1671
1671
|
homeassistant-stubs/components/linear_garage_door/light.pyi,sha256=V85q00IFJ78qzUOmTGL98ccCFmgaiqcdVetEEKKei1Q,1174
|
1672
|
-
homeassistant-stubs/components/linkplay/__init__.pyi,sha256=
|
1673
|
-
homeassistant-stubs/components/linkplay/config_flow.pyi,sha256=
|
1674
|
-
homeassistant-stubs/components/linkplay/const.pyi,sha256=
|
1672
|
+
homeassistant-stubs/components/linkplay/__init__.pyi,sha256=mh0Q4HlGbDMe_jd0Z1Oq5h2R130n8CZN61r1WSqUwkU,858
|
1673
|
+
homeassistant-stubs/components/linkplay/config_flow.pyi,sha256=Z5HWJZ5-i15lErj2byryN7JNtD-qAZb1lu0OmqUxn0c,981
|
1674
|
+
homeassistant-stubs/components/linkplay/const.pyi,sha256=PpphfxC1c87IZ19Zp3I5Zit-LaVluaP9zsk1Z0RByHM,139
|
1675
1675
|
homeassistant-stubs/components/linkplay/media_player.pyi,sha256=lGyWmL3eGb6S_NvtwiGjQa4oovxmBx9SC784Mg7DWTY,3511
|
1676
|
-
homeassistant-stubs/components/linkplay/utils.pyi,sha256=
|
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
|
1679
1679
|
homeassistant-stubs/components/litejet/const.pyi,sha256=XIupv_a3TmfaeyfjsM2D-nqZhnLwVEJgavgXNun0LFc,201
|
@@ -2002,7 +2002,7 @@ homeassistant-stubs/components/neato/hub.pyi,sha256=FJzblcwTfXDXXxUB4lBJejJ96E_J
|
|
2002
2002
|
homeassistant-stubs/components/neato/sensor.pyi,sha256=mkV4meuVrquBSm5YdfFeUmZdvGP0mH0nnWuOFbEYCmA,1337
|
2003
2003
|
homeassistant-stubs/components/neato/switch.pyi,sha256=9FIPPQyC1Ks5xkMqmhCwAZcXcfr4rBeEVksMSNzp1QE,1491
|
2004
2004
|
homeassistant-stubs/components/neato/vacuum.pyi,sha256=kbM3yB04TMjnem0JRzmclNiAnL8QOG83jUXWvmTQi50,3213
|
2005
|
-
homeassistant-stubs/components/nest/__init__.pyi,sha256=
|
2005
|
+
homeassistant-stubs/components/nest/__init__.pyi,sha256=MGGVrc2_1ZNFtuwMdIQo2V1eAt2US48ayLWnsyCha6I,4306
|
2006
2006
|
homeassistant-stubs/components/nest/api.pyi,sha256=u9cDizGRZkGMz5WfNo_A4NTWNNjbsPAyvIQq887b8yo,1597
|
2007
2007
|
homeassistant-stubs/components/nest/application_credentials.pyi,sha256=6FJeSY56LumWCAyaIGYgl_lYqbkON3G4JRInkguyBsE,394
|
2008
2008
|
homeassistant-stubs/components/nest/camera.pyi,sha256=GAywXoVY0h9pSoHJDxDAgRkbkPQAWDZ3174gAAnly6I,2584
|
@@ -2469,7 +2469,7 @@ homeassistant-stubs/components/ring/__init__.pyi,sha256=XZbqC5UJ41K0gAromstjHQ6b
|
|
2469
2469
|
homeassistant-stubs/components/ring/binary_sensor.pyi,sha256=rA_6OprkZ8mimZm7GVtTweLOsgQo1c3gEVCKoUCtgYE,2200
|
2470
2470
|
homeassistant-stubs/components/ring/button.pyi,sha256=sS23bjy2WKVlRuVTRjuFJuJTHC0KDuLo-AAOsrR5sIU,1097
|
2471
2471
|
homeassistant-stubs/components/ring/camera.pyi,sha256=YFjWMBIIbcXSU49xC5jpXrXl4KJmkQZD91MTn-s02N8,2167
|
2472
|
-
homeassistant-stubs/components/ring/config_flow.pyi,sha256=
|
2472
|
+
homeassistant-stubs/components/ring/config_flow.pyi,sha256=NZxa9ILO0cXN5_0d86-HA7sam5boWNxa4D8Tb7Lfuf4,1496
|
2473
2473
|
homeassistant-stubs/components/ring/const.pyi,sha256=lxLdsTrlAecppWJeVrJq2fL7niJLnFyZToi8BZYqFd0,293
|
2474
2474
|
homeassistant-stubs/components/ring/coordinator.pyi,sha256=_dqZz2WfBKq8uJYFj9j0Xk1d6mjXON3zA1YE6tD2HYw,1186
|
2475
2475
|
homeassistant-stubs/components/ring/diagnostics.pyi,sha256=Dl3hLhzLm0-4gnNzoGR6UX9-su9LidA9NSDxwdzrQ9U,478
|
@@ -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.0b5.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3533
|
+
homeassistant_stubs-2024.9.0b5.dist-info/METADATA,sha256=tF2anr0rzLM0RKkZU0HkAwFA-5VHS_uQ0Hti2aB5czc,3015
|
3534
|
+
homeassistant_stubs-2024.9.0b5.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3535
|
+
homeassistant_stubs-2024.9.0b5.dist-info/RECORD,,
|
{homeassistant_stubs-2024.9.0b3.dist-info → homeassistant_stubs-2024.9.0b5.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|