homeassistant-stubs 2025.4.0b14__py3-none-any.whl → 2025.4.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/apple_tv/config_flow.pyi +1 -1
- homeassistant-stubs/components/home_connect/coordinator.pyi +2 -0
- homeassistant-stubs/components/homeassistant_sky_connect/hardware.pyi +3 -0
- homeassistant-stubs/components/recorder/statistics.pyi +2 -2
- homeassistant-stubs/components/sensor/recorder.pyi +1 -1
- homeassistant-stubs/util/logging.pyi +3 -1
- {homeassistant_stubs-2025.4.0b14.dist-info → homeassistant_stubs-2025.4.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.4.0b14.dist-info → homeassistant_stubs-2025.4.1.dist-info}/RECORD +10 -10
- {homeassistant_stubs-2025.4.0b14.dist-info → homeassistant_stubs-2025.4.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.4.0b14.dist-info → homeassistant_stubs-2025.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
|
|
4
4
|
from collections import deque
|
5
5
|
from collections.abc import Awaitable, Callable as Callable, Mapping
|
6
6
|
from homeassistant.components import zeroconf as zeroconf
|
7
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_IGNORE as SOURCE_IGNORE, SOURCE_ZEROCONF as SOURCE_ZEROCONF
|
7
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_IGNORE as SOURCE_IGNORE, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_ZEROCONF as SOURCE_ZEROCONF
|
8
8
|
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, CONF_NAME as CONF_NAME, CONF_PIN as CONF_PIN
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
10
10
|
from homeassistant.data_entry_flow import AbortFlow as AbortFlow
|
@@ -26,6 +26,8 @@ class HomeConnectApplianceData:
|
|
26
26
|
settings: dict[SettingKey, GetSetting]
|
27
27
|
status: dict[StatusKey, Status]
|
28
28
|
def update(self, other: HomeConnectApplianceData) -> None: ...
|
29
|
+
@classmethod
|
30
|
+
def empty(cls, appliance: HomeAppliance) -> HomeConnectApplianceData: ...
|
29
31
|
|
30
32
|
class HomeConnectCoordinator(DataUpdateCoordinator[dict[str, HomeConnectApplianceData]]):
|
31
33
|
config_entry: HomeConnectConfigEntry
|
@@ -1,9 +1,12 @@
|
|
1
|
+
from .config_flow import HomeAssistantSkyConnectConfigFlow as HomeAssistantSkyConnectConfigFlow
|
1
2
|
from .const import DOMAIN as DOMAIN
|
2
3
|
from .util import get_hardware_variant as get_hardware_variant
|
4
|
+
from _typeshed import Incomplete
|
3
5
|
from homeassistant.components.hardware.models import HardwareInfo as HardwareInfo, USBInfo as USBInfo
|
4
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
5
7
|
|
6
8
|
DOCUMENTATION_URL: str
|
9
|
+
EXPECTED_ENTRY_VERSION: Incomplete
|
7
10
|
|
8
11
|
@callback
|
9
12
|
def async_info(hass: HomeAssistant) -> list[HardwareInfo]: ...
|
@@ -38,8 +38,7 @@ def mean(values: list[float]) -> float | None: ...
|
|
38
38
|
DEG_TO_RAD: Incomplete
|
39
39
|
RAD_TO_DEG: Incomplete
|
40
40
|
|
41
|
-
def weighted_circular_mean(values: Iterable[tuple[float, float]]) -> float: ...
|
42
|
-
def circular_mean(values: list[float]) -> float: ...
|
41
|
+
def weighted_circular_mean(values: Iterable[tuple[float, float]]) -> tuple[float, float]: ...
|
43
42
|
|
44
43
|
_LOGGER: Incomplete
|
45
44
|
|
@@ -61,6 +60,7 @@ class StatisticsRow(BaseStatisticsRow, total=False):
|
|
61
60
|
min: float | None
|
62
61
|
max: float | None
|
63
62
|
mean: float | None
|
63
|
+
mean_weight: float | None
|
64
64
|
change: float | None
|
65
65
|
|
66
66
|
def get_display_unit(hass: HomeAssistant, statistic_id: str, statistic_unit: str | None) -> str | None: ...
|
@@ -39,7 +39,7 @@ MEAN_TYPE_CHANGED_ISSUE: str
|
|
39
39
|
|
40
40
|
def _get_sensor_states(hass: HomeAssistant) -> list[State]: ...
|
41
41
|
def _time_weighted_arithmetic_mean(fstates: list[tuple[float, State]], start: datetime.datetime, end: datetime.datetime) -> float: ...
|
42
|
-
def _time_weighted_circular_mean(fstates: list[tuple[float, State]], start: datetime.datetime, end: datetime.datetime) -> float: ...
|
42
|
+
def _time_weighted_circular_mean(fstates: list[tuple[float, State]], start: datetime.datetime, end: datetime.datetime) -> tuple[float, float]: ...
|
43
43
|
def _get_units(fstates: list[tuple[float, State]]) -> set[str | None]: ...
|
44
44
|
def _equivalent_units(units: set[str | None]) -> bool: ...
|
45
45
|
def _entity_history_to_float_and_state(entity_history: Iterable[State]) -> list[tuple[float, State]]: ...
|
@@ -11,13 +11,15 @@ _LOGGER: Incomplete
|
|
11
11
|
class HomeAssistantQueueListener(logging.handlers.QueueListener):
|
12
12
|
LOG_COUNTS_RESET_INTERVAL: int
|
13
13
|
MAX_LOGS_COUNT: int
|
14
|
+
EXCLUDED_LOG_COUNT_MODULES: Incomplete
|
14
15
|
_last_reset: float
|
15
16
|
_log_counts: dict[str, int]
|
16
|
-
|
17
|
+
_module_log_count_skip_flags: dict[str, bool]
|
17
18
|
def __init__(self, queue: SimpleQueue[logging.Handler], *handlers: logging.Handler) -> None: ...
|
18
19
|
@override
|
19
20
|
def handle(self, record: logging.LogRecord) -> None: ...
|
20
21
|
def _reset_counters(self, time_sec: float) -> None: ...
|
22
|
+
def _update_skip_flags(self, module_name: str) -> bool: ...
|
21
23
|
|
22
24
|
class HomeAssistantQueueHandler(logging.handlers.QueueHandler):
|
23
25
|
listener: logging.handlers.QueueListener | None
|
{homeassistant_stubs-2025.4.0b14.dist-info → homeassistant_stubs-2025.4.1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2025.4.
|
3
|
+
Version: 2025.4.1
|
4
4
|
Summary: PEP 484 typing stubs for Home Assistant Core
|
5
5
|
Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
|
6
6
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
|
|
18
18
|
Classifier: Topic :: Software Development
|
19
19
|
Classifier: Typing :: Typed
|
20
20
|
Requires-Python: <3.14,>=3.13
|
21
|
-
Requires-Dist: homeassistant==2025.4.
|
21
|
+
Requires-Dist: homeassistant==2025.4.1
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|
@@ -301,7 +301,7 @@ homeassistant-stubs/components/apcupsd/sensor.pyi,sha256=opZtqvQaVqem1yBrFJ24Y40
|
|
301
301
|
homeassistant-stubs/components/api/__init__.pyi,sha256=86CpswbSa_ZMz-FG4SJ-Dg5U65yQYAm1clV1F08qUBM,4790
|
302
302
|
homeassistant-stubs/components/apple_tv/__init__.pyi,sha256=Vx_Ufc5h8juEsdqVPesvzoQUxURYKa0c6ACbzQb19Oc,3127
|
303
303
|
homeassistant-stubs/components/apple_tv/browse_media.pyi,sha256=wA0bxIf0TNUyrdHFHMcR6Rcdy2GqzN24Rpad4f_FdCs,275
|
304
|
-
homeassistant-stubs/components/apple_tv/config_flow.pyi,sha256=
|
304
|
+
homeassistant-stubs/components/apple_tv/config_flow.pyi,sha256=XjV5zw5xn0Se3SB9TfmNNq8T4lqemRNo-tx6sChtViQ,4411
|
305
305
|
homeassistant-stubs/components/apple_tv/const.pyi,sha256=AEiFcwbRcnL22I9XkoOoeiC8xmWR0VmKl76dLWiMkcE,123
|
306
306
|
homeassistant-stubs/components/apple_tv/entity.pyi,sha256=rYgEUhRyIIF8L3jvaZpYzU8oJzYjzo3SPONATusb8Rc,1045
|
307
307
|
homeassistant-stubs/components/apple_tv/media_player.pyi,sha256=3B9KGaX9GNZCtVAjFyLo0aUbWZbWUwMDV4sCPuq66IE,4901
|
@@ -1437,7 +1437,7 @@ homeassistant-stubs/components/home_connect/button.pyi,sha256=PyxGz72Sg-m3F6zSSi
|
|
1437
1437
|
homeassistant-stubs/components/home_connect/common.pyi,sha256=DdXLnrGG35ZIj1RKm0hnwJ8mx5x0Id1bRkrqF5V6j5Q,1821
|
1438
1438
|
homeassistant-stubs/components/home_connect/config_flow.pyi,sha256=ByiAF8LD3ej3wG1wcxEFwqLJa0YJsRHb2W6cLdNUUiU,790
|
1439
1439
|
homeassistant-stubs/components/home_connect/const.pyi,sha256=R41D3aBIKtzZJcuj1yvzc88zlI2pVz-thaPVsVsgCSw,1841
|
1440
|
-
homeassistant-stubs/components/home_connect/coordinator.pyi,sha256=
|
1440
|
+
homeassistant-stubs/components/home_connect/coordinator.pyi,sha256=LOGeDIUZVx2RQXBdqq7HXn8Tzzuj6SH5GZ2W7KqQ1bA,3508
|
1441
1441
|
homeassistant-stubs/components/home_connect/diagnostics.pyi,sha256=xd5stDFXPm86S-CJNctSEzLbByNTM253HDD34lifBHI,773
|
1442
1442
|
homeassistant-stubs/components/home_connect/entity.pyi,sha256=qDLWmPlkRV1j54lBRohnR_mtsq9ET-KcbpjhsdGvg-w,2285
|
1443
1443
|
homeassistant-stubs/components/home_connect/light.pyi,sha256=ZdzcU-7barDseZjwoI6U8hEA70H5XuinORlk-kXrWLE,2711
|
@@ -1481,7 +1481,7 @@ homeassistant-stubs/components/homeassistant_hardware/util.pyi,sha256=G4w7kD5pW9
|
|
1481
1481
|
homeassistant-stubs/components/homeassistant_sky_connect/__init__.pyi,sha256=17fH-x7pllnVgN9V4cE6oJtr8opPiMqBAwXqRM_4frM,1287
|
1482
1482
|
homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi,sha256=_3aSz299ujkivdPJp7kcLb_y2ENP-CYBKRyUoVwXLv0,3081
|
1483
1483
|
homeassistant-stubs/components/homeassistant_sky_connect/const.pyi,sha256=fFnpI55a5USnVp_mqFE_kDkvecqB7_pr-8lymcF6pCE,702
|
1484
|
-
homeassistant-stubs/components/homeassistant_sky_connect/hardware.pyi,sha256=
|
1484
|
+
homeassistant-stubs/components/homeassistant_sky_connect/hardware.pyi,sha256=vNZJUAD5xWtvLImiCprhDspfZJCwxW4AIN5P-IZ1-eE,547
|
1485
1485
|
homeassistant-stubs/components/homeassistant_sky_connect/update.pyi,sha256=-2gxnNfLuXPi0DXecaGHZUkdmq-MSmn5g1U9x65bDNc,2297
|
1486
1486
|
homeassistant-stubs/components/homeassistant_sky_connect/util.pyi,sha256=0apj3sPwxZSaKBgNmmNAFwpyzHCdwoMQBel6VWg78S8,412
|
1487
1487
|
homeassistant-stubs/components/homeassistant_yellow/__init__.pyi,sha256=29W6EXOTxwfcX4NyLivfw2oMaH3h4i1QlbBad4vv9cg,1235
|
@@ -2814,7 +2814,7 @@ homeassistant-stubs/components/recorder/purge.pyi,sha256=rFgTAV4Un0h6OP7FdKTOa6e
|
|
2814
2814
|
homeassistant-stubs/components/recorder/queries.pyi,sha256=185rzuArHlphbVOiLbOszfTLTNtER-CAoykwrs9T3ig,4904
|
2815
2815
|
homeassistant-stubs/components/recorder/repack.pyi,sha256=uT-A8NGsSHYz1fQo2pVBFVRzp0z0GhMiwN5Ydl4bUN4,247
|
2816
2816
|
homeassistant-stubs/components/recorder/services.pyi,sha256=FWjWbqHuPUkyWuocRu9HWFBgsjqhB-lcees-Tdn7ZpQ,1479
|
2817
|
-
homeassistant-stubs/components/recorder/statistics.pyi,sha256=
|
2817
|
+
homeassistant-stubs/components/recorder/statistics.pyi,sha256=LVVif1nCcDEM_KpPLpu9dUii027B-hKZjL6WCEvFLGY,19095
|
2818
2818
|
homeassistant-stubs/components/recorder/tasks.pyi,sha256=W3HZdHnVReKOF7zdIPKv9tfO1LqfJeLnefuVEW3a11Q,4425
|
2819
2819
|
homeassistant-stubs/components/recorder/util.pyi,sha256=rsXcVF4ZyeZibo1_J2hr_kdkfK9vYmfqIwwy1VvH1zQ,6054
|
2820
2820
|
homeassistant-stubs/components/recorder/websocket_api.pyi,sha256=PWJVhQOzOmREYJy-9B7vN77EVyZcYscemhGvRHW2d9A,5186
|
@@ -3106,7 +3106,7 @@ homeassistant-stubs/components/sensor/const.pyi,sha256=c-GJQQyI4R1CDndjbZEDSac80
|
|
3106
3106
|
homeassistant-stubs/components/sensor/device_condition.pyi,sha256=j4LMUMne8af5n1kC90lkwEhGXLdkiiqSBk1jFetjpvk,2683
|
3107
3107
|
homeassistant-stubs/components/sensor/device_trigger.pyi,sha256=4PQfuFXz0QpYyLYZeXZbzz9-wO9loc9GeIV5d4X_kEg,2653
|
3108
3108
|
homeassistant-stubs/components/sensor/helpers.pyi,sha256=JNlMEuLjabKhmYEHNutmqDSxgv5CCaIHil1t43v1ilg,341
|
3109
|
-
homeassistant-stubs/components/sensor/recorder.pyi,sha256=
|
3109
|
+
homeassistant-stubs/components/sensor/recorder.pyi,sha256=rCAiF6gVW2J7MtIbD9VMvFMoMeqDRDOneW94FBkAUWw,4316
|
3110
3110
|
homeassistant-stubs/components/sensor/significant_change.pyi,sha256=4r4zyrkdkm-ZSUSSxajXc6GByr6sq8CiHl3rw7mYp3Q,832
|
3111
3111
|
homeassistant-stubs/components/sensor/websocket_api.pyi,sha256=7x5VxA9J9KHf-SUzbNgJa77UcZIvZgplzQ_2OCTWztY,774
|
3112
3112
|
homeassistant-stubs/components/sensorpush_cloud/__init__.pyi,sha256=lORKoHc2ntQA7NcXAN2jQAlsG127uiCcqoe03pCBLys,478
|
@@ -4116,7 +4116,7 @@ homeassistant-stubs/util/json.pyi,sha256=Iw7r00FgSRwMCPFDVJALEtU2EjOead5JltAvgqc
|
|
4116
4116
|
homeassistant-stubs/util/language.pyi,sha256=7-XZJ24hxgkjXjcKOZ55ZvFiF1hCyt9i0lB-C0fP5S0,911
|
4117
4117
|
homeassistant-stubs/util/limited_size_dict.pyi,sha256=Lz6i3wIh_4EWJS4BT5Rimj3J-v69j_rOkzBFIrg0xSw,343
|
4118
4118
|
homeassistant-stubs/util/location.pyi,sha256=NPEbXTGnPAGnnVlarcz_O7p20oEcIXAj_3FKT5JCG8w,923
|
4119
|
-
homeassistant-stubs/util/logging.pyi,sha256=
|
4119
|
+
homeassistant-stubs/util/logging.pyi,sha256=bYNy5br9NCzvju1Py05__baK9ShuSVqzW5W6galVw2k,2430
|
4120
4120
|
homeassistant-stubs/util/loop.pyi,sha256=EBCj4suAvaIwExCu5EF0K9NJCqO9DDnilMoCF6t5GHo,1088
|
4121
4121
|
homeassistant-stubs/util/network.pyi,sha256=nQkWDlpMdV2Gu85jl8E7SmU3btxuMiXSL25oG2Bis0Y,751
|
4122
4122
|
homeassistant-stubs/util/package.pyi,sha256=MdcrWpIlyDlp6cSxBkD1IzclDl2hLsVvfoxtdCbvQLk,586
|
@@ -4140,7 +4140,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=vaIsOJB6hkwj7GLyo3YCNZCTwVgvvODy
|
|
4140
4140
|
homeassistant-stubs/util/yaml/input.pyi,sha256=j_ejvjaXDxeNYtA4hb9tNUPsQdi7wogbmTQXsqmt5xo,253
|
4141
4141
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=cgUew76NjS7Q1Aml5sLBE2DB9JGrJS2fE-EDE92p-og,805
|
4142
4142
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=Ynjx0JaWF3u82Pj8aXO-YeqrkzNO8t-Nn7G7rr_X-oI,206
|
4143
|
-
homeassistant_stubs-2025.4.
|
4144
|
-
homeassistant_stubs-2025.4.
|
4145
|
-
homeassistant_stubs-2025.4.
|
4146
|
-
homeassistant_stubs-2025.4.
|
4143
|
+
homeassistant_stubs-2025.4.1.dist-info/METADATA,sha256=ibSai9ZiY-WyxZPl0aOOh4QizRbG2xBk8vCtQQWQ8M4,2952
|
4144
|
+
homeassistant_stubs-2025.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
4145
|
+
homeassistant_stubs-2025.4.1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
4146
|
+
homeassistant_stubs-2025.4.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|