homeassistant-stubs 2023.8.0b3__py3-none-any.whl → 2023.8.1__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/emulated_hue/__init__.pyi +1 -0
- homeassistant-stubs/components/esphome/entity.pyi +2 -2
- homeassistant-stubs/components/tplink/switch.pyi +2 -0
- homeassistant-stubs/components/unifi/image.pyi +2 -2
- homeassistant-stubs/helpers/device_registry.pyi +1 -1
- {homeassistant_stubs-2023.8.0b3.dist-info → homeassistant_stubs-2023.8.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2023.8.0b3.dist-info → homeassistant_stubs-2023.8.1.dist-info}/RECORD +9 -9
- {homeassistant_stubs-2023.8.0b3.dist-info → homeassistant_stubs-2023.8.1.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.8.0b3.dist-info → homeassistant_stubs-2023.8.1.dist-info}/WHEEL +0 -0
@@ -4,6 +4,7 @@ from .hue_api import HueAllGroupsStateView as HueAllGroupsStateView, HueAllLight
|
|
4
4
|
from .upnp import DescriptionXmlView as DescriptionXmlView, async_create_upnp_datagram_endpoint as async_create_upnp_datagram_endpoint
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from aiohttp import web
|
7
|
+
from homeassistant.components.http import HomeAssistantAccessLogger as HomeAssistantAccessLogger
|
7
8
|
from homeassistant.components.network import async_get_source_ip as async_get_source_ip
|
8
9
|
from homeassistant.const import CONF_ENTITIES as CONF_ENTITIES, CONF_TYPE as CONF_TYPE, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
|
9
10
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
|
@@ -33,10 +33,10 @@ class EsphomeEntity(Entity, Generic[_InfoT, _StateT]):
|
|
33
33
|
_key: Incomplete
|
34
34
|
_state_type: Incomplete
|
35
35
|
_device_info: Incomplete
|
36
|
-
entity_id: Incomplete
|
37
36
|
_attr_device_info: Incomplete
|
38
37
|
_entry_id: Incomplete
|
39
|
-
_attr_has_entity_name:
|
38
|
+
_attr_has_entity_name: bool
|
39
|
+
entity_id: Incomplete
|
40
40
|
def __init__(self, entry_data: RuntimeEntryData, domain: str, entity_info: EntityInfo, state_type: type[_StateT]) -> None: ...
|
41
41
|
async def async_added_to_hass(self) -> None: ...
|
42
42
|
_attr_unique_id: Incomplete
|
@@ -42,3 +42,5 @@ class SmartPlugSwitchChild(SmartPlugSwitch):
|
|
42
42
|
def __init__(self, device: SmartDevice, coordinator: TPLinkDataUpdateCoordinator, plug: SmartDevice) -> None: ...
|
43
43
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
44
44
|
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
45
|
+
@property
|
46
|
+
def is_on(self) -> bool: ...
|
@@ -16,7 +16,7 @@ def async_wlan_qr_code_image_fn(controller: UniFiController, wlan: Wlan) -> byte
|
|
16
16
|
|
17
17
|
class UnifiImageEntityDescriptionMixin(Generic[HandlerT, ApiItemT]):
|
18
18
|
image_fn: Callable[[UniFiController, ApiItemT], bytes]
|
19
|
-
value_fn: Callable[[ApiItemT], str]
|
19
|
+
value_fn: Callable[[ApiItemT], str | None]
|
20
20
|
def __init__(self, image_fn, value_fn) -> None: ...
|
21
21
|
|
22
22
|
class UnifiImageEntityDescription(ImageEntityDescription, UnifiEntityDescription[HandlerT, ApiItemT], UnifiImageEntityDescriptionMixin[HandlerT, ApiItemT]):
|
@@ -30,7 +30,7 @@ class UnifiImageEntity(UnifiEntity[HandlerT, ApiItemT], ImageEntity):
|
|
30
30
|
entity_description: UnifiImageEntityDescription[HandlerT, ApiItemT]
|
31
31
|
_attr_content_type: str
|
32
32
|
current_image: bytes | None
|
33
|
-
previous_value: str
|
33
|
+
previous_value: str | None
|
34
34
|
def __init__(self, obj_id: str, controller: UniFiController, description: UnifiEntityDescription[HandlerT, ApiItemT]) -> None: ...
|
35
35
|
def image(self) -> bytes | None: ...
|
36
36
|
_attr_image_last_updated: Incomplete
|
@@ -68,7 +68,7 @@ def _validate_configuration_url(value: Any) -> str | None: ...
|
|
68
68
|
class DeviceEntry:
|
69
69
|
area_id: str | None
|
70
70
|
config_entries: set[str]
|
71
|
-
configuration_url: str |
|
71
|
+
configuration_url: str | None
|
72
72
|
connections: set[tuple[str, str]]
|
73
73
|
disabled_by: DeviceEntryDisabler | None
|
74
74
|
entry_type: DeviceEntryType | None
|
{homeassistant_stubs-2023.8.0b3.dist-info → homeassistant_stubs-2023.8.1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2023.8.
|
3
|
+
Version: 2023.8.1
|
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 (==2023.8.
|
20
|
+
Requires-Dist: homeassistant (==2023.8.1)
|
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
|
@@ -523,7 +523,7 @@ homeassistant-stubs/components/elkm1/logbook.pyi,sha256=fIGIV-ueQqtR1eNeg9LvitRM
|
|
523
523
|
homeassistant-stubs/components/elkm1/scene.pyi,sha256=OUx9jyUiWXPiE0HlnnxPhhcwZT4zsCXZH_Y6x2jNRSY,757
|
524
524
|
homeassistant-stubs/components/elkm1/sensor.pyi,sha256=2fcOVmPYr_ysR0UV3tcBotGByuGx2V96J0bMROZ8BKc,3630
|
525
525
|
homeassistant-stubs/components/elkm1/switch.pyi,sha256=gN1x5BYttiYIKsYfb5hPNXQXAY8TToNQn5TctiSHFGQ,898
|
526
|
-
homeassistant-stubs/components/emulated_hue/__init__.pyi,sha256=
|
526
|
+
homeassistant-stubs/components/emulated_hue/__init__.pyi,sha256=IpykjR0RyXM4yNVkkz6wmG4aUx2IVgmVpmsHYfTUEOY,2135
|
527
527
|
homeassistant-stubs/components/emulated_hue/config.pyi,sha256=tUnB_8gDNuF47wauw9W4umDo3un5YgvjmEZfT0zUQn0,2646
|
528
528
|
homeassistant-stubs/components/emulated_hue/const.pyi,sha256=uGc1g4J1r9uhkZKi0pP3B5eiN3nInLE9ZDA3uQuXwsY,49
|
529
529
|
homeassistant-stubs/components/emulated_hue/hue_api.pyi,sha256=qx2QopHV2Bx5QuVU_vNipLYkUrHLkKolHY30ccieR00,6019
|
@@ -555,7 +555,7 @@ homeassistant-stubs/components/esphome/cover.pyi,sha256=UXM5imgeBu6cuYUPTHD48i7u
|
|
555
555
|
homeassistant-stubs/components/esphome/dashboard.pyi,sha256=-G7q8D5OFw025UJgPOXg5gbVh9Rm8Hgd1Ub-Fi2SA8g,2007
|
556
556
|
homeassistant-stubs/components/esphome/diagnostics.pyi,sha256=m9u9e2MSh3dM5kyYYAXN9o232G0UXFKjE6f4-nduyzc,738
|
557
557
|
homeassistant-stubs/components/esphome/domain_data.pyi,sha256=v0kgd4qrSFVA3iUY3gihIIPieAJByjMe8BNIKRW9Rds,1078
|
558
|
-
homeassistant-stubs/components/esphome/entity.pyi,sha256=
|
558
|
+
homeassistant-stubs/components/esphome/entity.pyi,sha256=1fBvnyur7i-vJb_KMipWDmW2KWkqHvto0q27poeFny4,3029
|
559
559
|
homeassistant-stubs/components/esphome/entry_data.pyi,sha256=1fc9n5rxQixcHWUYy4bAHFCsq_4xRDE6xyVcTFgzvTg,4827
|
560
560
|
homeassistant-stubs/components/esphome/enum_mapper.pyi,sha256=bjS1ZsaM9u8BZH921cCcND4_S3kNP44WnphDvoljf_w,560
|
561
561
|
homeassistant-stubs/components/esphome/fan.pyi,sha256=P0NG9b24DsN6oOqThp46fQP3gv2uOYfgI8dq4TuN0g4,2306
|
@@ -1983,7 +1983,7 @@ homeassistant-stubs/components/tplink/diagnostics.pyi,sha256=BLAr84nFFaYfhxKtdrv
|
|
1983
1983
|
homeassistant-stubs/components/tplink/entity.pyi,sha256=O5taWdgFqh8cCmhiuF6trcgTClFlnQ4br72DcoYaa4o,1055
|
1984
1984
|
homeassistant-stubs/components/tplink/light.pyi,sha256=lqDXpfbOXfuF0wycH-GoYawDFIoApTK7DqS6RLYmsro,3771
|
1985
1985
|
homeassistant-stubs/components/tplink/sensor.pyi,sha256=kbXcQlAN4HLghGQX8oYAZ3JOkau8vCeldIahq_uOIbY,2281
|
1986
|
-
homeassistant-stubs/components/tplink/switch.pyi,sha256=
|
1986
|
+
homeassistant-stubs/components/tplink/switch.pyi,sha256=Ei9u8PrkCzHaDpCiVBxVpa7JNsI2M7eWA26OFVxqJWs,2176
|
1987
1987
|
homeassistant-stubs/components/tplink_omada/__init__.pyi,sha256=xvIRjC1GEQ7IF99WHQGyFXPtr1n_Q5WrNVqrtOm_WoM,699
|
1988
1988
|
homeassistant-stubs/components/tplink_omada/binary_sensor.pyi,sha256=MlMKt4vRmtck2gl2-TWux3uh-oWFv9rFI48GDrdxqkM,2021
|
1989
1989
|
homeassistant-stubs/components/tplink_omada/config_flow.pyi,sha256=wFy7BtVt2d3WHEhLFh0GS9eBptRQIZZ6dTB4ZoUFgPU,1843
|
@@ -2052,7 +2052,7 @@ homeassistant-stubs/components/unifi/device_tracker.pyi,sha256=JtW7nFYeYftu_d3h7
|
|
2052
2052
|
homeassistant-stubs/components/unifi/diagnostics.pyi,sha256=NtOUSVcH53_-v6Z6DXqvRXXZypelmLWWeIQZmTZ45m4,1046
|
2053
2053
|
homeassistant-stubs/components/unifi/entity.pyi,sha256=GqM943kzow61PxivLl6FB5UzHLyQbfhyOvQIK5kdGaw,3670
|
2054
2054
|
homeassistant-stubs/components/unifi/errors.pyi,sha256=h1_5yfcesViHv8-8Bd-geo5moFY7_SkjvvcN3ydwaHo,339
|
2055
|
-
homeassistant-stubs/components/unifi/image.pyi,sha256=
|
2055
|
+
homeassistant-stubs/components/unifi/image.pyi,sha256=0udQ_zFLJeM3pDdqD8SSLywpqx_ejES_K5UmnaZ_7s0,2510
|
2056
2056
|
homeassistant-stubs/components/unifi/sensor.pyi,sha256=y9jNw8qXS7MRBiCFSa0nK0MU3g3YoF7qYd47qz33PMw,3164
|
2057
2057
|
homeassistant-stubs/components/unifi/services.pyi,sha256=HUocu09DKvpcTs7K_A3ohNzArNElWFeT-UIEDubvZsY,834
|
2058
2058
|
homeassistant-stubs/components/unifi/switch.pyi,sha256=HOU1GiKoVOPbip9Uc35g_LHw13C7WIONYaBo2QAV8n8,4134
|
@@ -2335,7 +2335,7 @@ homeassistant-stubs/helpers/config_validation.pyi,sha256=B8AARGI6TXAFQT-nGnWtl0J
|
|
2335
2335
|
homeassistant-stubs/helpers/data_entry_flow.pyi,sha256=QrMSa551haZShY3-lHallfYWpc7zsqG7bU3ix6t4UgQ,1084
|
2336
2336
|
homeassistant-stubs/helpers/debounce.pyi,sha256=gHyKXUGANvhPqLQIYUNntiRPOStkN2fZucGmckow49A,1085
|
2337
2337
|
homeassistant-stubs/helpers/deprecation.pyi,sha256=Ccumo_AJonXlNsML_UrDR3SDkvKASB68TwOMVJGc0vI,843
|
2338
|
-
homeassistant-stubs/helpers/device_registry.pyi,sha256=
|
2338
|
+
homeassistant-stubs/helpers/device_registry.pyi,sha256=VMXwbQ_OXHK0qABD0ALeILKBQgfvDOZEZs2SoWN7fug,8436
|
2339
2339
|
homeassistant-stubs/helpers/discovery.pyi,sha256=ss9qo-iZqaX2g-5RGNJy7dvzoYavMHBHtNYVq_1aXJI,1628
|
2340
2340
|
homeassistant-stubs/helpers/discovery_flow.pyi,sha256=vwZkwsSp1bpkj_MvC2jXI8hC_G_JTTe4IZKv9r_0lYw,1315
|
2341
2341
|
homeassistant-stubs/helpers/dispatcher.pyi,sha256=qtRAkAsf1dnjjxsMWib8K_I517opUTf5NXMd40AOSRo,999
|
@@ -2434,7 +2434,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=zxT5g702AE8bCbQd9UynrAwNF_MndI2e
|
|
2434
2434
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
2435
2435
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=LdOts7aNdgGBanbHeaHTA-FS2PuPe9ZfNfjWFYnSi6U,3167
|
2436
2436
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=Ob8lXxNfm75wO2xk-ihATXFzNxI7V9Q1h507lnyzmtE,272
|
2437
|
-
homeassistant_stubs-2023.8.
|
2438
|
-
homeassistant_stubs-2023.8.
|
2439
|
-
homeassistant_stubs-2023.8.
|
2440
|
-
homeassistant_stubs-2023.8.
|
2437
|
+
homeassistant_stubs-2023.8.1.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
2438
|
+
homeassistant_stubs-2023.8.1.dist-info/METADATA,sha256=gHFWe5q38urQQyqVm_gS5GxPvlTT2KKFQ6yzRwA7ZHk,3055
|
2439
|
+
homeassistant_stubs-2023.8.1.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
2440
|
+
homeassistant_stubs-2023.8.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|