homeassistant-stubs 2024.5.0b0__py3-none-any.whl → 2024.5.0b1__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/group/entity.pyi +1 -3
- homeassistant-stubs/components/group/registry.pyi +0 -1
- homeassistant-stubs/components/onewire/model.pyi +1 -1
- homeassistant-stubs/components/onewire/onewirehub.pyi +2 -2
- homeassistant-stubs/components/rfxtrx/event.pyi +1 -0
- homeassistant-stubs/components/shelly/switch.pyi +1 -1
- homeassistant-stubs/components/shelly/utils.pyi +1 -0
- {homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/RECORD +11 -11
- {homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/LICENSE +0 -0
- {homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/WHEEL +0 -0
@@ -4,7 +4,7 @@ from .registry import GroupIntegrationRegistry as GroupIntegrationRegistry
|
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from abc import abstractmethod
|
6
6
|
from collections.abc import Callable as Callable, Collection, Mapping
|
7
|
-
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, ATTR_ENTITY_ID as ATTR_ENTITY_ID,
|
7
|
+
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, ATTR_ENTITY_ID as ATTR_ENTITY_ID, STATE_ON as STATE_ON
|
8
8
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, State as State, callback as callback, split_entity_id as split_entity_id
|
9
9
|
from homeassistant.helpers import start as start
|
10
10
|
from homeassistant.helpers.entity import Entity as Entity, async_generate_entity_id as async_generate_entity_id
|
@@ -31,7 +31,6 @@ class GroupEntity(Entity, metaclass=abc.ABCMeta):
|
|
31
31
|
class Group(Entity):
|
32
32
|
_unrecorded_attributes: Incomplete
|
33
33
|
_attr_should_poll: bool
|
34
|
-
single_active_domain: str | None
|
35
34
|
tracking: tuple[str, ...]
|
36
35
|
trackable: tuple[str, ...]
|
37
36
|
hass: Incomplete
|
@@ -71,7 +70,6 @@ class Group(Entity):
|
|
71
70
|
async def _async_state_changed_listener(self, event: Event[EventStateChangedData]) -> None: ...
|
72
71
|
def _reset_tracked_state(self) -> None: ...
|
73
72
|
def _see_state(self, new_state: State) -> None: ...
|
74
|
-
def _detect_specific_on_off_state(self, group_is_on: bool) -> set[str]: ...
|
75
73
|
def _async_update_group_state(self, tr_state: State | None = None) -> None: ...
|
76
74
|
|
77
75
|
def async_get_component(hass: HomeAssistant) -> EntityComponent[Group]: ...
|
@@ -19,7 +19,6 @@ class GroupIntegrationRegistry:
|
|
19
19
|
on_off_mapping: Incomplete
|
20
20
|
off_on_mapping: Incomplete
|
21
21
|
on_states_by_domain: Incomplete
|
22
|
-
off_state_by_domain: Incomplete
|
23
22
|
exclude_domains: Incomplete
|
24
23
|
def __init__(self) -> None: ...
|
25
24
|
def exclude_domain(self) -> None: ...
|
@@ -11,7 +11,7 @@ DEVICE_COUPLERS: Incomplete
|
|
11
11
|
DEVICE_MANUFACTURER: Incomplete
|
12
12
|
_LOGGER: Incomplete
|
13
13
|
|
14
|
-
def _is_known_device(device_family: str, device_type: str) -> bool: ...
|
14
|
+
def _is_known_device(device_family: str, device_type: str | None) -> bool: ...
|
15
15
|
|
16
16
|
class OneWireHub:
|
17
17
|
hass: Incomplete
|
@@ -22,7 +22,7 @@ class OneWireHub:
|
|
22
22
|
async def initialize(self, config_entry: ConfigEntry) -> None: ...
|
23
23
|
async def discover_devices(self) -> None: ...
|
24
24
|
def _discover_devices(self, path: str = '/', parent_id: str | None = None) -> list[OWDeviceDescription]: ...
|
25
|
-
def _get_device_type(self, device_path: str) -> str: ...
|
25
|
+
def _get_device_type(self, device_path: str) -> str | None: ...
|
26
26
|
|
27
27
|
class CannotConnect(HomeAssistantError): ...
|
28
28
|
class InvalidPath(HomeAssistantError): ...
|
@@ -1,4 +1,5 @@
|
|
1
1
|
from . import DeviceTuple as DeviceTuple, RfxtrxEntity as RfxtrxEntity, async_setup_platform_entry as async_setup_platform_entry
|
2
|
+
from .const import DEVICE_PACKET_TYPE_LIGHTING4 as DEVICE_PACKET_TYPE_LIGHTING4
|
2
3
|
from RFXtrx import RFXtrxDevice as RFXtrxDevice, RFXtrxEvent as RFXtrxEvent
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from homeassistant.components.event import EventEntity as EventEntity
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN, GAS_VALVE_OPEN_STATES as GAS_VALVE_OPEN_STATES
|
2
2
|
from .coordinator import ShellyBlockCoordinator as ShellyBlockCoordinator, ShellyRpcCoordinator as ShellyRpcCoordinator, get_entry_data as get_entry_data
|
3
3
|
from .entity import BlockEntityDescription as BlockEntityDescription, ShellyBlockAttributeEntity as ShellyBlockAttributeEntity, ShellyBlockEntity as ShellyBlockEntity, ShellyRpcEntity as ShellyRpcEntity, async_setup_block_attribute_entities as async_setup_block_attribute_entities
|
4
|
-
from .utils import async_remove_shelly_entity as async_remove_shelly_entity, get_device_entry_gen as get_device_entry_gen, get_rpc_key_ids as get_rpc_key_ids, is_block_channel_type_light as is_block_channel_type_light, is_rpc_channel_type_light as is_rpc_channel_type_light, is_rpc_thermostat_internal_actuator as is_rpc_thermostat_internal_actuator
|
4
|
+
from .utils import async_remove_shelly_entity as async_remove_shelly_entity, get_device_entry_gen as get_device_entry_gen, get_rpc_key_ids as get_rpc_key_ids, is_block_channel_type_light as is_block_channel_type_light, is_rpc_channel_type_light as is_rpc_channel_type_light, is_rpc_thermostat_internal_actuator as is_rpc_thermostat_internal_actuator, is_rpc_thermostat_mode as is_rpc_thermostat_mode
|
5
5
|
from _typeshed import Incomplete
|
6
6
|
from aioshelly.block_device import Block as Block
|
7
7
|
from dataclasses import dataclass
|
@@ -59,3 +59,4 @@ def is_rpc_wifi_stations_disabled(config: dict[str, Any], _status: dict[str, Any
|
|
59
59
|
def get_http_port(data: MappingProxyType[str, Any]) -> int: ...
|
60
60
|
async def async_shutdown_device(device: BlockDevice | RpcDevice) -> None: ...
|
61
61
|
def async_remove_shelly_rpc_entities(hass: HomeAssistant, domain: str, mac: str, keys: list[str]) -> None: ...
|
62
|
+
def is_rpc_thermostat_mode(ident: int, status: dict[str, Any]) -> bool: ...
|
{homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.5.
|
3
|
+
Version: 2024.5.0b1
|
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.5.
|
19
|
+
Requires-Dist: homeassistant (==2024.5.0b1)
|
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
|
{homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/RECORD
RENAMED
@@ -1125,14 +1125,14 @@ homeassistant-stubs/components/group/binary_sensor.pyi,sha256=XCZHEb_d4J7Il_yZ2X
|
|
1125
1125
|
homeassistant-stubs/components/group/config_flow.pyi,sha256=zugEMwzqDRPw58qL9ePhCxP6Jl8waWUp0QCzcm4GeWg,3726
|
1126
1126
|
homeassistant-stubs/components/group/const.pyi,sha256=SanQOXSFd3LWiK4enMQB3i1cmggRIYwu2rVEudnOm4E,268
|
1127
1127
|
homeassistant-stubs/components/group/cover.pyi,sha256=iQ8C6AdhwiXm5ne0SbEgqg5RV6h-fJ-isy_0MWUmbWs,3485
|
1128
|
-
homeassistant-stubs/components/group/entity.pyi,sha256=
|
1128
|
+
homeassistant-stubs/components/group/entity.pyi,sha256=YaepjI9QNz0tZQlF_9RLnsXu1K9R0ocakcen7FVY-fo,4159
|
1129
1129
|
homeassistant-stubs/components/group/event.pyi,sha256=YL-BFQIYQEt7u2kolvTPI1w0DnTqChri8IZbJLUokFM,2041
|
1130
1130
|
homeassistant-stubs/components/group/fan.pyi,sha256=2v1JYokO57dOPgY2qiHIftnCWxqXZTs5iZsEcAcxp54,3613
|
1131
1131
|
homeassistant-stubs/components/group/light.pyi,sha256=rFDQznpGcbzCwKXGFJ4fEo8o--OKO_azd1kYrVAhnIw,3507
|
1132
1132
|
homeassistant-stubs/components/group/lock.pyi,sha256=j7sM_Jsr1_S5jn7r3AhXT4kWHM0frxElxIEAdvR0JwU,2271
|
1133
1133
|
homeassistant-stubs/components/group/media_player.pyi,sha256=JCCIRb_-dG0bP0UPTMgciP82Cc40m0TTShzZpBakJGo,4563
|
1134
1134
|
homeassistant-stubs/components/group/notify.pyi,sha256=DXKOz050ed8J9L2JaX6Be1WsiOZVO1il4LwlPzhMIMY,1066
|
1135
|
-
homeassistant-stubs/components/group/registry.pyi,sha256=
|
1135
|
+
homeassistant-stubs/components/group/registry.pyi,sha256=aYwqC0cXCVN_uxuayfLO9VSKFtKo66Xz3R_2pp4rHvw,1093
|
1136
1136
|
homeassistant-stubs/components/group/reproduce_state.pyi,sha256=hsgYYKLLNWukmVn8EXhIMtzJwAvNx8Y-pm5iDmKiRQw,469
|
1137
1137
|
homeassistant-stubs/components/group/sensor.pyi,sha256=QKPvWUvGHXulD1QiqAV1DyMFbeYMR-ZD4PuVJfBAl5A,5128
|
1138
1138
|
homeassistant-stubs/components/group/switch.pyi,sha256=2aQZ0lDYwtK1AnoQ7iFyJJrCz4w7xM-6-65Gt3PKADU,1974
|
@@ -1956,9 +1956,9 @@ homeassistant-stubs/components/onewire/binary_sensor.pyi,sha256=2g4aMKRNG_qncRyE
|
|
1956
1956
|
homeassistant-stubs/components/onewire/config_flow.pyi,sha256=iS0kRhu0nQ85BCaN4DkLcQXN2bpj992XnHj4mtiKZBQ,2318
|
1957
1957
|
homeassistant-stubs/components/onewire/const.pyi,sha256=hRqntP8bAGykIWMTg_Fobo5hJ-yvGD0yfisqRQVJPLM,612
|
1958
1958
|
homeassistant-stubs/components/onewire/diagnostics.pyi,sha256=3cPlx3eq1XwW3ABCmanqg4eibuN4ugMcJcRbML7Im30,547
|
1959
|
-
homeassistant-stubs/components/onewire/model.pyi,sha256=
|
1959
|
+
homeassistant-stubs/components/onewire/model.pyi,sha256=VFX2vlxwlm4nRfKIVVsyQgWFWwCsFpDtEISLuqOLx7M,312
|
1960
1960
|
homeassistant-stubs/components/onewire/onewire_entities.pyi,sha256=j3KGk1s569RbQgMv9hcdsEmYK2uZ-_h15xlruHJqngs,1507
|
1961
|
-
homeassistant-stubs/components/onewire/onewirehub.pyi,sha256=
|
1961
|
+
homeassistant-stubs/components/onewire/onewirehub.pyi,sha256=ON5lGgLrH4tns5ulO1jnbv9qGJ7c94FmrZzM3-ju70E,1585
|
1962
1962
|
homeassistant-stubs/components/onewire/sensor.pyi,sha256=WWFDHb1IxoosOMWHvlur2FaEe9bPZk5bvvlAyX4hmvA,2859
|
1963
1963
|
homeassistant-stubs/components/onewire/switch.pyi,sha256=7W7QY0tz9in7byKrAdPiLB5LFrq6JvNcefC_bHNYrc8,1875
|
1964
1964
|
homeassistant-stubs/components/open_meteo/__init__.pyi,sha256=b5_qJ_llgjYzMPtOeYdgxBJOjV3ipgNLN6rq1hM1WSc,855
|
@@ -2293,7 +2293,7 @@ homeassistant-stubs/components/rfxtrx/cover.pyi,sha256=0C_niX03ICTvBfUVleuD5zUT-
|
|
2293
2293
|
homeassistant-stubs/components/rfxtrx/device_action.pyi,sha256=hOwkfGGWPqjkgA2qoOmP3MdLGu7AnGIJrpaDP6evnWk,1280
|
2294
2294
|
homeassistant-stubs/components/rfxtrx/device_trigger.pyi,sha256=iiQGRFWZ1NB9eK6Sz4vtVsu0D4yQ8YdQ2LujpU2VIrM,1380
|
2295
2295
|
homeassistant-stubs/components/rfxtrx/diagnostics.pyi,sha256=T-Xu2dwlHTCBntyWHfJSTIZQqZ1PevcHBt6FZAjwZiQ,407
|
2296
|
-
homeassistant-stubs/components/rfxtrx/event.pyi,sha256=
|
2296
|
+
homeassistant-stubs/components/rfxtrx/event.pyi,sha256=X_EepLARog8q-BCxOF85dlg8XzVzw82o5pzLR8ih_-4,1344
|
2297
2297
|
homeassistant-stubs/components/rfxtrx/helpers.pyi,sha256=7ctNipYXcokIk5Yvu7qu9_SF1rxgIbe-4h919dpbtVY,304
|
2298
2298
|
homeassistant-stubs/components/rfxtrx/light.pyi,sha256=kZ3b6zMMSUUNqn5xiYAzYlHYMjGiPXttYJQKRTCTRCs,1579
|
2299
2299
|
homeassistant-stubs/components/rfxtrx/sensor.pyi,sha256=ib-gmatmbK5hAv-tn80b8a_Q84Rxw3lH75u1aji07Ns,3041
|
@@ -2464,9 +2464,9 @@ homeassistant-stubs/components/shelly/light.pyi,sha256=dGDvfhs0DDQe22oOc_O5ZTPOw
|
|
2464
2464
|
homeassistant-stubs/components/shelly/logbook.pyi,sha256=Tyg-NqquagNlOHxhEV_cCs5kk9G38dYResAzZhFBpN0,994
|
2465
2465
|
homeassistant-stubs/components/shelly/number.pyi,sha256=9VcK3yv02FIoOWaI2q-yCGA72W4jvkjz5xt5wHNvzmk,2590
|
2466
2466
|
homeassistant-stubs/components/shelly/sensor.pyi,sha256=NK0hYtfW-gi4EDjFcP0jT6t3bMMmGhibujIMPVNv4To,6017
|
2467
|
-
homeassistant-stubs/components/shelly/switch.pyi,sha256=
|
2467
|
+
homeassistant-stubs/components/shelly/switch.pyi,sha256=AT5ud5s_ucnccTKnOYfChhBpe9iVcCV0q1EOSELyQFM,3896
|
2468
2468
|
homeassistant-stubs/components/shelly/update.pyi,sha256=rwNWiB2kyKK-reySjY7ZJ26bpP_KyI80P6ukh0yBN84,4721
|
2469
|
-
homeassistant-stubs/components/shelly/utils.pyi,sha256=
|
2469
|
+
homeassistant-stubs/components/shelly/utils.pyi,sha256=oxV3xC1_Osnycdg-Q-gamJb9pAr_INwVIYqGWQnQvy0,4662
|
2470
2470
|
homeassistant-stubs/components/shelly/valve.pyi,sha256=NrL9Ln_keBEw4WRLGsWHwcwWyBwMU6GF8F7Qvhh7cwA,2367
|
2471
2471
|
homeassistant-stubs/components/shopping_list/__init__.pyi,sha256=SAuctSuQY53LFbrl4-e5gFG-SOLppLqJOLdyGlp4Tr4,4669
|
2472
2472
|
homeassistant-stubs/components/shopping_list/config_flow.pyi,sha256=pZ_rPWc8tyyDavIxaSEPrQt0kFfswEUmqpjih7qIGbk,482
|
@@ -3322,7 +3322,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
|
|
3322
3322
|
homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
|
3323
3323
|
homeassistant-stubs/util/yaml/loader.pyi,sha256=8rCANDOO3yTLdOqK3AZNmpv-dQD7JVKP1VKDhnEjK3Y,4239
|
3324
3324
|
homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
|
3325
|
-
homeassistant_stubs-2024.5.
|
3326
|
-
homeassistant_stubs-2024.5.
|
3327
|
-
homeassistant_stubs-2024.5.
|
3328
|
-
homeassistant_stubs-2024.5.
|
3325
|
+
homeassistant_stubs-2024.5.0b1.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
|
3326
|
+
homeassistant_stubs-2024.5.0b1.dist-info/METADATA,sha256=N3k5a_8BggUjqkzOySI3H146H3g6nkLjTAzbjvaIVZs,3015
|
3327
|
+
homeassistant_stubs-2024.5.0b1.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
3328
|
+
homeassistant_stubs-2024.5.0b1.dist-info/RECORD,,
|
{homeassistant_stubs-2024.5.0b0.dist-info → homeassistant_stubs-2024.5.0b1.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|