homeassistant-stubs 2025.2.0b6__py3-none-any.whl → 2025.2.0b7__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,10 +1,11 @@
1
1
  from .const import DOMAIN as DOMAIN
2
2
  from _typeshed import Incomplete
3
3
  from collections.abc import Mapping
4
- from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
4
+ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_USER as SOURCE_USER
5
5
  from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
6
6
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
7
7
  from homeassistant.helpers.device_registry import format_mac as format_mac
8
+ from homeassistant.helpers.service_info.dhcp import DhcpServiceInfo as DhcpServiceInfo
8
9
  from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
9
10
  from pysmlight import Api2
10
11
  from typing import Any
@@ -13,14 +14,15 @@ STEP_USER_DATA_SCHEMA: Incomplete
13
14
  STEP_AUTH_DATA_SCHEMA: Incomplete
14
15
 
15
16
  class SmlightConfigFlow(ConfigFlow, domain=DOMAIN):
16
- host: str
17
+ _host: str
18
+ _device_name: str
17
19
  client: Api2
18
- def __init__(self) -> None: ...
19
20
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
20
21
  async def async_step_auth(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
21
22
  async def async_step_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
22
23
  async def async_step_confirm_discovery(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
23
24
  async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
24
25
  async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
26
+ async def async_step_dhcp(self, discovery_info: DhcpServiceInfo) -> ConfigFlowResult: ...
25
27
  async def _async_check_auth_required(self, user_input: dict[str, Any]) -> bool: ...
26
28
  async def _async_complete_entry(self, user_input: dict[str, Any]) -> ConfigFlowResult: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.2.0b6
3
+ Version: 2025.2.0b7
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.14,>=3.13
21
- Requires-Dist: homeassistant==2025.2.0b6
21
+ Requires-Dist: homeassistant==2025.2.0b7
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)
@@ -3109,7 +3109,7 @@ homeassistant-stubs/components/smhi/weather.pyi,sha256=oXSEz5xV0k1djrsDUQpc74owe
3109
3109
  homeassistant-stubs/components/smlight/__init__.pyi,sha256=-l1MC2QiIzoaVaMqUghH3GwYrXAEdNnKDQp7i8EPdL8,841
3110
3110
  homeassistant-stubs/components/smlight/binary_sensor.pyi,sha256=Dj5hnuiDw6DFAM9pffiXyWyyv4MVhH2OF_anG6h3YGo,2168
3111
3111
  homeassistant-stubs/components/smlight/button.pyi,sha256=9GB3nxbMMxWyl9P_Kk66UITre-8DzROoTY4OtJcoNiQ,1500
3112
- homeassistant-stubs/components/smlight/config_flow.pyi,sha256=_Bf0JKCrS5Ah0ypvJrvtn7Lz9JkRHfjPow-au7FE2Pk,1679
3112
+ homeassistant-stubs/components/smlight/config_flow.pyi,sha256=5oJvR0oFMfaUKo4yMG4qWCOqVZE-S3FH6YMUPpuS_8w,1875
3113
3113
  homeassistant-stubs/components/smlight/const.pyi,sha256=6nY34dqBSWdN0e3u9IkXgU1jN_MhKSZZknqNX4LOzXI,261
3114
3114
  homeassistant-stubs/components/smlight/coordinator.pyi,sha256=oMYjL7iB_UAUfix890u7PvvgcnhuEobEjos5ET1Mca8,2088
3115
3115
  homeassistant-stubs/components/smlight/diagnostics.pyi,sha256=2Ylj2quzflLHQCetykc4KvNjgIzq7a7hBZGackFJdAk,249
@@ -4019,7 +4019,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
4019
4019
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
4020
4020
  homeassistant-stubs/util/yaml/loader.pyi,sha256=9MJS3AZNCemqAEU41KVJox1f16OceP64SNXE1-Z37kU,4117
4021
4021
  homeassistant-stubs/util/yaml/objects.pyi,sha256=EmJiT8WnVUHa5dkbYzXtWzu5mhO1YG5bBnEAIF0XLAU,665
4022
- homeassistant_stubs-2025.2.0b6.dist-info/METADATA,sha256=tGB4TBB6ku7SBBPng9Dx1ksHDIPDJVJUuhegYURvXLo,2956
4023
- homeassistant_stubs-2025.2.0b6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4024
- homeassistant_stubs-2025.2.0b6.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4025
- homeassistant_stubs-2025.2.0b6.dist-info/RECORD,,
4022
+ homeassistant_stubs-2025.2.0b7.dist-info/METADATA,sha256=4l0aDA7f-V5qExJvYvpSaRNh5_V43ey4pFgbLNpXg9k,2956
4023
+ homeassistant_stubs-2025.2.0b7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4024
+ homeassistant_stubs-2025.2.0b7.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4025
+ homeassistant_stubs-2025.2.0b7.dist-info/RECORD,,