homeassistant-stubs 2024.2.0b8__py3-none-any.whl → 2024.2.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.
@@ -1,6 +1,7 @@
1
1
  from .const import DEVICE_STATES as DEVICE_STATES
2
2
  from .controller import UniFiController as UniFiController
3
3
  from .entity import HandlerT as HandlerT, UnifiEntity as UnifiEntity, UnifiEntityDescription as UnifiEntityDescription, async_client_device_info_fn as async_client_device_info_fn, async_device_available_fn as async_device_available_fn, async_device_device_info_fn as async_device_device_info_fn, async_wlan_available_fn as async_wlan_available_fn, async_wlan_device_info_fn as async_wlan_device_info_fn
4
+ from _typeshed import Incomplete
4
5
  from aiounifi.interfaces.api_handlers import ItemEvent as ItemEvent
5
6
  from aiounifi.models.api import ApiItemT
6
7
  from aiounifi.models.client import Client
@@ -50,8 +51,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
50
51
 
51
52
  class UnifiSensorEntity(UnifiEntity[HandlerT, ApiItemT], SensorEntity):
52
53
  entity_description: UnifiSensorEntityDescription[HandlerT, ApiItemT]
53
- _attr_native_value: int
54
+ _attr_available: bool
54
55
  def _make_disconnected(self, *_: core_Event) -> None: ...
56
+ _attr_native_value: Incomplete
55
57
  def async_update_state(self, event: ItemEvent, obj_id: str) -> None: ...
56
58
  async def async_added_to_hass(self) -> None: ...
57
59
  async def async_will_remove_from_hass(self) -> None: ...
@@ -26,6 +26,7 @@ SLOW_ADD_MIN_TIMEOUT: int
26
26
  PLATFORM_NOT_READY_RETRIES: int
27
27
  DATA_ENTITY_PLATFORM: str
28
28
  DATA_DOMAIN_ENTITIES: str
29
+ DATA_DOMAIN_PLATFORM_ENTITIES: str
29
30
  PLATFORM_NOT_READY_BASE_WAIT_TIME: int
30
31
  _LOGGER: Incomplete
31
32
 
@@ -60,6 +61,7 @@ class EntityPlatform:
60
61
  _update_in_sequence: bool
61
62
  parallel_updates_created: Incomplete
62
63
  domain_entities: Incomplete
64
+ domain_platform_entities: Incomplete
63
65
  def __init__(self, *, hass: HomeAssistant, logger: Logger, domain: str, platform_name: str, platform: EntityPlatformModule | None, scan_interval: timedelta, entity_namespace: str | None) -> None: ...
64
66
  def __repr__(self) -> str: ...
65
67
  def _get_parallel_updates_semaphore(self, entity_has_sync_update: bool) -> asyncio.Semaphore | None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: homeassistant-stubs
3
- Version: 2024.2.0b8
3
+ Version: 2024.2.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
@@ -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 (==2024.2.0b8)
20
+ Requires-Dist: homeassistant (==2024.2.0b9)
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
@@ -2765,7 +2765,7 @@ homeassistant-stubs/components/unifi/diagnostics.pyi,sha256=NtOUSVcH53_-v6Z6DXqv
2765
2765
  homeassistant-stubs/components/unifi/entity.pyi,sha256=AV9xyWNWeiQDccG84MoGST5AVKMCyzDzNKVzr-qzoH8,3959
2766
2766
  homeassistant-stubs/components/unifi/errors.pyi,sha256=h1_5yfcesViHv8-8Bd-geo5moFY7_SkjvvcN3ydwaHo,339
2767
2767
  homeassistant-stubs/components/unifi/image.pyi,sha256=qL0eUpXFBd2KVmT0QT4XDCQoXzPpkVWPcm0UN9QOhBI,2673
