homeassistant-stubs 2023.4.4__py3-none-any.whl → 2023.4.6__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.
@@ -12,6 +12,7 @@ _LOGGER: Incomplete
12
12
  class HWEnergyDeviceUpdateCoordinator(DataUpdateCoordinator[DeviceResponseEntry]):
13
13
  api: HomeWizardEnergy
14
14
  api_disabled: bool
15
+ _unsupported_error: bool
15
16
  entry: Incomplete
16
17
  def __init__(self, hass: HomeAssistant, entry: ConfigEntry, host: str) -> None: ...
17
18
  data: Incomplete
@@ -11,12 +11,11 @@ from _typeshed import Incomplete
11
11
  from collections.abc import Callable as Callable, Iterable
12
12
  from homeassistant.core import HomeAssistant as HomeAssistant
13
13
  from homeassistant.util.enum import try_parse_enum as try_parse_enum
14
- from homeassistant.util.ulid import ulid_to_bytes as ulid_to_bytes
14
+ from homeassistant.util.ulid import ulid_at_time as ulid_at_time, ulid_to_bytes as ulid_to_bytes
15
15
  from sqlalchemy.engine import CursorResult as CursorResult, Engine as Engine
16
16
  from sqlalchemy.orm.session import Session as Session
17
17
 
18
18
  LIVE_MIGRATION_MIN_SCHEMA_VERSION: int
19
- _EMPTY_CONTEXT_ID: Incomplete
20
19
  _EMPTY_ENTITY_ID: str
21
20
  _EMPTY_EVENT_TYPE: str
22
21
  _LOGGER: Incomplete
