homeassistant-stubs 2024.10.0b1__py3-none-any.whl → 2024.10.0b3__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.
@@ -1,5 +1,5 @@
1
1
  from . import AirGradientConfigEntry as AirGradientConfigEntry
2
- from .const import LOGGER as LOGGER
2
+ from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
3
3
  from _typeshed import Incomplete
4
4
  from airgradient import AirGradientClient as AirGradientClient, Config as Config, Measures as Measures
5
5
  from dataclasses import dataclass
@@ -14,7 +14,9 @@ class AirGradientData:
14
14
 
15
15
  class AirGradientCoordinator(DataUpdateCoordinator[AirGradientData]):
16
16
  config_entry: AirGradientConfigEntry
17
+ _current_version: str
17
18
  client: Incomplete
18
19
  serial_number: Incomplete
19
20
  def __init__(self, hass: HomeAssistant, client: AirGradientClient) -> None: ...
21
+ async def _async_setup(self) -> None: ...
20
22
  async def _async_update_data(self) -> AirGradientData: ...
@@ -0,0 +1,5 @@
1
+ from . import AirGradientConfigEntry as AirGradientConfigEntry
2
+ from homeassistant.core import HomeAssistant as HomeAssistant
3
+ from typing import Any
4
+
5
+ async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: AirGradientConfigEntry) -> dict[str, Any]: ...
@@ -19,8 +19,8 @@ _CONVERSATION_TIMEOUT_SEC: Final[Incomplete]
19
19
  _LOGGER: Incomplete
20
20
 
21
21
  class AssistSatelliteState(StrEnum):
22
- LISTENING_WAKE_WORD = 'listening_wake_word'
23
- LISTENING_COMMAND = 'listening_command'
22
+ IDLE = 'idle'
23
+ LISTENING = 'listening'
24
24
  PROCESSING = 'processing'
25
25
  RESPONDING = 'responding'
26
26
 
@@ -6,6 +6,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
6
  from homeassistant.const import CONF_API_KEY as CONF_API_KEY, Platform as Platform
7
7
  from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.exceptions import ConfigEntryError as ConfigEntryError
9
+ from homeassistant.helpers.httpx_client import get_async_client as get_async_client
9
10
 
10
11
  PLATFORMS: list[Platform]
11
12
 
@@ -3,13 +3,15 @@ from .const import CONF_CONFIGURE_VOICE as CONF_CONFIGURE_VOICE, CONF_MODEL as C
3
3
  from _typeshed import Incomplete
4
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
5
5
  from homeassistant.const import CONF_API_KEY as CONF_API_KEY
6
+ from homeassistant.core import HomeAssistant as HomeAssistant
7
+ from homeassistant.helpers.httpx_client import get_async_client as get_async_client
6
8
  from homeassistant.helpers.selector import SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig
7
9
  from typing import Any
8
10
 
9
11
  USER_STEP_SCHEMA: Incomplete
10
12
  _LOGGER: Incomplete
11
13
 
12
- async def get_voices_models(api_key: str) -> tuple[dict[str, str], dict[str, str]]: ...
14
+ async def get_voices_models(hass: HomeAssistant, api_key: str) -> tuple[dict[str, str], dict[str, str]]: ...
13
15
 
14
16
  class ElevenLabsConfigFlow(ConfigFlow, domain=DOMAIN):
15
17
  VERSION: int
@@ -22,7 +22,7 @@ class OverkizExecutor:
22
22
  def select_state(self, *states: str) -> OverkizStateType: ...
23
23
  def has_state(self, *states: str) -> bool: ...
24
24
  def select_attribute(self, *attributes: str) -> OverkizStateType: ...
25
- async def async_execute_command(self, command_name: str, *args: Any) -> None: ...
25
+ async def async_execute_command(self, command_name: str, *args: Any, refresh_afterwards: bool = True) -> None: ...
26
26
  async def async_cancel_command(self, commands_to_cancel: list[OverkizCommand]) -> bool: ...
27
27
  async def async_cancel_execution(self, exec_id: str) -> None: ...
28
28
  def get_gateway_id(self) -> str: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: homeassistant-stubs
