homeassistant-stubs 2023.4.5__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.
- homeassistant-stubs/components/homewizard/coordinator.pyi +1 -0
- homeassistant-stubs/components/recorder/migration.pyi +2 -2
- {homeassistant_stubs-2023.4.5.dist-info → homeassistant_stubs-2023.4.6.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2023.4.5.dist-info → homeassistant_stubs-2023.4.6.dist-info}/RECORD +6 -6
- {homeassistant_stubs-2023.4.5.dist-info → homeassistant_stubs-2023.4.6.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2023.4.5.dist-info → homeassistant_stubs-2023.4.6.dist-info}/WHEEL +0 -0
@@ -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: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2023.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.
|
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=
|
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=
|
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
|
@@ -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.
|
2309
|
-
homeassistant_stubs-2023.4.
|
2310
|
-
homeassistant_stubs-2023.4.
|
2311
|
-
homeassistant_stubs-2023.4.
|
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,,
|
File without changes
|
File without changes
|