@@ -62,6 +61,7 @@ def _wipe_old_string_time_columns(instance: Recorder, engine: Engine, session: S
62
61
  def _migrate_columns_to_timestamp(instance: Recorder, session_maker: Callable[[], Session], engine: Engine) -> None: ...
63
62
  def _migrate_statistics_columns_to_timestamp(instance: Recorder, session_maker: Callable[[], Session], engine: Engine) -> None: ...
64
63
  def _context_id_to_bytes(context_id: str | None) -> bytes | None: ...
64
+ def _generate_ulid_bytes_at_time(timestamp: float | None) -> bytes: ...
65
65
  def migrate_states_context_ids(instance: Recorder) -> bool: ...
66
66
  def migrate_events_context_ids(instance: Recorder) -> bool: ...
67
67
  def migrate_event_type_ids(instance: Recorder) -> bool: ...
@@ -10,6 +10,7 @@ from homeassistant.const import CONF_HOST as CONF_HOST, CONF_ID as CONF_ID, CONF
10
10
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
11
11
  from homeassistant.data_entry_flow import FlowResult as FlowResult
12
12
  from homeassistant.helpers.aiohttp_client import async_create_clientsession as async_create_clientsession, async_get_clientsession as async_get_clientsession
13
+ from homeassistant.helpers.storage import STORAGE_DIR as STORAGE_DIR
13
14
  from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
14
15
  from homeassistant.loader import async_get_integration as async_get_integration
15
16
  from homeassistant.util.network import is_ip_address as is_ip_address
@@ -4,6 +4,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
4
  from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
6
6
  from homeassistant.helpers.aiohttp_client import async_create_clientsession as async_create_clientsession
7
+ from homeassistant.helpers.storage import STORAGE_DIR as STORAGE_DIR
7
8
  from pyunifiprotect import ProtectApiClient
8
9
  from pyunifiprotect.data import Bootstrap as Bootstrap, Light as Light, ProtectAdoptableDeviceModel as ProtectAdoptableDeviceModel
9
10
  from typing import Any
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: homeassistant-stubs
3
- Version: 2023.4.4
3
+ Version: 2023.4.6
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
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Topic :: Software Development
20
20
  Classifier: Typing :: Typed
21
- Requires-Dist: homeassistant (==2023.4.4)
21
+ Requires-Dist: homeassistant (==2023.4.6)
22
22
  Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
23
23
  Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
24
24
  Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
@@ -717,7 +717,7 @@ homeassistant-stubs/components/homewizard/__init__.pyi,sha256=7zD9SET4kHB9jsgC0D
717
717
  homeassistant-stubs/components/homewizard/button.pyi,sha256=eiRx2sF4qMmRuQpLFY_MBMOYGqjov0GrERvQ2I7PoRY,1107
718
718
  homeassistant-stubs/components/homewizard/config_flow.pyi,sha256=XkkTe6bqK-zR-kaGBK4yXUm96m_a9EHqGkVOdZDkq2A,1748
719
719
  homeassistant-stubs/components/homewizard/const.pyi,sha256=0-1ikRvQ8NFHpotF7t_sQtGrFT4LWbvPnTDFuNzHfp4,560
720
- homeassistant-stubs/components/homewizard/coordinator.pyi,sha256=S2MLuzxXLMAVHuSI-7IsvJuywy3TbInHFWoARw5-LXQ,1179
720
+ homeassistant-stubs/components/homewizard/coordinator.pyi,sha256=rk26XWy4A7S5qsTKg_k1UroPDJk3tzakhf2gwlnRUZI,1208
721
721
  homeassistant-stubs/components/homewizard/diagnostics.pyi,sha256=cnITKgBoY7OqN3YQhQeiynbopCQeoVSlhoALazkZPa4,602
722
722
  homeassistant-stubs/components/homewizard/entity.pyi,sha256=6tdt7SmWFVig10z3jAKfc7hlJu5_HC0HayaAXElwWEo,613
723
723
  homeassistant-stubs/components/homewizard/helpers.pyi,sha256=h-kP1Gl9l3gSYSIU_xVfj68pEdeaM0PzXCLpjcvCdxY,558
@@ -1431,7 +1431,7 @@ homeassistant-stubs/components/recorder/history/common.pyi,sha256=x-4Swd7277gcHw
1431
1431
  homeassistant-stubs/components/recorder/history/const.pyi,sha256=PtnIxXKHO22GaU0lH7kbxra3Hdgt2ItiogxfYoZDWfs,254
1432
1432
  homeassistant-stubs/components/recorder/history/legacy.pyi,sha256=KuQDGvBgXZU2nc1_EY1TFOxboCTAqSsADWsH2gYd_tc,5986
1433
1433
  homeassistant-stubs/components/recorder/history/modern.pyi,sha256=0xhUSAOfjWA01d09GIH7YVRS4z4HmFeJMBWtrLXMI9Q,5288
1434
- homeassistant-stubs/components/recorder/migration.pyi,sha256=cyRIV2ez0Ky4heGN7iaGyJwpOYXLoiYp16JKPG_85GE,5992
1434
+ homeassistant-stubs/components/recorder/migration.pyi,sha256=OAkilztp0lsxHBPUFkUr46u7mPmHlDtKfE_Qg3EZiek,6064
1435
1435
  homeassistant-stubs/components/recorder/models/__init__.pyi,sha256=XW8UmcdVdHOUp1Fptm45JjzGcUOEBeaSZ_gHsO6hYmw,1205
1436
1436
  homeassistant-stubs/components/recorder/models/context.pyi,sha256=KV0hjPIM9o9CpQp2ByAOHcgNlVwnuDxvwKwvTirVqYM,430
1437
1437
  homeassistant-stubs/components/recorder/models/database.pyi,sha256=i3bE95prIKl0DaQ5XDn8ZEV0m-Jo9yEDKCAmR1iiYGA,460
@@ -1937,7 +1937,7 @@ homeassistant-stubs/components/unifiprotect/__init__.pyi,sha256=JPmLhrnQc3FdnZdg
1937
1937
  homeassistant-stubs/components/unifiprotect/binary_sensor.pyi,sha256=7dqGEXnbuhc4TAxxzoHMpDt3SQEbzT1iEnl7jA1dd54,3964
1938
1938
  homeassistant-stubs/components/unifiprotect/button.pyi,sha256=JfTIqnrP97xaTIeB85tJjRxwpMvwxMZpbZ1CfCqikyE,2535
1939
1939
  homeassistant-stubs/components/unifiprotect/camera.pyi,sha256=3e7SdcD6aOkZ4iDSHx7bMJ8vm1SBr4IZzLTNL3FWQjI,2583
1940
- homeassistant-stubs/components/unifiprotect/config_flow.pyi,sha256=SmG8vxuczSUQ_TMeVEAy-Rswrn04vwT04E37vqMY5R8,3524
1940
+ homeassistant-stubs/components/unifiprotect/config_flow.pyi,sha256=FzqvijGM6E4Wzpso3yXxfJZoJV0xp41zNA15MujsO48,3593
1941
1941
  homeassistant-stubs/components/unifiprotect/const.pyi,sha256=AIc29LSf4nzfp2bXw3sAoigRMk0LkxLgQa5NI9iJoRA,821
1942
1942
  homeassistant-stubs/components/unifiprotect/data.pyi,sha256=VfIHyX-ITFttMsze1w-17sgcUSIaZB53AjPaR3ci6gs,3097
1943
1943
  homeassistant-stubs/components/unifiprotect/diagnostics.pyi,sha256=X7SoEeWaUotXv5WQaWS3ZqTmOhiSE_kV2xlmkEVa238,351
@@ -1957,7 +1957,7 @@ homeassistant-stubs/components/unifiprotect/sensor.pyi,sha256=-dp5CGiiq8rmiA832w
1957
1957
  homeassistant-stubs/components/unifiprotect/services.pyi,sha256=DelLShUx0wQs0l060I3ADFFif7NTIp_u1SYxTPvf9z4,2013
1958
1958
  homeassistant-stubs/components/unifiprotect/switch.pyi,sha256=fn1SvCrDiTcUfxRS-37V48JatBEMZ9VSq83VB75t-aw,3790
1959
1959
  homeassistant-stubs/components/unifiprotect/text.pyi,sha256=D5BnyNtZuHexZKPnwvDQmxklbbuGIxg4FHoJAdBbrx8,2210
1960
- homeassistant-stubs/components/unifiprotect/utils.pyi,sha256=n6KyKkeFvbuhnRVUJfbtLRkub3Gv0TVt-iw4w-qylvo,1580
1960
+ homeassistant-stubs/components/unifiprotect/utils.pyi,sha256=VTsm-0M5V_tXKZKU0OBhE1-FCe5Ucfiovdu_68zFadw,1649
1961
1961
  homeassistant-stubs/components/unifiprotect/views.pyi,sha256=RkmDo1WZkisMderw8a4sIxVOwjeqJzAi7YKqQcjMP1Q,1560
1962
1962
  homeassistant-stubs/components/upcloud/__init__.pyi,sha256=pTZ5RQOfV5XMss19fINrOXjMWfTlPHKuFN9yirJJRXA,2974
1963
1963
  homeassistant-stubs/components/upcloud/binary_sensor.pyi,sha256=YXI5E2Mpc-nzRRwE1e3F9XMkG4XIJnE1Zwa6kzqvAl0,785
@@ -2305,7 +2305,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=zxT5g702AE8bCbQd9UynrAwNF_MndI2e
2305
2305
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
2306
2306
  homeassistant-stubs/util/yaml/loader.pyi,sha256=LdOts7aNdgGBanbHeaHTA-FS2PuPe9ZfNfjWFYnSi6U,3167
2307
2307
  homeassistant-stubs/util/yaml/objects.pyi,sha256=Ob8lXxNfm75wO2xk-ihATXFzNxI7V9Q1h507lnyzmtE,272
2308
- homeassistant_stubs-2023.4.4.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
2309
- homeassistant_stubs-2023.4.4.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
2310
- homeassistant_stubs-2023.4.4.dist-info/METADATA,sha256=nr4Cvtsvyd508THwYdK7VGxnSYbCObxPgU9Nqj3foZU,3106
2311
- homeassistant_stubs-2023.4.4.dist-info/RECORD,,
2308
+ homeassistant_stubs-2023.4.6.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
2309
+ homeassistant_stubs-2023.4.6.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
2310
+ homeassistant_stubs-2023.4.6.dist-info/METADATA,sha256=VYRDIHiR-FqoB5gOHsGx00TKJ_WMXuMa6GXOBlweUBA,3106
2311
+ homeassistant_stubs-2023.4.6.dist-info/RECORD,,