homeassistant-stubs 2025.7.0b8__py3-none-any.whl → 2025.7.1__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.

Potentially problematic release.


This version of homeassistant-stubs might be problematic. Click here for more details.

@@ -0,0 +1,3 @@
1
+ from httpx import AsyncClient as AsyncClient, Response as Response
2
+
3
+ async def get_calendar(client: AsyncClient, url: str) -> Response: ...
@@ -1,3 +1,4 @@
1
+ from .client import get_calendar as get_calendar
1
2
  from .const import CONF_CALENDAR_NAME as CONF_CALENDAR_NAME, DOMAIN as DOMAIN
2
3
  from .ics import InvalidIcsException as InvalidIcsException, parse_calendar as parse_calendar
3
4
  from _typeshed import Incomplete
@@ -1,3 +1,4 @@
1
+ from .client import get_calendar as get_calendar
1
2
  from .const import DOMAIN as DOMAIN
2
3
  from .ics import InvalidIcsException as InvalidIcsException, parse_calendar as parse_calendar
3
4
  from _typeshed import Incomplete
@@ -34,6 +34,7 @@ class SamsungTVConfigFlow(ConfigFlow, domain=DOMAIN):
34
34
  _model: str | None
35
35
  _connect_result: str | None
36
36
  _method: str | None
37
+ _port: int | None
37
38
  _name: str | None
38
39
  _title: str
39
40
  _id: int | None
@@ -46,7 +47,7 @@ class SamsungTVConfigFlow(ConfigFlow, domain=DOMAIN):
46
47
  async def _async_set_unique_id_from_udn(self, raise_on_progress: bool = True) -> None: ...
47
48
  def _async_update_and_abort_for_matching_unique_id(self) -> None: ...
48
49
  async def _async_create_bridge(self) -> None: ...
49
- async def _async_get_device_info_and_method(self) -> tuple[str, str | None, dict[str, Any] | None]: ...
50
+ async def _async_load_device_info(self) -> str: ...
50
51
  async def _async_get_and_check_device_info(self) -> bool: ...
51
52
  async def _async_set_name_host_from_input(self, user_input: dict[str, Any]) -> bool: ...
52
53
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,6 +1,6 @@
1
1
  from .const import BLOCK_EXPECTED_SLEEP_PERIOD as BLOCK_EXPECTED_SLEEP_PERIOD, BLOCK_WRONG_SLEEP_PERIOD as BLOCK_WRONG_SLEEP_PERIOD, CONF_COAP_PORT as CONF_COAP_PORT, CONF_SLEEP_PERIOD as CONF_SLEEP_PERIOD, DOMAIN as DOMAIN, FIRMWARE_UNSUPPORTED_ISSUE_ID as FIRMWARE_UNSUPPORTED_ISSUE_ID, LOGGER as LOGGER, MODELS_WITH_WRONG_SLEEP_PERIOD as MODELS_WITH_WRONG_SLEEP_PERIOD, PUSH_UPDATE_ISSUE_ID as PUSH_UPDATE_ISSUE_ID
2
2
  from .coordinator import ShellyBlockCoordinator as ShellyBlockCoordinator, ShellyConfigEntry as ShellyConfigEntry, ShellyEntryData as ShellyEntryData, ShellyRestCoordinator as ShellyRestCoordinator, ShellyRpcCoordinator as ShellyRpcCoordinator, ShellyRpcPollingCoordinator as ShellyRpcPollingCoordinator
3
- from .repairs import async_manage_ble_scanner_firmware_unsupported_issue as async_manage_ble_scanner_firmware_unsupported_issue
3
+ from .repairs import async_manage_ble_scanner_firmware_unsupported_issue as async_manage_ble_scanner_firmware_unsupported_issue, async_manage_outbound_websocket_incorrectly_enabled_issue as async_manage_outbound_websocket_incorrectly_enabled_issue
4
4
  from .utils import async_create_issue_unsupported_firmware as async_create_issue_unsupported_firmware, get_coap_context as get_coap_context, get_device_entry_gen as get_device_entry_gen, get_http_port as get_http_port, get_rpc_scripts_event_types as get_rpc_scripts_event_types, get_ws_context as get_ws_context, remove_stale_blu_trv_devices as remove_stale_blu_trv_devices
5
5
  from _typeshed import Incomplete
6
6
  from homeassistant.components.bluetooth import async_remove_scanner as async_remove_scanner
@@ -67,6 +67,7 @@ PUSH_UPDATE_ISSUE_ID: str
67
67
  NOT_CALIBRATED_ISSUE_ID: str
68
68
  FIRMWARE_UNSUPPORTED_ISSUE_ID: str
69
69
  BLE_SCANNER_FIRMWARE_UNSUPPORTED_ISSUE_ID: str