3
- Version: 2024.10.0b1
3
+ Version: 2024.10.0b3
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.0b1
21
+ Requires-Dist: homeassistant==2024.10.0b3
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  [![CI](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml/badge.svg)](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
@@ -95,7 +95,8 @@ homeassistant-stubs/components/airgradient/__init__.pyi,sha256=_BwPb-dfq9oGvlYpF
95
95
  homeassistant-stubs/components/airgradient/button.pyi,sha256=sI0Vp2x_bSOB07UF3KthjygNlXeF-4Ei12LPajJJbis,1764
96
96
  homeassistant-stubs/components/airgradient/config_flow.pyi,sha256=cBK11DlIP1K6b-6xegfJPauMdq-zDzSUrVaOWxifhJQ,985
97
97
  homeassistant-stubs/components/airgradient/const.pyi,sha256=5_BnHMq9IW-IG-oFZhvN7gZB2ODd8iQw8MjoyT8OR7k,121
98
- homeassistant-stubs/components/airgradient/coordinator.pyi,sha256=mxTkZdyev9lUz4fZyNbEO7VV2i0uYY1_mF2yAIoB5PM,904
98
+ homeassistant-stubs/components/airgradient/coordinator.pyi,sha256=ayH8UjOn9cdN1D0WHDu0-KSyOXQSCz-tJO2-Uol-pzA,994
99
+ homeassistant-stubs/components/airgradient/diagnostics.pyi,sha256=g2tOlx1yl-rOxfAgLDF6H2Cddr70WO5r_7Ix1NsHwqM,269
99
100
  homeassistant-stubs/components/airgradient/entity.pyi,sha256=o1oGxoBT0XXqRqhltvpMGr2y4_1HOfPYLuxOQsu7Ngg,518
100
101
  homeassistant-stubs/components/airgradient/number.pyi,sha256=SwZGk-wBOslsqiaY0Qz1BPW-XzjN4w2dWiOw8urgRys,2106
101
102
  homeassistant-stubs/components/airgradient/select.pyi,sha256=rGo-EImH--coxC4_Qu2n4FubRGORRsENqNWggGeD-DI,2327
@@ -346,7 +347,7 @@ homeassistant-stubs/components/assist_pipeline/websocket_api.pyi,sha256=xGs1adFC
346
347
  homeassistant-stubs/components/assist_satellite/__init__.pyi,sha256=5kQjDWrLec-4bNIZuFbGip-ybDmVXeAD-eo7Xq-1kkY,697
347
348
  homeassistant-stubs/components/assist_satellite/connection_test.pyi,sha256=n6GR9JSJPI4QQidvpAnjq70Wyv8eKjFMxnd-yyYl-kc,530
348
349
  homeassistant-stubs/components/assist_satellite/const.pyi,sha256=mcIx4crRylcE35mhOjMBbLlLPvVRrFYs49RWZt3VgAc,449
349
- homeassistant-stubs/components/assist_satellite/entity.pyi,sha256=20y1KpLL4UfiPB-INc1Z8N02asRf5Itq2XWXhxzKPqo,4503
350
+ homeassistant-stubs/components/assist_satellite/entity.pyi,sha256=07CdUjxii7H5MlUZ7PFnyS8152yaSjPzODcXZRvwCyQ,4457
350
351
  homeassistant-stubs/components/assist_satellite/errors.pyi,sha256=roq9cFMrbiJ4-OGqUVmD3SzW88R3CedlPADk_JX5MIU,183
351
352
  homeassistant-stubs/components/assist_satellite/websocket_api.pyi,sha256=kqk8FrKSPq4xZedzTm2qt9WdCSC9TT0bP7Bfsku8lko,1347
352
353
  homeassistant-stubs/components/asuswrt/__init__.pyi,sha256=CYF_lK1zCqGz4XU0xor09cTT5pjlbA3skjGzBp59mO0,675
@@ -881,8 +882,8 @@ homeassistant-stubs/components/electric_kiwi/coordinator.pyi,sha256=sjRlWNqGnpfP
881
882
  homeassistant-stubs/components/electric_kiwi/oauth2.pyi,sha256=Qx_tvwN7FaweC9MyyxQkyrDJHMAsuQpTvWm1cTuqV6g,968
882
883
  homeassistant-stubs/components/electric_kiwi/select.pyi,sha256=xcxUMDwXdIkULDT1hpFpIs4YHsqvwLC1Q4Lw8cNTxO4,1478
883
884
  homeassistant-stubs/components/electric_kiwi/sensor.pyi,sha256=xkH-cnpHwtHzEdnMar3V6Eos9MXh_4DLsaRJfzBWHnw,3798
884
- homeassistant-stubs/components/elevenlabs/__init__.pyi,sha256=NuV-q0C98ZzkSDrXoKV1fMWY9HYCPdu74rDbWH-H9rQ,1062
885
- homeassistant-stubs/components/elevenlabs/config_flow.pyi,sha256=gUwHyPWsOLjWF9XOOeKFtoZ2zZee0_vVFHTIXcqbbUg,2103
885
+ homeassistant-stubs/components/elevenlabs/__init__.pyi,sha256=2OYfowacmD_-DzvZukacBwI6FDvz-jBG_RleJ71XEPg,1146
886
+ homeassistant-stubs/components/elevenlabs/config_flow.pyi,sha256=hcj_DJohIy5MTn-mguOAFYRdN_HNNCQBlQ3V-hSXbw0,2270
886
887
  homeassistant-stubs/components/elevenlabs/const.pyi,sha256=180cCMKmlOr46ByAC4Hdo-54bSXHcGg4QihdUDMqtBc,333
887
888
  homeassistant-stubs/components/elevenlabs/tts.pyi,sha256=YlECSuqU1AKDs2t-u47UU3BS-dWBq3qV1f1T_uqAf4E,2346
888
889
  homeassistant-stubs/components/elgato/__init__.pyi,sha256=kil36RCtd6xLj45gXRqpHo7vgsF0FJJ429uGD2KDjKQ,565
@@ -2240,7 +2241,7 @@ homeassistant-stubs/components/overkiz/const.pyi,sha256=oykMxASm1hKzi1GdzdD7Ttd9
2240
2241
  homeassistant-stubs/components/overkiz/coordinator.pyi,sha256=ksP4qlVgNtg02HG1Brw6GYJxMvOvj1II5N_EA4LJRNU,2254
2241
2242
  homeassistant-stubs/components/overkiz/diagnostics.pyi,sha256=Dj3_eFGYjLL5eFehtKbXS1O69L2s1q38tspiFIYyxz4,621
2242
2243
  homeassistant-stubs/components/overkiz/entity.pyi,sha256=ef8qlYwQRiclWbtNoe1XAURCbQ2nbqoK9j82Jvrglow,1411
2243
- homeassistant-stubs/components/overkiz/executor.pyi,sha256=r2Jo3tT617tIEKeTrcwnLJa0rrEd1jxiQtold2vAtxA,1444
2244
+ homeassistant-stubs/components/overkiz/executor.pyi,sha256=Kg18hiCm2a73rFxP0BxDB7nFyH9TbBPkNnHlQf5tujc,1477
2244
2245
  homeassistant-stubs/components/overkiz/light.pyi,sha256=KiH63_1a7HC8aHNJBchbw_00xoE-90lbXR5022Y9c2U,1386
2245
2246
  homeassistant-stubs/components/overkiz/lock.pyi,sha256=v8cKGUcnZ4Fkcuz7FHjrv2kZU93UrpGUkU5VEGIt1mc,869
2246
2247
  homeassistant-stubs/components/overkiz/number.pyi,sha256=R5LICHewIe1lSw0yhDhXSIy94FdMtpwAoulZWVvTzHs,2643
@@ -3653,7 +3654,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
3653
3654
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
3654
3655
  homeassistant-stubs/util/yaml/loader.pyi,sha256=FJDEgKwYTwuB8hBeJVjqwYqJ5hQZTSF_DtsnuO-E-pM,4758
3655
3656
  homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
3656
- homeassistant_stubs-2024.10.0b1.dist-info/METADATA,sha256=jFws8ZaopZXk4CV34we2V8W3sE0zJH3yqgwPBw3kbEc,2958
3657
- homeassistant_stubs-2024.10.0b1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
3658
- homeassistant_stubs-2024.10.0b1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3659
- homeassistant_stubs-2024.10.0b1.dist-info/RECORD,,
3657
+ homeassistant_stubs-2024.10.0b3.dist-info/METADATA,sha256=zGPkh5SxpBR7GXzPUhqpt9n_7sw38-nnQch-Vu7yiUk,2958
3658
+ homeassistant_stubs-2024.10.0b3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
3659
+ homeassistant_stubs-2024.10.0b3.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3660
+ homeassistant_stubs-2024.10.0b3.dist-info/RECORD,,