homeassistant-stubs 2023.8.0b1__py3-none-any.whl → 2023.8.0b2__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/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +0 -3
- homeassistant-stubs/components/jellyfin/__init__.pyi +2 -0
- homeassistant-stubs/components/jellyfin/coordinator.pyi +2 -0
- homeassistant-stubs/components/scrape/sensor.pyi +0 -1
- homeassistant-stubs/components/sql/sensor.pyi +1 -1
- {homeassistant_stubs-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.dist-info}/RECORD +10 -10
- {homeassistant_stubs-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.dist-info}/WHEEL +0 -0
@@ -26,7 +26,6 @@ ENTITY_CATEGORIES: EsphomeEnumMapper[EsphomeEntityCategory, EntityCategory | Non
|
|
26
26
|
|
27
27
|
class EsphomeEntity(Entity, Generic[_InfoT, _StateT]):
|
28
28
|
_attr_should_poll: bool
|
29
|
-
_attr_has_entity_name: bool
|
30
29
|
_static_info: _InfoT
|
31
30
|
_state: _StateT
|
32
31
|
_has_state: bool
|
@@ -37,6 +36,7 @@ class EsphomeEntity(Entity, Generic[_InfoT, _StateT]):
|
|
37
36
|
entity_id: Incomplete
|
38
37
|
_attr_device_info: Incomplete
|
39
38
|
_entry_id: Incomplete
|
39
|
+
_attr_has_entity_name: 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
|
@@ -5,6 +5,8 @@ from .models import JellyfinData as JellyfinData
|
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
8
|
+
from homeassistant.helpers import device_registry as dr
|
8
9
|
|
9
10
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
10
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
12
|
+
async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: ConfigEntry, device_entry: dr.DeviceEntry) -> bool: ...
|
@@ -19,10 +19,12 @@ class JellyfinDataUpdateCoordinator(DataUpdateCoordinator[JellyfinDataT], ABC, m
|
|
19
19
|
client_device_id: Incomplete
|
20
20
|
user_id: Incomplete
|
21
21
|
session_ids: Incomplete
|
22
|
+
device_ids: Incomplete
|
22
23
|
def __init__(self, hass: HomeAssistant, api_client: JellyfinClient, system_info: dict[str, Any], client_device_id: str, user_id: str) -> None: ...
|
23
24
|
async def _async_update_data(self) -> JellyfinDataT: ...
|
24
25
|
@abstractmethod
|
25
26
|
async def _fetch_data(self) -> JellyfinDataT: ...
|
26
27
|
|
27
28
|
class SessionsDataUpdateCoordinator(JellyfinDataUpdateCoordinator[dict[str, dict[str, Any]]]):
|
29
|
+
device_ids: Incomplete
|
28
30
|
async def _fetch_data(self) -> dict[str, dict[str, Any]]: ...
|
@@ -20,7 +20,6 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
20
20
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
21
21
|
|
22
22
|
class ScrapeSensor(CoordinatorEntity[ScrapeCoordinator], ManualTriggerEntity, SensorEntity):
|
23
|
-
_attr_name: Incomplete
|
24
23
|
_attr_native_unit_of_measurement: Incomplete
|
25
24
|
_attr_state_class: Incomplete
|
26
25
|
_select: Incomplete
|
@@ -41,7 +41,7 @@ class SQLSensor(ManualTriggerEntity, SensorEntity):
|
|
41
41
|
_use_database_executor: Incomplete
|
42
42
|
_lambda_stmt: Incomplete
|
43
43
|
_attr_name: Incomplete
|
44
|
-
_attr_has_entity_name:
|
44
|
+
_attr_has_entity_name: bool
|
45
45
|
_attr_device_info: Incomplete
|
46
46
|
def __init__(self, trigger_entity_config: ConfigType, sessmaker: scoped_session, query: str, column: str, unit: str | None, value_template: Template | None, yaml: bool, state_class: SensorStateClass | None, use_database_executor: bool) -> None: ...
|
47
47
|
async def async_added_to_hass(self) -> None: ...
|
{homeassistant_stubs-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.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.0b2
|
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.0b2)
|
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-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.dist-info}/RECORD
RENAMED
@@ -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=S8pzacMK0fgk1dSiNdl_8iYWVWHdAACiwFzi0RoLeoY,3035
|
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
|
@@ -569,7 +569,7 @@ homeassistant-stubs/components/esphome/sensor.pyi,sha256=nKrr8W7bTXyJQf3QplzLiB5
|
|
569
569
|
homeassistant-stubs/components/esphome/switch.pyi,sha256=NCDBsPjsioPWYd-x97Zgcn7EX8Rw4RvYWwestVatEsE,1243
|
570
570
|
homeassistant-stubs/components/esphome/update.pyi,sha256=4hmOl4mPwIt6jI0FlbgWiwawYRzxFCl4UVxqaF1t2FU,2237
|
571
571
|
homeassistant-stubs/components/esphome/voice_assistant.pyi,sha256=Q7cPAJxtYEyAmeBJ5tnUxTmEMqgUZg6TZ0JkPoGU3Gs,2827
|
572
|
-
homeassistant-stubs/components/event/__init__.pyi,sha256=
|
572
|
+
homeassistant-stubs/components/event/__init__.pyi,sha256=AXibj4m8OYwqkeLCMBeq4zkzffaUQFDpR_Flm_3ERbE,2275
|
573
573
|
homeassistant-stubs/components/event/const.pyi,sha256=RccBYn7-x6TXzOVCrHRVlrJXpVGQ8d7uLtNZRxdNqsc,55
|
574
574
|
homeassistant-stubs/components/event/recorder.pyi,sha256=BzgZDpw9nWiU9fjd22Jba2l5vQT4_txaDtT_iNS_3GE,197
|
575
575
|
homeassistant-stubs/components/evil_genius_labs/__init__.pyi,sha256=1wdcUYqLRvf7MDdrT5XvbPK4IxS0taj4d8CMyNmFPz4,1318
|
@@ -882,12 +882,12 @@ homeassistant-stubs/components/isy994/services.pyi,sha256=5oTCUYD2-Duv3mPW2avwQw
|
|
882
882
|
homeassistant-stubs/components/isy994/switch.pyi,sha256=snBJzp3JnkX1-arPe7BH3IZXXy1bwHR8a4TmmH_PMWI,2654
|
883
883
|
homeassistant-stubs/components/isy994/system_health.pyi,sha256=z87IoPzMOgMr2BCxhyG9BO16O8nCgqJiFMYVJgUdUKY,615
|
884
884
|
homeassistant-stubs/components/isy994/util.pyi,sha256=QcUtnNThkujVnj92C7_Bo9YqiWEujiQSaDsn_NiFlqw,226
|
885
|
-
homeassistant-stubs/components/jellyfin/__init__.pyi,sha256=
|
885
|
+
homeassistant-stubs/components/jellyfin/__init__.pyi,sha256=fnVdUXR3BnenRMYsGefdP9HToIP1T1lejyR2IXhVopE,1046
|
886
886
|
homeassistant-stubs/components/jellyfin/browse_media.pyi,sha256=DlR6cxHG95uiemDI2AHLINNLczqzNuK6APczS3wIx1c,1529
|
887
887
|
homeassistant-stubs/components/jellyfin/client_wrapper.pyi,sha256=73XwvAYmORer0dMLdq71iDrmLO2_jCgR3fZ826UU7nw,1417
|
888
888
|
homeassistant-stubs/components/jellyfin/config_flow.pyi,sha256=jBAdtPwsSueD47De0K1_dbZ6GZ6Pa-LHwMPDEVPnVrE,951
|
889
889
|
homeassistant-stubs/components/jellyfin/const.pyi,sha256=sDTv48nHriR5ZVkOeBjJimRavEjNHwdSnvU9LDGzB_c,1300
|
890
|
-
homeassistant-stubs/components/jellyfin/coordinator.pyi,sha256=
|
890
|
+
homeassistant-stubs/components/jellyfin/coordinator.pyi,sha256=cbDzf5zt2-3jsEjZuwqRlJUGTYsObgf6VsRDPedFPCI,1424
|
891
891
|
homeassistant-stubs/components/jellyfin/diagnostics.pyi,sha256=HdtFp9OTrT-VO_FKHv3qrAlaCunFZ2a0dAEXksKFgwk,555
|
892
892
|
homeassistant-stubs/components/jellyfin/entity.pyi,sha256=l7NHZCwSxerZQCU6taG56QK8w4Dkh4VzHHSm0dr4_oU,878
|
893
893
|
homeassistant-stubs/components/jellyfin/media_player.pyi,sha256=zxw3KEtGSwpiQyxzpS49eRFCNxXFHVEbxEncBNPDwoQ,3419
|
@@ -1696,7 +1696,7 @@ homeassistant-stubs/components/scrape/__init__.pyi,sha256=oVi8RSDTuHil3kh1i8Rern
|
|
1696
1696
|
homeassistant-stubs/components/scrape/config_flow.pyi,sha256=zv8ej3fpgQ4B5i3KpzId2wHkw2rsbsxrlp8OwB7s-NI,3727
|
1697
1697
|
homeassistant-stubs/components/scrape/const.pyi,sha256=Ihpov5N9PWbYPat-55jDU7dQ9jqzo-WyfjQk0LMHaNs,272
|
1698
1698
|
homeassistant-stubs/components/scrape/coordinator.pyi,sha256=YNveo3hDqv9MEv3oZfTPsjMXnp-M7oy0vrI4BbusHJg,618
|
1699
|
-
homeassistant-stubs/components/scrape/sensor.pyi,sha256=
|
1699
|
+
homeassistant-stubs/components/scrape/sensor.pyi,sha256=aAa3IO6Aah7fO4mxzSRA8cGWaRue9I1QgPU2Kv1zmY8,2714
|
1700
1700
|
homeassistant-stubs/components/select/__init__.pyi,sha256=EcO4Sm-hBFGb9GIc76L3j0yzYkyZGgT5H-dLnGeChgE,1762
|
1701
1701
|
homeassistant-stubs/components/select/const.pyi,sha256=cjGmyzpRsXm0SQt8W1BKDTxwMEIeAa9lLQM1kIZZYtw,228
|
1702
1702
|
homeassistant-stubs/components/select/device_action.pyi,sha256=qRvTc3jXQfHM0Fq8hB0O6pVrCCSBs6B3DwUcIr-XYeE,1672
|
@@ -1833,7 +1833,7 @@ homeassistant-stubs/components/sql/__init__.pyi,sha256=0Cpy6tHJTNs9jgR9QnP-j5oRX
|
|
1833
1833
|
homeassistant-stubs/components/sql/config_flow.pyi,sha256=bXYDNgwLhvSkupzgCpQy4ILd7GqsNkqeSrfHBzkt6eU,1699
|
1834
1834
|
homeassistant-stubs/components/sql/const.pyi,sha256=AcBPpOD5orU9lqetin3xQVjt7_9PbEu-olYAQ5-mNuc,181
|
1835
1835
|
homeassistant-stubs/components/sql/models.pyi,sha256=4hvQvLpc-m9zuZahM2TO8mqs-UmnfhMQPaReUcqOAhE,320
|
1836
|
-
homeassistant-stubs/components/sql/sensor.pyi,sha256=
|
1836
|
+
homeassistant-stubs/components/sql/sensor.pyi,sha256=3tyWR1vtT2a58Mbqn8LAwcQz-fJrYXn-X21P7eqXSdQ,3805
|
1837
1837
|
homeassistant-stubs/components/sql/util.pyi,sha256=y7P1LVWoTKpzOHFhQIyp6IWrGHItxabqdBLTz7p_pUA,359
|
1838
1838
|
homeassistant-stubs/components/ssdp/__init__.pyi,sha256=MF2PuxRdsQ9vLquZy9gZSa_NYYf5ycqP_niGaw4T-70,7161
|
1839
1839
|
homeassistant-stubs/components/statistics/__init__.pyi,sha256=rWT3SFRVo9UAulZ2cOIIZLDcsSvgXDgWjiGGp2jOpoY,121
|
@@ -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.0b2.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
2438
|
+
homeassistant_stubs-2023.8.0b2.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
2439
|
+
homeassistant_stubs-2023.8.0b2.dist-info/METADATA,sha256=GoFOurttSVGcA8zLM-v2ADCchssbxqniGqlE_WVnmzo,3059
|
2440
|
+
homeassistant_stubs-2023.8.0b2.dist-info/RECORD,,
|
{homeassistant_stubs-2023.8.0b1.dist-info → homeassistant_stubs-2023.8.0b2.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|