70
+ OUTBOUND_WEBSOCKET_INCORRECTLY_ENABLED_ISSUE_ID: str
70
71
  GAS_VALVE_OPEN_STATES: Incomplete
71
72
  OTA_BEGIN: str
72
73
  OTA_ERROR: str
@@ -1,19 +1,30 @@
1
- from .const import BLEScannerMode as BLEScannerMode, BLE_SCANNER_FIRMWARE_UNSUPPORTED_ISSUE_ID as BLE_SCANNER_FIRMWARE_UNSUPPORTED_ISSUE_ID, BLE_SCANNER_MIN_FIRMWARE as BLE_SCANNER_MIN_FIRMWARE, CONF_BLE_SCANNER_MODE as CONF_BLE_SCANNER_MODE, DOMAIN as DOMAIN
1
+ from .const import BLEScannerMode as BLEScannerMode, BLE_SCANNER_FIRMWARE_UNSUPPORTED_ISSUE_ID as BLE_SCANNER_FIRMWARE_UNSUPPORTED_ISSUE_ID, BLE_SCANNER_MIN_FIRMWARE as BLE_SCANNER_MIN_FIRMWARE, CONF_BLE_SCANNER_MODE as CONF_BLE_SCANNER_MODE, DOMAIN as DOMAIN, OUTBOUND_WEBSOCKET_INCORRECTLY_ENABLED_ISSUE_ID as OUTBOUND_WEBSOCKET_INCORRECTLY_ENABLED_ISSUE_ID
2
2
  from .coordinator import ShellyConfigEntry as ShellyConfigEntry
3
+ from .utils import get_rpc_ws_url as get_rpc_ws_url
3
4
  from _typeshed import Incomplete
4
5
  from aioshelly.rpc_device import RpcDevice as RpcDevice
5
6
  from homeassistant import data_entry_flow as data_entry_flow
6
- from homeassistant.components.repairs import RepairsFlow as RepairsFlow
7
+ from homeassistant.components.repairs import ConfirmRepairFlow as ConfirmRepairFlow, RepairsFlow as RepairsFlow
7
8
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
8
9
 
9
10
  @callback
10
11
  def async_manage_ble_scanner_firmware_unsupported_issue(hass: HomeAssistant, entry: ShellyConfigEntry) -> None: ...
12
+ @callback
13
+ def async_manage_outbound_websocket_incorrectly_enabled_issue(hass: HomeAssistant, entry: ShellyConfigEntry) -> None: ...
11
14
 
12
- class BleScannerFirmwareUpdateFlow(RepairsFlow):
15
+ class ShellyRpcRepairsFlow(RepairsFlow):
13
16
  _device: Incomplete
14
17
  def __init__(self, device: RpcDevice) -> None: ...
