homeassistant-stubs 2024.4.3__py3-none-any.whl → 2024.4.4__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.
@@ -25,3 +25,5 @@ class AirthingsHeaterEnergySensor(CoordinatorEntity[AirthingsDataCoordinatorType
25
25
  def __init__(self, coordinator: AirthingsDataCoordinatorType, airthings_device: AirthingsDevice, entity_description: SensorEntityDescription) -> None: ...
26
26
  @property
27
27
  def native_value(self) -> StateType: ...
28
+ @property
29
+ def available(self) -> bool: ...
@@ -117,6 +117,7 @@ class _ScriptRun:
117
117
  async def _async_if_step(self) -> None: ...
118
118
  def _async_futures_with_timeout(self, timeout: float | None) -> tuple[list[asyncio.Future[None]], asyncio.TimerHandle | None, asyncio.Future[None] | None]: ...
119
119
  async def _async_wait_for_trigger_step(self) -> None: ...
120
+ def _async_handle_timeout(self) -> None: ...
120
121
  async def _async_wait_with_optional_timeout(self, futures: list[asyncio.Future[None]], timeout_handle: asyncio.TimerHandle | None, timeout_future: asyncio.Future[None] | None, unsub: Callable[[], None]) -> None: ...
121
122
  async def _async_variables_step(self) -> None: ...
122
123
  async def _async_set_conversation_response_step(self) -> None: ...
@@ -65,12 +65,13 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
65
65
  async def async_config_entry_first_refresh(self) -> None: ...
66
66
  async def async_refresh(self) -> None: ...
67
67
  async def _async_refresh(self, log_failures: bool = True, raise_on_auth_failed: bool = False, scheduled: bool = False, raise_on_entry_error: bool = False) -> None: ...
68
+ def _async_refresh_finished(self) -> None: ...
68
69
  def async_set_update_error(self, err: Exception) -> None: ...
69
70
  def async_set_updated_data(self, data: _DataT) -> None: ...
70
71
 
71
72
  class TimestampDataUpdateCoordinator(DataUpdateCoordinator[_DataT]):
72
73
  last_update_success_time: datetime | None
73
- async def _async_refresh(self, log_failures: bool = True, raise_on_auth_failed: bool = False, scheduled: bool = False, raise_on_entry_error: bool = False) -> None: ...
74
+ def _async_refresh_finished(self) -> None: ...
74
75
 
75
76
  class BaseCoordinatorEntity(entity.Entity, Generic[_BaseDataUpdateCoordinatorT], metaclass=abc.ABCMeta):
76
77
  coordinator: Incomplete
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: homeassistant-stubs
3
- Version: 2024.4.3
3
+ Version: 2024.4.4
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.4.3)
19
+ Requires-Dist: homeassistant (==2024.4.4)
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
@@ -101,7 +101,7 @@ homeassistant-stubs/components/airq/sensor.pyi,sha256=SU_ObIwUcLAzpcIUsBwowpnKaG
101
101
  homeassistant-stubs/components/airthings/__init__.pyi,sha256=F0rHSL0IpzREBFAXJMOmk6hOQd7mLB_37nVrRprpUwo,888
102
102
  homeassistant-stubs/components/airthings/config_flow.pyi,sha256=3j4OziU43JcPMew2vkhQip-LWHX35jA8Zri7w4pjXPw,605
103
103
  homeassistant-stubs/components/airthings/const.pyi,sha256=_scgybjOSMHLDC-E799zvzPt_n9BCzpvRrYz6_-h3BA,29
104
- homeassistant-stubs/components/airthings/sensor.pyi,sha256=u1sZgEs_o2KY0UB83upuQvR9cYUpk2FyQjMWw89YAg0,1972
104
+ homeassistant-stubs/components/airthings/sensor.pyi,sha256=7xAIhThviFsmSh7cjmkiaNVGPB0sdzMC9CtuoDSboAk,2023
105
105
  homeassistant-stubs/components/airthings_ble/__init__.pyi,sha256=-VQnQOluSug3JfrajtMa7isxj6AwgHGvTlDKatEG8xI,918
106
106
  homeassistant-stubs/components/airthings_ble/config_flow.pyi,sha256=6GQg2cVBcm3kCCQibH6KNOP4YjRousW8SHHj_H-9yUQ,1512
107
107
  homeassistant-stubs/components/airthings_ble/const.pyi,sha256=myzvf8_EC7jK4HfTu2Evzn3xADj6WxTtR2M7_gR9Bg0,96
@@ -3194,7 +3194,7 @@ homeassistant-stubs/helpers/registry.pyi,sha256=p_k2Cl8rRnkQXq4zNEu6a0YjwHeuOBWN
3194
3194
  homeassistant-stubs/helpers/reload.pyi,sha256=gHjwkCy5qhvJDeHh_8zOicVPMqqqiJ7o8eZqL-gAhfk,2244
3195
3195
  homeassistant-stubs/helpers/restore_state.pyi,sha256=3bal-ZQ0mYDm8KmOVXp0kxgA6XKLRqUMw8bugq8XmLs,2933
3196
3196
  homeassistant-stubs/helpers/schema_config_entry_flow.pyi,sha256=_BgnNjsHf9qiOpRMDE2588yoE6h7OfM8y4ayJ27Z2RI,5000
3197
- homeassistant-stubs/helpers/script.pyi,sha256=fWCezgIfkWize2VZDyIA5npkja4Aw5R-5cPNFghLmaI,13713
3197
+ homeassistant-stubs/helpers/script.pyi,sha256=JeLJMYf5qqWbm8hbd_gqvDl5e22qIHPkFTFCAxKeo84,13762
3198
3198
  homeassistant-stubs/helpers/script_variables.pyi,sha256=oH8USW9PDMHyCACqINIUIm2ZQENbHSyRN37dhgXD_08,570
3199
3199
  homeassistant-stubs/helpers/selector.pyi,sha256=19URGEJtfNHNOLOSvG_omcJY6Mo0pWEOm6U5o3j-SAE,15051
3200
3200
  homeassistant-stubs/helpers/sensor.pyi,sha256=lElWOartDwgLVi4vvGlqHFEJ8u25O_PiiEUOSo-CQOg,263
@@ -3217,7 +3217,7 @@ homeassistant-stubs/helpers/translation.pyi,sha256=f2Zw4ScmURB6gyqHmooicHhLNYXOP
3217
3217
  homeassistant-stubs/helpers/trigger.pyi,sha256=gXDkoU3m1bXnILjKVS50ay1VTmr_ZKmLynMueuFzfXo,3226
3218
3218
  homeassistant-stubs/helpers/trigger_template_entity.pyi,sha256=gU9MwPTo1DVaL8NWLMz94KxMFS3b4BoHWgwsaF8odu8,2802
3219
3219
  homeassistant-stubs/helpers/typing.pyi,sha256=ij0xu1RG0oCELo6X5i9KeSeGcmoo2p5oVYXZ6fOQdoc,580
3220
- homeassistant-stubs/helpers/update_coordinator.pyi,sha256=Y7V78HMUheFZqdYLXnFDBm_MVgJhcvSqacDgsVXJgjw,4792
3220
+ homeassistant-stubs/helpers/update_coordinator.pyi,sha256=252_zoGOjwnXHMB8GHJ2_ma44C1fp_gRgJUO5iA_sMQ,4722
3221
3221
  homeassistant-stubs/loader.pyi,sha256=f8Arf3PBoSq3gVv9TngZjR-NbkyBWWIXiQo2sj5aR80,12136
3222
3222
  homeassistant-stubs/requirements.pyi,sha256=3h_e-41vOZsSUVU_nWNvTvPUKuVU0ldVcRxR0p8PF6g,2430
3223
3223
  homeassistant-stubs/runner.pyi,sha256=0a69D02vxKAslvYHAp1QHd6jxAGLboOytxRMcY1EuLI,1675
@@ -3265,7 +3265,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
3265
3265
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
3266
3266
  homeassistant-stubs/util/yaml/loader.pyi,sha256=_KzmG0bGDiN9zpcdhSx9p3leawOwjmdZDKE4ciEMfKc,4272
3267
3267
  homeassistant-stubs/util/yaml/objects.pyi,sha256=89c0boOGMdQvHxVk7Xs42DKMj3ldlozxjrpiV74RkGY,457
3268
- homeassistant_stubs-2024.4.3.dist-info/METADATA,sha256=jQLJcNDZ2Wi0W2BcbywqZQRxNRQW5zrQBdMG4RGjDGc,3011
3269
- homeassistant_stubs-2024.4.3.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3270
- homeassistant_stubs-2024.4.3.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3271
- homeassistant_stubs-2024.4.3.dist-info/RECORD,,
3268
+ homeassistant_stubs-2024.4.4.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3269
+ homeassistant_stubs-2024.4.4.dist-info/METADATA,sha256=VFFd0xJSSFx3GPr-mBWQE-VR115SKchse89-kAUOLJo,3011
3270
+ homeassistant_stubs-2024.4.4.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3271
+ homeassistant_stubs-2024.4.4.dist-info/RECORD,,