homeassistant-stubs 2024.10.0b7__py3-none-any.whl → 2024.10.0b8__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/bryant_evolution/config_flow.pyi +3 -1
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +3 -1
- homeassistant-stubs/components/homeworks/config_flow.pyi +4 -1
- homeassistant-stubs/components/sensor/recorder.pyi +1 -0
- homeassistant-stubs/components/tailwind/cover.pyi +1 -1
- {homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/RECORD +9 -9
- {homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/licenses/LICENSE +0 -0
@@ -1,5 +1,6 @@
|
|
1
1
|
from .const import CONF_SYSTEM_ZONE as CONF_SYSTEM_ZONE, DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
+
from collections.abc import Mapping
|
3
4
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
4
5
|
from homeassistant.const import CONF_FILENAME as CONF_FILENAME
|
5
6
|
from homeassistant.helpers.typing import UNDEFINED as UNDEFINED
|
@@ -12,4 +13,5 @@ async def _enumerate_sz(tty: str) -> list[tuple[int, int]]: ...
|
|
12
13
|
|
13
14
|
class BryantConfigFlow(ConfigFlow, domain=DOMAIN):
|
14
15
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
15
|
-
async def async_step_reconfigure(self,
|
16
|
+
async def async_step_reconfigure(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
17
|
+
async def async_step_reconfigure_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -20,6 +20,7 @@ async def validate_input(hass: HomeAssistant, host: str, username: str, password
|
|
20
20
|
|
21
21
|
class EnphaseConfigFlow(ConfigFlow, domain=DOMAIN):
|
22
22
|
VERSION: int
|
23
|
+
_reconnect_entry: ConfigEntry
|
23
24
|
ip_address: Incomplete
|
24
25
|
username: Incomplete
|
25
26
|
protovers: Incomplete
|
@@ -33,7 +34,8 @@ class EnphaseConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
33
34
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
34
35
|
def _async_envoy_name(self) -> str: ...
|
35
36
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
36
|
-
async def async_step_reconfigure(self,
|
37
|
+
async def async_step_reconfigure(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
38
|
+
async def async_step_reconfigure_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
37
39
|
|
38
40
|
class EnvoyOptionsFlowHandler(OptionsFlowWithConfigEntry):
|
39
41
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -2,6 +2,7 @@ import voluptuous as vol
|
|
2
2
|
from .const import CONF_ADDR as CONF_ADDR, CONF_BUTTONS as CONF_BUTTONS, CONF_CONTROLLER_ID as CONF_CONTROLLER_ID, CONF_DIMMERS as CONF_DIMMERS, CONF_INDEX as CONF_INDEX, CONF_KEYPADS as CONF_KEYPADS, CONF_LED as CONF_LED, CONF_NUMBER as CONF_NUMBER, CONF_RATE as CONF_RATE, CONF_RELEASE_DELAY as CONF_RELEASE_DELAY, DEFAULT_BUTTON_NAME as DEFAULT_BUTTON_NAME, DEFAULT_KEYPAD_NAME as DEFAULT_KEYPAD_NAME, DEFAULT_LIGHT_NAME as DEFAULT_LIGHT_NAME, DOMAIN as DOMAIN
|
3
3
|
from .util import calculate_unique_id as calculate_unique_id
|
4
4
|
from _typeshed import Incomplete
|
5
|
+
from collections.abc import Mapping
|
5
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
6
7
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME
|
7
8
|
from homeassistant.core import async_get_hass as async_get_hass, callback as callback
|
@@ -52,8 +53,10 @@ DATA_SCHEMA_EDIT_LIGHT: Incomplete
|
|
52
53
|
OPTIONS_FLOW: Incomplete
|
53
54
|
|
54
55
|
class HomeworksConfigFlowHandler(ConfigFlow, domain=DOMAIN):
|
56
|
+
_context_entry: ConfigEntry
|
55
57
|
async def _validate_edit_controller(self, user_input: dict[str, Any]) -> dict[str, Any]: ...
|
56
|
-
async def async_step_reconfigure(self,
|
58
|
+
async def async_step_reconfigure(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
59
|
+
async def async_step_reconfigure_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
57
60
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
58
61
|
@staticmethod
|
59
62
|
def async_get_options_flow(config_entry: ConfigEntry) -> SchemaOptionsFlowHandler: ...
|
@@ -30,6 +30,7 @@ def _time_weighted_average(fstates: list[tuple[float, State]], start: datetime.d
|
|
30
30
|
def _get_units(fstates: list[tuple[float, State]]) -> set[str | None]: ...
|
31
31
|
def _equivalent_units(units: set[str | None]) -> bool: ...
|
32
32
|
def _entity_history_to_float_and_state(entity_history: Iterable[State]) -> list[tuple[float, State]]: ...
|
33
|
+
def _is_numeric(state: State) -> bool: ...
|
33
34
|
def _normalize_states(hass: HomeAssistant, old_metadatas: dict[str, tuple[int, StatisticMetaData]], fstates: list[tuple[float, State]], entity_id: str) -> tuple[str | None, list[tuple[float, State]]]: ...
|
34
35
|
def _suggest_report_issue(hass: HomeAssistant, entity_id: str) -> str: ...
|
35
36
|
def warn_dip(hass: HomeAssistant, entity_id: str, state: State, previous_fstate: float) -> None: ...
|
{homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.10.
|
3
|
+
Version: 2024.10.0b8
|
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.13,>=3.12
|
21
|
-
Requires-Dist: homeassistant==2024.10.
|
21
|
+
Requires-Dist: homeassistant==2024.10.0b8
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|
{homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/RECORD
RENAMED
@@ -514,7 +514,7 @@ homeassistant-stubs/components/brother/sensor.pyi,sha256=nG_jWQZzn1d2gER7oncrCwb
|
|
514
514
|
homeassistant-stubs/components/browser/__init__.pyi,sha256=AZsijjI191wYaG9Ba3_xnIq2BuJAdGvugiKtx-92T0s,443
|
515
515
|
homeassistant-stubs/components/bryant_evolution/__init__.pyi,sha256=f4WahxHjnQb8jHMXdYMdbO6Lq2FSdNez93ldrppgmC4,954
|
516
516
|
homeassistant-stubs/components/bryant_evolution/climate.pyi,sha256=MwYxDQtp3x8WgDrfKQdk1fMjpSyptmlZ7ZiFCHRqNX0,2248
|
517
|
-
homeassistant-stubs/components/bryant_evolution/config_flow.pyi,sha256=
|
517
|
+
homeassistant-stubs/components/bryant_evolution/config_flow.pyi,sha256=No5a6ytpXzkJJgz61yirM0_DaWNHQWOTcjEbrYEgBco,889
|
518
518
|
homeassistant-stubs/components/bryant_evolution/const.pyi,sha256=qFKzjLqtxddzgyVeUIxQWHo17cMtChuCpo8VKvQg_zQ,34
|
519
519
|
homeassistant-stubs/components/bryant_evolution/names.pyi,sha256=1sWNHNGD4fGJ7OuZkFffEP7FpKMOxhZVHN0ONpamNMM,260
|
520
520
|
homeassistant-stubs/components/bthome/__init__.pyi,sha256=_JBQ1Zu86QW8H6defWInXrqEGjm0PTkAO4Ui2Ro-D84,1635
|
@@ -940,7 +940,7 @@ homeassistant-stubs/components/enigma2/coordinator.pyi,sha256=WRAgkZPxFtJTtvm9JX
|
|
940
940
|
homeassistant-stubs/components/enigma2/media_player.pyi,sha256=MWSScFRyyiCmqtB3auFQr7GsAg3s5vqxaZARzrE7JtY,3577
|
941
941
|
homeassistant-stubs/components/enphase_envoy/__init__.pyi,sha256=swGesyeMwjqZHSlu-cYnIB1iyJzIavlfXLOqGScvhrM,838
|
942
942
|
homeassistant-stubs/components/enphase_envoy/binary_sensor.pyi,sha256=qMfp4j_d7KLJTkiXHZ4w5x4q_R9cyWtr0Ag9rJFOHKA,2931
|
943
|
-
homeassistant-stubs/components/enphase_envoy/config_flow.pyi,sha256=
|
943
|
+
homeassistant-stubs/components/enphase_envoy/config_flow.pyi,sha256=yW7dx-7VRtFnOSQX63pewAqnI0kEdB_IcyZALbf6J-A,2408
|
944
944
|
homeassistant-stubs/components/enphase_envoy/const.pyi,sha256=3F0ZqogUXeEyGCLNNLC8fEN4eyva-W0_7ksLXBoA3AM,250
|
945
945
|
homeassistant-stubs/components/enphase_envoy/coordinator.pyi,sha256=QvGu-bMZH9QnlPsyskWd9YMS-RWCPwmoBARPsjoNBmI,1818
|
946
946
|
homeassistant-stubs/components/enphase_envoy/diagnostics.pyi,sha256=X-CPl1VTzPm4UxmM0qvsL4gv-MWsL7N3iqs9n1L7bxs,969
|
@@ -1369,7 +1369,7 @@ homeassistant-stubs/components/homewizard/switch.pyi,sha256=1LwJXWfcLLcUrBj2cw0u
|
|
1369
1369
|
homeassistant-stubs/components/homeworks/__init__.pyi,sha256=9oaxsYzKp_3Q4_qq8566zz5OqzbtcIKK3xf4EFYUrPs,2596
|
1370
1370
|
homeassistant-stubs/components/homeworks/binary_sensor.pyi,sha256=FvzZWOJeZTA2ITEqsCcsRPBgkqnKN_U2czIuzahpDEo,1657
|
1371
1371
|
homeassistant-stubs/components/homeworks/button.pyi,sha256=AI_965a79V-U7XX45NURxedU_iewcKEcOcr6CDTOAs0,1307
|
1372
|
-
homeassistant-stubs/components/homeworks/config_flow.pyi,sha256=
|
1372
|
+
homeassistant-stubs/components/homeworks/config_flow.pyi,sha256=PZ_ThUku0wq8oj6R-k7d6IFDim76ZbPN5Q-UFGpwVlY,4835
|
1373
1373
|
homeassistant-stubs/components/homeworks/const.pyi,sha256=mZW2KRR9OBLWmQH_a0xziVAWcOl5OgEw12_w_vFJtlg,265
|
1374
1374
|
homeassistant-stubs/components/homeworks/entity.pyi,sha256=Q4yQkmI6owwCELROPtHa9FE8H10Kqa3CGGPB-1pSIy0,627
|
1375
1375
|
homeassistant-stubs/components/homeworks/light.pyi,sha256=dCIgeIM9hBymdAIS165vYVx-kV9n7TSGPuOgo4RlzGI,1841
|
@@ -2693,7 +2693,7 @@ homeassistant-stubs/components/sensor/const.pyi,sha256=yWxy53j_9IHDTmfhfMjmDoxVi
|
|
2693
2693
|
homeassistant-stubs/components/sensor/device_condition.pyi,sha256=ls_H9Yhl2ZNiqqGMboxyUdLMAzcnvWslPczidY3ts4s,2557
|
2694
2694
|
homeassistant-stubs/components/sensor/device_trigger.pyi,sha256=zeZwmik_roGUaW9Oq79hq9fnED7aoPdoXcTU1Swo2F0,2549
|
2695
2695
|
homeassistant-stubs/components/sensor/helpers.pyi,sha256=kfY6v9C-MIUroyx4bB9S-3UoVqmeRy3WpHU6tyUvrzk,331
|
2696
|
-
homeassistant-stubs/components/sensor/recorder.pyi,sha256=
|
2696
|
+
homeassistant-stubs/components/sensor/recorder.pyi,sha256=2YZthASut7lT2pQizxuQ_ERcqtyasw8g2ZRHFzJr2PM,3790
|
2697
2697
|
homeassistant-stubs/components/sensor/significant_change.pyi,sha256=V1FGm74Tb-9yJSOmQchjgbEA5CwwH9QsHvRFA2ejCNA,822
|
2698
2698
|
homeassistant-stubs/components/sensor/websocket_api.pyi,sha256=Iv9OeniaZNnqYWgcLy91XHZJd01PD5W7LW87aQ8drJs,674
|
2699
2699
|
homeassistant-stubs/components/sensoterra/__init__.pyi,sha256=I-LfmeGmDkLSWDt72GSAlV0W4ckY1T29Is6bAL3yoZo,553
|
@@ -2989,7 +2989,7 @@ homeassistant-stubs/components/tailwind/button.pyi,sha256=XBCJDuaKYwOmXx0wbMBpfQ
|
|
2989
2989
|
homeassistant-stubs/components/tailwind/config_flow.pyi,sha256=ZUXPxFcPACTcGs0G7VOHzriK4L1_59W9ivEn1Bs02_8,1730
|
2990
2990
|
homeassistant-stubs/components/tailwind/const.pyi,sha256=0d_qsIexzVa-IraayyR1VSZW9laF7ORyUjsgx8WO0Vo,97
|
2991
2991
|
homeassistant-stubs/components/tailwind/coordinator.pyi,sha256=EDXYzs0qxeKNwwIj0hWtkvcAm6KbwV7ddwGtcKC_GDk,909
|
2992
|
-
homeassistant-stubs/components/tailwind/cover.pyi,sha256=
|
2992
|
+
homeassistant-stubs/components/tailwind/cover.pyi,sha256=ASW9f1MRX8c9u6bjdBidjvFy6PQT9Wci8jJmn5a-7TI,1153
|
2993
2993
|
homeassistant-stubs/components/tailwind/diagnostics.pyi,sha256=o_D_pZrJLLu0HhaLLCJJyQRBe3ELZlr59NMBqgn5e64,266
|
2994
2994
|
homeassistant-stubs/components/tailwind/entity.pyi,sha256=EqB1O-7PapGXPYjUMiJsB9FSfIEnjCOXf_NGsCRhqZU,1110
|
2995
2995
|
homeassistant-stubs/components/tailwind/number.pyi,sha256=M94hDKe9ECreR8SPfVN6iIUvMPMdlPNC19VwdraAqVU,1920
|
@@ -3654,7 +3654,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3654
3654
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3655
3655
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=FJDEgKwYTwuB8hBeJVjqwYqJ5hQZTSF_DtsnuO-E-pM,4758
|
3656
3656
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3657
|
-
homeassistant_stubs-2024.10.
|
3658
|
-
homeassistant_stubs-2024.10.
|
3659
|
-
homeassistant_stubs-2024.10.
|
3660
|
-
homeassistant_stubs-2024.10.
|
3657
|
+
homeassistant_stubs-2024.10.0b8.dist-info/METADATA,sha256=SD24e_DQoB67FpZKcy-ThjH78X0NvtcsXJRPLvCvUG8,2958
|
3658
|
+
homeassistant_stubs-2024.10.0b8.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
3659
|
+
homeassistant_stubs-2024.10.0b8.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3660
|
+
homeassistant_stubs-2024.10.0b8.dist-info/RECORD,,
|
{homeassistant_stubs-2024.10.0b7.dist-info → homeassistant_stubs-2024.10.0b8.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|