15
18
  async def async_step_init(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
16
19
  async def async_step_confirm(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
20
+ async def _async_step_confirm(self) -> data_entry_flow.FlowResult: ...
21
+
22
+ class BleScannerFirmwareUpdateFlow(ShellyRpcRepairsFlow):
23
+ async def _async_step_confirm(self) -> data_entry_flow.FlowResult: ...
17
24
  async def async_step_update_firmware(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
18
25
 
26
+ class DisableOutboundWebSocketFlow(ShellyRpcRepairsFlow):
27
+ async def _async_step_confirm(self) -> data_entry_flow.FlowResult: ...
28
+ async def async_step_disable_outbound_websocket(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
29
+
19
30
  async def async_create_fix_flow(hass: HomeAssistant, issue_id: str, data: dict[str, str] | None) -> RepairsFlow: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.7.0b8
3
+ Version: 2025.7.1
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.2
21
- Requires-Dist: homeassistant==2025.7.0b8
21
+ Requires-Dist: homeassistant==2025.7.1
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)
@@ -2991,9 +2991,10 @@ homeassistant-stubs/components/remote/reproduce_state.pyi,sha256=oJOAxdJbalNMGVe
2991
2991
  homeassistant-stubs/components/remote/significant_change.pyi,sha256=xrvCaVI6vA33VUwletn0KI5ivWB1ZE3vggXTcN7A6KM,336
2992
2992
  homeassistant-stubs/components/remote_calendar/__init__.pyi,sha256=tpj1cVap_TAogUSp_iu3sOarHQAlaN1AEInaVPLcoyA,581
2993
2993
  homeassistant-stubs/components/remote_calendar/calendar.pyi,sha256=VabIojEvxxG3rEH_Gl0U3hCjYOnuGhgzf33mVhq3X2Y,1590
2994
- homeassistant-stubs/components/remote_calendar/config_flow.pyi,sha256=htdk2EpWyFCYZf-_vp6aN9nd-ed44GcL3nAEOCfWKsU,704
2994
+ homeassistant-stubs/components/remote_calendar/client.pyi,sha256=wwpooYkWanHt-bmsY3CZR4r37-PclO9IWERy5o_v7dg,139
2995
+ homeassistant-stubs/components/remote_calendar/config_flow.pyi,sha256=w_ydTHCaogpmVZE5bpVAWgj9t1zK5wb3PZwfKWXXRXA,753
2995
2996
  homeassistant-stubs/components/remote_calendar/const.pyi,sha256=v5rnTU3o6v40qyydkfnQCN5pquphuuPLQZGc68D2_g4,36
2996
- homeassistant-stubs/components/remote_calendar/coordinator.pyi,sha256=91OTTjRnkQzfE0n2dRswp43ypzaBxqwFRKPWtuLt_Xo,1057
2997
+ homeassistant-stubs/components/remote_calendar/coordinator.pyi,sha256=KbDkLzdaTl-Nvpp5lS3swaSoa252lm3hD-ax95-STBE,1106
2997
2998
  homeassistant-stubs/components/remote_calendar/diagnostics.pyi,sha256=7dJFCUPCv6JJEadNphEuQT_0MMdLtORTIUO-xxoLuaQ,278
2998
2999
  homeassistant-stubs/components/remote_calendar/ics.pyi,sha256=mBAALVJyJhJTxjwtafJSYmFvhqZ0w9GVY-wwANb703g,337
2999
3000
  homeassistant-stubs/components/renault/__init__.pyi,sha256=-vrChagTrzT_9i-bNjWR5AS1p_OxV7-TFM4e0wqyja8,1189
@@ -3164,7 +3165,7 @@ homeassistant-stubs/components/ruuvitag_ble/const.pyi,sha256=khiPPfo2eMEa2_FD5Ea
3164
3165
  homeassistant-stubs/components/ruuvitag_ble/sensor.pyi,sha256=Pex1SL_93_3vS_NuCjOoITglbCyj2iJgx2uFqwpDEVE,2145
3165
3166
  homeassistant-stubs/components/samsungtv/__init__.pyi,sha256=PRMiga6yE23FmjlOlnaVEpyjB7kP6OdfhcU9qxqZxgc,2492
3166
3167
  homeassistant-stubs/components/samsungtv/bridge.pyi,sha256=ekzzuzQCOhMWCxGH8wgdt9bSagdErByMCUX0jE7cEUE,7547
3167
- homeassistant-stubs/components/samsungtv/config_flow.pyi,sha256=nqq0DiBFJM8VDUnbbljhSx1AQH_qMFOR1NoGLLNivyA,5422
3168
+ homeassistant-stubs/components/samsungtv/config_flow.pyi,sha256=ft8P2eh3wx26SlPp1bd8goEb-iBAR8eJ0fRnT18jq6M,5392
3168
3169
  homeassistant-stubs/components/samsungtv/const.pyi,sha256=SzwXEL84Lf1Yk7u28m2azWsh9SfvyKF_4opoa2dxlpE,784
3169
3170
  homeassistant-stubs/components/samsungtv/coordinator.pyi,sha256=kTsmbocbMnZGbM-1H1R2TNn66oc4Aj0y2Kz9xPwT0dA,941
3170
3171
  homeassistant-stubs/components/samsungtv/device_trigger.pyi,sha256=Bfm1gTYZHTrzjri7BJITonEgRA08fIkzpq9LPYRK7c0,1396
@@ -3262,12 +3263,12 @@ homeassistant-stubs/components/sfr_box/diagnostics.pyi,sha256=wtICgAJc_PS6ezS3DB
3262
3263
  homeassistant-stubs/components/sfr_box/models.pyi,sha256=NX-c7yYZdCBaw-JHrz0Pi_mVN2btH4sFgClWItQ0zlE,502
3263
3264
  homeassistant-stubs/components/sfr_box/sensor.pyi,sha256=gqfLkYXoXoCJJ96asNgddTuWScv6khCuldzzCGybz7c,2325
3264
3265
  homeassistant-stubs/components/shell_command/__init__.pyi,sha256=kNpviLhIniB2pTeUjh_UFQBdmeuGh0IGd0CFqNA4Bpc,654
3265
- homeassistant-stubs/components/shelly/__init__.pyi,sha256=PYm2MmsW5SYHXskH_Ny6o6fGZFJoKCz9f-st95-tYi8,2707
3266
+ homeassistant-stubs/components/shelly/__init__.pyi,sha256=MvxjVL-ze-OGfxuuWLv5wsYvKbhhpH9jE7w5o2EwV5s,2827
3266
3267
  homeassistant-stubs/components/shelly/binary_sensor.pyi,sha256=ES687ojk0KWwTtocEQlXnfOSoB76YReMzpkGQytt4EQ,3804
3267
3268
  homeassistant-stubs/components/shelly/button.pyi,sha256=slGUK8aFwpHVqKYIkft8Djcb5R0D_XWCkHpX7Ojj5is,3291
3268
3269
  homeassistant-stubs/components/shelly/climate.pyi,sha256=XYm5L-YekPWcWCBeSY70ZAEMAb5gT4CcbNsbIWQ4tsk,6519
3269
3270
  homeassistant-stubs/components/shelly/config_flow.pyi,sha256=2c-Ts6K2edfe_HnVek_a37Nicm8AdTNKjut4OQaixDc,3266
3270
- homeassistant-stubs/components/shelly/const.pyi,sha256=81Ayz3seTL45kDdq4TdiqA8-T6tY7auz2DOBNMld4XI,2849
3271
+ homeassistant-stubs/components/shelly/const.pyi,sha256=CyY7__7A9TsG12sb_5bz0zrij09g7cQ-yszUFzQoz24,2902
3271
3272
  homeassistant-stubs/components/shelly/coordinator.pyi,sha256=O5Mog2r3EEZ2sQtPOaZIh1i5-S3WuDFgm_c1-fM-K7M,8175
3272
3273
  homeassistant-stubs/components/shelly/cover.pyi,sha256=71AUomO2Gu1vjz_BkXAwONGytXYmnpbakZHKiXUnbJU,3287
3273
3274
  homeassistant-stubs/components/shelly/device_trigger.pyi,sha256=XN-5ZZxFHd7yFQ0PRTC3oHqWae5ZIBATFwPgRV68P1Q,1923
@@ -3277,7 +3278,7 @@ homeassistant-stubs/components/shelly/event.pyi,sha256=zVHVyBm89UWBhtEF38-DZMpuQ
3277
3278
  homeassistant-stubs/components/shelly/light.pyi,sha256=W7mZTX6uqp7r6pHEEQ-iCP6DtiseAW0_XqOoLNSFIlM,5097
3278
3279
  homeassistant-stubs/components/shelly/logbook.pyi,sha256=7p2mfjNrdLxLwroHbJg2rR6R-67CnqrQPyn-VeeOFdQ,1004
3279
3280
  homeassistant-stubs/components/shelly/number.pyi,sha256=qIYwGEZoQxP58Is0-xYiuT5DH7WG9xfAPEs5vjGprAU,4195
3280
- homeassistant-stubs/components/shelly/repairs.pyi,sha256=CN8t87g_Q2LjvnmVSBL3pVQb4fazA7gV7O0nZqdGRIg,1357
3281
+ homeassistant-stubs/components/shelly/repairs.pyi,sha256=8BPKmh6K-wpRKR7jaWrc_KGq2VbCpySAG2njUb9v7Tc,2151
3281
3282
  homeassistant-stubs/components/shelly/select.pyi,sha256=loEzqXTthJgkGv93JbHNR8-WvLN-zamlkQX87sh2Q_s,1628
3282
3283
  homeassistant-stubs/components/shelly/sensor.pyi,sha256=AbtBQMvTqN6O0ZeAOBUxUWln-pLU4OxoGe6V4wjZvGk,5868
3283
3284
  homeassistant-stubs/components/shelly/switch.pyi,sha256=BP2CP9sp-2SOsiWSuN2k8YzO4i5WubCExwkcMyNidfw,4294
@@ -4294,7 +4295,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=vaIsOJB6hkwj7GLyo3YCNZCTwVgvvODy
4294
4295
  homeassistant-stubs/util/yaml/input.pyi,sha256=j_ejvjaXDxeNYtA4hb9tNUPsQdi7wogbmTQXsqmt5xo,253
4295
4296
  homeassistant-stubs/util/yaml/loader.pyi,sha256=_HvI0rXv3kQRsSRV-VZGWVyGjD0SAzLkPfq0A3jksrs,850
4296
4297
  homeassistant-stubs/util/yaml/objects.pyi,sha256=Ynjx0JaWF3u82Pj8aXO-YeqrkzNO8t-Nn7G7rr_X-oI,206
4297
- homeassistant_stubs-2025.7.0b8.dist-info/METADATA,sha256=OM1xKTfIWSIiSATh4_zKc2T8S3IYBsKyN9qNHmmKEzE,2952
4298
- homeassistant_stubs-2025.7.0b8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4299
- homeassistant_stubs-2025.7.0b8.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4300
- homeassistant_stubs-2025.7.0b8.dist-info/RECORD,,
4298
+ homeassistant_stubs-2025.7.1.dist-info/METADATA,sha256=bWBNvPBh_v0sHYXkiAlogZ7pNK22iTI_e1bJPtr4U44,2948
4299
+ homeassistant_stubs-2025.7.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4300
+ homeassistant_stubs-2025.7.1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4301
+ homeassistant_stubs-2025.7.1.dist-info/RECORD,,