2768
- homeassistant-stubs/components/unifi/sensor.pyi,sha256=UHHuVLdcXJTebzOEB2q1mSNRmFtgPsNPMcF0MQ2cz44,4643
2768
+ homeassistant-stubs/components/unifi/sensor.pyi,sha256=13dqQEFPXK_ggLYSx_EKJUTuRLF3TSC_mXH3mT-nF2A,4709
2769
2769
  homeassistant-stubs/components/unifi/services.pyi,sha256=HUocu09DKvpcTs7K_A3ohNzArNElWFeT-UIEDubvZsY,834
2770
2770
  homeassistant-stubs/components/unifi/switch.pyi,sha256=1k52WHi9-eN29GLFUs1zhpPmdAywRDDvfHt7EFxpjgc,4660
2771
2771
  homeassistant-stubs/components/unifi/update.pyi,sha256=kkk9fepCplC5iEoyVRFaoGHv6ueGQdcjn5rzNaDZy1Y,2866
@@ -3096,7 +3096,7 @@ homeassistant-stubs/helpers/discovery_flow.pyi,sha256=L1pHTaSYLIDv97LBXRcW9Xu65P
3096
3096
  homeassistant-stubs/helpers/dispatcher.pyi,sha256=oxDrTGjTUQEQPJn5mFqWIjNkbpOrWwTPmNxq0cnSfzo,2281
3097
3097
  homeassistant-stubs/helpers/entity.pyi,sha256=z_pGHo7opuk6i6sWdxe6IbkztKBOGQ2Dxd6FAAxIgno,12749
3098
3098
  homeassistant-stubs/helpers/entity_component.pyi,sha256=jH3N5crWdv9emPMaHHl53oArFfsitmcqC8jOJKH3gyo,3512
3099
- homeassistant-stubs/helpers/entity_platform.pyi,sha256=p-4bFbYOAPy5CmnqmFU4gAp5SR5e_t_S-S6rLo6IEZI,5929
3099
+ homeassistant-stubs/helpers/entity_platform.pyi,sha256=Ha9BDDVbRQhTlsFixDXiKK2eylBDYdC8luRXbhsRIE0,6005
3100
3100
  homeassistant-stubs/helpers/entity_registry.pyi,sha256=jVnAR8OVAAQfWKFtaVXNkhvyUFLaER6qLNvlIfeK_Es,12289
3101
3101
  homeassistant-stubs/helpers/entity_values.pyi,sha256=ivHFA5Ay7dXCfomEdjcPFc54lX-_9kaD91MCs2BAnxg,455
3102
3102
  homeassistant-stubs/helpers/entityfilter.pyi,sha256=8pYuzKPfv8LEAILvtoWrjiLWF08gPR9yNpbexwsp1So,2008
@@ -3187,7 +3187,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
3187
3187
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
3188
3188
  homeassistant-stubs/util/yaml/loader.pyi,sha256=fCRJl2omP0s_2O6n64qGIs_PUgu4AGMrkAxcxTPk_Z4,4173
3189
3189
  homeassistant-stubs/util/yaml/objects.pyi,sha256=89c0boOGMdQvHxVk7Xs42DKMj3ldlozxjrpiV74RkGY,457
3190
- homeassistant_stubs-2024.2.0b8.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3191
- homeassistant_stubs-2024.2.0b8.dist-info/METADATA,sha256=S_UN6mqCsXmI1zDs90rpjcxyy_7rIxMBh5CgKjxdt5s,3066
3192
- homeassistant_stubs-2024.2.0b8.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3193
- homeassistant_stubs-2024.2.0b8.dist-info/RECORD,,
3190
+ homeassistant_stubs-2024.2.0b9.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3191
+ homeassistant_stubs-2024.2.0b9.dist-info/METADATA,sha256=Q8Hx6mrVtQZVVHNn1b8OFzyuomqpGG6JbvymINwlOrs,3066
3192
+ homeassistant_stubs-2024.2.0b9.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3193
+ homeassistant_stubs-2024.2.0b9.dist-info/RECORD,,