homeassistant-stubs 2024.9.1__py3-none-any.whl → 2024.9.2__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/renault/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/tplink/__init__.pyi +2 -2
- homeassistant-stubs/components/tplink/config_flow.pyi +5 -5
- homeassistant-stubs/components/tplink/const.pyi +4 -1
- {homeassistant_stubs-2024.9.1.dist-info → homeassistant_stubs-2024.9.2.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.9.1.dist-info → homeassistant_stubs-2024.9.2.dist-info}/RECORD +8 -8
- {homeassistant_stubs-2024.9.1.dist-info → homeassistant_stubs-2024.9.2.dist-info}/WHEEL +1 -1
- {homeassistant_stubs-2024.9.1.dist-info → homeassistant_stubs-2024.9.2.dist-info}/LICENSE +0 -0
@@ -10,7 +10,7 @@ from renault_api.kamereon.models import KamereonVehicleBatteryStatusData
|
|
10
10
|
@dataclass(frozen=True, kw_only=True)
|
11
11
|
class RenaultBinarySensorEntityDescription(BinarySensorEntityDescription, RenaultDataEntityDescription):
|
12
12
|
on_key: str
|
13
|
-
on_value: StateType
|
13
|
+
on_value: StateType | list[StateType]
|
14
14
|
def __init__(self, coordinator, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., on_key, on_value) -> None: ...
|
15
15
|
|
16
16
|
async def async_setup_entry(hass: HomeAssistant, config_entry: RenaultConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from .const import CONF_CREDENTIALS_HASH as CONF_CREDENTIALS_HASH, CONF_DEVICE_CONFIG as CONF_DEVICE_CONFIG, CONNECT_TIMEOUT as CONNECT_TIMEOUT, DISCOVERY_TIMEOUT as DISCOVERY_TIMEOUT, DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
1
|
+
from .const import CONF_AES_KEYS as CONF_AES_KEYS, CONF_CONFIG_ENTRY_MINOR_VERSION as CONF_CONFIG_ENTRY_MINOR_VERSION, CONF_CONNECTION_PARAMETERS as CONF_CONNECTION_PARAMETERS, CONF_CREDENTIALS_HASH as CONF_CREDENTIALS_HASH, CONF_DEVICE_CONFIG as CONF_DEVICE_CONFIG, CONF_USES_HTTP as CONF_USES_HTTP, CONNECT_TIMEOUT as CONNECT_TIMEOUT, DISCOVERY_TIMEOUT as DISCOVERY_TIMEOUT, DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
2
2
|
from .coordinator import TPLinkDataUpdateCoordinator as TPLinkDataUpdateCoordinator
|
3
3
|
from .models import TPLinkData as TPLinkData
|
4
4
|
from _typeshed import Incomplete
|
@@ -7,7 +7,7 @@ from collections.abc import Iterable
|
|
7
7
|
from homeassistant import config_entries as config_entries
|
8
8
|
from homeassistant.components import network as network
|
9
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
10
|
-
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_AUTHENTICATION as CONF_AUTHENTICATION, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
10
|
+
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_AUTHENTICATION as CONF_AUTHENTICATION, CONF_DEVICE as CONF_DEVICE, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC, CONF_MODEL as CONF_MODEL, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
11
11
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
12
12
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
13
13
|
from homeassistant.helpers import device_registry as dr, discovery_flow as discovery_flow
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from . import async_discover_devices as async_discover_devices, create_async_tplink_clientsession as create_async_tplink_clientsession, get_credentials as get_credentials, mac_alias as mac_alias, set_credentials as set_credentials
|
2
|
-
from .const import
|
2
|
+
from .const import CONF_AES_KEYS as CONF_AES_KEYS, CONF_CONFIG_ENTRY_MINOR_VERSION as CONF_CONFIG_ENTRY_MINOR_VERSION, CONF_CONNECTION_PARAMETERS as CONF_CONNECTION_PARAMETERS, CONF_CREDENTIALS_HASH as CONF_CREDENTIALS_HASH, CONF_USES_HTTP as CONF_USES_HTTP, CONNECT_TIMEOUT as CONNECT_TIMEOUT, DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Mapping
|
5
5
|
from homeassistant.components import dhcp as dhcp
|
@@ -15,16 +15,16 @@ STEP_AUTH_DATA_SCHEMA: Incomplete
|
|
15
15
|
|
16
16
|
class TPLinkConfigFlow(ConfigFlow, domain=DOMAIN):
|
17
17
|
VERSION: int
|
18
|
-
MINOR_VERSION
|
18
|
+
MINOR_VERSION = CONF_CONFIG_ENTRY_MINOR_VERSION
|
19
19
|
reauth_entry: ConfigEntry | None
|
20
20
|
_discovered_devices: Incomplete
|
21
21
|
_discovered_device: Incomplete
|
22
22
|
def __init__(self) -> None: ...
|
23
23
|
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
|
24
24
|
async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...
|
25
|
-
def _get_config_updates(self, entry: ConfigEntry, host: str,
|
26
|
-
def _update_config_if_entry_in_setup_error(self, entry: ConfigEntry, host: str,
|
27
|
-
async def _async_handle_discovery(self, host: str, formatted_mac: str,
|
25
|
+
def _get_config_updates(self, entry: ConfigEntry, host: str, device: Device | None) -> dict | None: ...
|
26
|
+
def _update_config_if_entry_in_setup_error(self, entry: ConfigEntry, host: str, device: Device | None) -> ConfigFlowResult | None: ...
|
27
|
+
async def _async_handle_discovery(self, host: str, formatted_mac: str, device: Device | None = None) -> ConfigFlowResult: ...
|
28
28
|
async def async_step_discovery_auth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
29
29
|
def _async_make_placeholders_from_discovery(self) -> dict[str, str]: ...
|
30
30
|
async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -12,6 +12,9 @@ ATTR_TODAY_ENERGY_KWH: Final[str]
|
|
12
12
|
ATTR_TOTAL_ENERGY_KWH: Final[str]
|
13
13
|
CONF_DEVICE_CONFIG: Final[str]
|
14
14
|
CONF_CREDENTIALS_HASH: Final[str]
|
15
|
-
|
15
|
+
CONF_CONNECTION_PARAMETERS: Final[str]
|
16
|
+
CONF_USES_HTTP: Final[str]
|
17
|
+
CONF_AES_KEYS: Final[str]
|
18
|
+
CONF_CONFIG_ENTRY_MINOR_VERSION: Final[int]
|
16
19
|
PLATFORMS: Final[Incomplete]
|
17
20
|
UNIT_MAPPING: Incomplete
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.9.
|
3
|
+
Version: 2024.9.2
|
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
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
17
17
|
Classifier: Topic :: Software Development
|
18
18
|
Classifier: Typing :: Typed
|
19
|
-
Requires-Dist: homeassistant (==2024.9.
|
19
|
+
Requires-Dist: homeassistant (==2024.9.2)
|
20
20
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
21
21
|
Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
|
22
22
|
Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
|
@@ -2410,7 +2410,7 @@ homeassistant-stubs/components/remote/device_trigger.pyi,sha256=uC5UaBHAFOgtfm8E
|
|
2410
2410
|
homeassistant-stubs/components/remote/reproduce_state.pyi,sha256=oJOAxdJbalNMGVeSVOIgqlVQRDY86ohveaCNjvgidPY,795
|
2411
2411
|
homeassistant-stubs/components/remote/significant_change.pyi,sha256=KhWPMRPlgztGlhTd9ZEgqabFB3wZtcsqAIrV-BgwTDs,326
|
2412
2412
|
homeassistant-stubs/components/renault/__init__.pyi,sha256=2jmHNxfj5G7XjEWY3YlJXoB5lX-lucJKau5JAPnOUx4,1184
|
2413
|
-
homeassistant-stubs/components/renault/binary_sensor.pyi,sha256=
|
2413
|
+
homeassistant-stubs/components/renault/binary_sensor.pyi,sha256=IJqXRlltjfcCznBvebyq5srTHIGAblyue50FhmFVOc4,1660
|
2414
2414
|
homeassistant-stubs/components/renault/button.pyi,sha256=H_XdvDp6dHqM8JnnAyS2gHFeroEwXkB8vuQofCSSe4Q,1401
|
2415
2415
|
homeassistant-stubs/components/renault/config_flow.pyi,sha256=Uv6nSKRHECUwRdlA5LEYee4LfsH-x4r0e0sXUPVLY7s,1269
|
2416
2416
|
homeassistant-stubs/components/renault/const.pyi,sha256=zEWjWB4A2GuxMpyIdhCEdK4_BwrjWs669PkDZkaupxE,195
|
@@ -2966,12 +2966,12 @@ homeassistant-stubs/components/tolo/number.pyi,sha256=7SA5qcRPYr1wTgqVNDw9NBF_SI
|
|
2966
2966
|
homeassistant-stubs/components/tolo/select.pyi,sha256=-yZ9DgdtO3ENL3MpNFibk_oRGpZFg0oilGsqv_PwbuM,1999
|
2967
2967
|
homeassistant-stubs/components/tolo/sensor.pyi,sha256=1ustAaos8DwW4_Xdgb1vb5PLz6bFxclDIjxTCNfub88,2204
|
2968
2968
|
homeassistant-stubs/components/tolo/switch.pyi,sha256=BK1FMHnx2LUyP2Hb5lWccjYUo5dg1vs0si30DzZXzvc,1809
|
2969
|
-
homeassistant-stubs/components/tplink/__init__.pyi,sha256=
|
2969
|
+
homeassistant-stubs/components/tplink/__init__.pyi,sha256=IVYIcHaD1txN1gMZgmcAH2-EXbcBd1E7-y_m2dfJXFg,2935
|
2970
2970
|
homeassistant-stubs/components/tplink/binary_sensor.pyi,sha256=7mQinXhp0QTreLU5QTRFc1CA0EfEumPhvKIa5q911ZY,1564
|
2971
2971
|
homeassistant-stubs/components/tplink/button.pyi,sha256=vP4K5dZZQb7uWQClbYNDk5ipbEMRc3SyWo-uBLArTH0,1433
|
2972
2972
|
homeassistant-stubs/components/tplink/climate.pyi,sha256=vsX5leWYVd6GXFRWLfKxqDEoJL0G4qjcy823flVug_Q,2188
|
2973
|
-
homeassistant-stubs/components/tplink/config_flow.pyi,sha256=
|
2974
|
-
homeassistant-stubs/components/tplink/const.pyi,sha256=
|
2973
|
+
homeassistant-stubs/components/tplink/config_flow.pyi,sha256=Nl_PtcNAXxv-hTpBK92mK9PBWegV-9f5SetKwqGl5ws,3441
|
2974
|
+
homeassistant-stubs/components/tplink/const.pyi,sha256=ctBhfTN9ha9_Fb7XALCNcED1PxBPi4sWpx6-ij8P4a0,613
|
2975
2975
|
homeassistant-stubs/components/tplink/coordinator.pyi,sha256=mWT8dNcTFM1HBGRJTm5z91ej7VaIoYfBksjOuOySlIw,835
|
2976
2976
|
homeassistant-stubs/components/tplink/diagnostics.pyi,sha256=DeZAwYKgyNzK6KIlHhdSsSmm83325gP311t5eo7VYEk,473
|
2977
2977
|
homeassistant-stubs/components/tplink/entity.pyi,sha256=mW5-8kGaaQSslpTHF3jOuHH3BJJS3PFNP-NuodIqv5E,3901
|
@@ -3529,7 +3529,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3529
3529
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3530
3530
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=FJDEgKwYTwuB8hBeJVjqwYqJ5hQZTSF_DtsnuO-E-pM,4758
|
3531
3531
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3532
|
-
homeassistant_stubs-2024.9.
|
3533
|
-
homeassistant_stubs-2024.9.
|
3534
|
-
homeassistant_stubs-2024.9.
|
3535
|
-
homeassistant_stubs-2024.9.
|
3532
|
+
homeassistant_stubs-2024.9.2.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3533
|
+
homeassistant_stubs-2024.9.2.dist-info/METADATA,sha256=S8YxuSM0mpRH4pIxeZDOgpGYEKMeciemtksE_pNJWSU,3011
|
3534
|
+
homeassistant_stubs-2024.9.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
3535
|
+
homeassistant_stubs-2024.9.2.dist-info/RECORD,,
|
File without changes
|