homeassistant-stubs 2024.12.0b6__py3-none-any.whl → 2024.12.2__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.
@@ -4,7 +4,7 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
4
  from homeassistant.const import Platform as Platform
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
7
- from pydeako.deako import Deako
7
+ from pydeako import Deako
8
8
 
9
9
  _LOGGER: logging.Logger
10
10
  PLATFORMS: list[Platform]
@@ -5,7 +5,7 @@ from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, C
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
7
7
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
8
- from pydeako.deako import Deako as Deako
8
+ from pydeako import Deako as Deako
9
9
  from typing import Any
10
10
 
11
11
  MODEL_SMART: str
@@ -10,6 +10,7 @@ CACHE_TIME: Final[Incomplete]
10
10
  CACHE_HEADER: Incomplete
11
11
  CACHE_HEADERS: Mapping[str, str]
12
12
  RESPONSE_CACHE: LRU[tuple[str, Path], tuple[Path, str]]
13
+ _GUESSER: Incomplete
13
14
 
14
15
  class CachingStaticResource(StaticResource):
15
16
  async def _handle(self, request: Request) -> StreamResponse: ...
@@ -1,4 +1,4 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from .const import APP_ID as APP_ID, DOMAIN as DOMAIN
2
2
  from .coordinator import HydrawiseMainDataUpdateCoordinator as HydrawiseMainDataUpdateCoordinator, HydrawiseUpdateCoordinators as HydrawiseUpdateCoordinators, HydrawiseWaterUseDataUpdateCoordinator as HydrawiseWaterUseDataUpdateCoordinator
3
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
4
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
@@ -1,4 +1,4 @@
1
- from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
1
+ from .const import APP_ID as APP_ID, DOMAIN as DOMAIN, LOGGER as LOGGER
2
2
  from collections.abc import Callable as Callable, Mapping
3
3
  from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_REAUTH as SOURCE_REAUTH
4
4
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
@@ -1,6 +1,7 @@
1
1
  from _typeshed import Incomplete
2
2
 
3
3
  LOGGER: Incomplete
4
+ APP_ID: Incomplete
4
5
  DOMAIN: str
5
6
  DEFAULT_WATERING_TIME: Incomplete
6
7
  MANUFACTURER: str
@@ -14,7 +14,7 @@ from pynordpool import DeliveryPeriodData as DeliveryPeriodData
14
14
 
15
15
  PARALLEL_UPDATES: int
16
16
 
17
- def get_prices(data: DeliveryPeriodData) -> dict[str, tuple[float, float, float]]: ...
17
+ def get_prices(data: DeliveryPeriodData) -> dict[str, tuple[float | None, float, float | None]]: ...
18
18
  def get_blockprices(data: DeliveryPeriodData) -> dict[str, dict[str, tuple[datetime, datetime, float, float, float]]]: ...
19
19
 
20
20
  @dataclass(frozen=True, kw_only=True)
@@ -24,7 +24,7 @@ class NordpoolDefaultSensorEntityDescription(SensorEntityDescription):
24
24
 
25
25
  @dataclass(frozen=True, kw_only=True)
26
26
  class NordpoolPricesSensorEntityDescription(SensorEntityDescription):
27
- value_fn: Callable[[tuple[float, float, float]], float | None]
27
+ value_fn: Callable[[tuple[float | None, float, float | None]], float | None]
28
28
  def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
29
29
 
30
30
  @dataclass(frozen=True, kw_only=True)
@@ -25,6 +25,8 @@ class SwitchBotCloudAirConditioner(SwitchBotCloudEntity, ClimateEntity):
25
25
  _attr_hvac_mode: Incomplete
26
26
  _attr_temperature_unit: Incomplete
27
27
  _attr_target_temperature: int
28
+ _attr_target_temperature_step: int
29
+ _attr_precision: int
28
30
  _attr_name: Incomplete
29
31
  _enable_turn_on_off_backwards_compatibility: bool
30
32
  async def _do_send_command(self, hvac_mode: HVACMode | None = None, fan_mode: str | None = None, temperature: float | None = None) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: homeassistant-stubs
3
- Version: 2024.12.0b6
3
+ Version: 2024.12.2
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
@@ -17,7 +17,7 @@ Classifier: Topic :: Home Automation
17
17
  Classifier: Topic :: Software Development
18
18
  Classifier: Typing :: Typed
19
19
  Requires-Python: <3.14,>=3.12
20
- Requires-Dist: homeassistant==2024.12.0b6
20
+ Requires-Dist: homeassistant==2024.12.2
21
21
  Description-Content-Type: text/markdown
22
22
 
23
23
  [![CI](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml/badge.svg)](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
@@ -663,10 +663,10 @@ homeassistant-stubs/components/date/__init__.pyi,sha256=LrkyYDHQvNGGpCIuEY9OHlYq
663
663
  homeassistant-stubs/components/date/const.pyi,sha256=C4qbq-gHCjjIyOjIFeUPotMyU5BJTC1LlM7bNm8PnpU,35
664
664
  homeassistant-stubs/components/datetime/__init__.pyi,sha256=aCUZJqjlHBYcneLfRwxIxJTGpfyHKo-7HvXO16yGedM,1442
665
665
  homeassistant-stubs/components/datetime/const.pyi,sha256=8rZmQclruyp2RPlZ7svwqUCxYqsKYTyoDCP7ZZl4D0s,54
666
- homeassistant-stubs/components/deako/__init__.pyi,sha256=O2huMmjE3uPqiucItcTtW_0H9G56mbLQSs5IrcFgSoY,638
666
+ homeassistant-stubs/components/deako/__init__.pyi,sha256=c0sZD9IoEU6krYBsL1UBzbl9NGQRHYBv8d1jOel-1sw,632
667
667
  homeassistant-stubs/components/deako/config_flow.pyi,sha256=pb5szMDNuCJWxlzKQsz5JeCuu7ZUwpHAMRGCAAbyCMU,307
668
668
  homeassistant-stubs/components/deako/const.pyi,sha256=SGKWRbHfIv2H-kZwz9DQ_DBt-eIcg0sea5phoD4QfQU,22
669
- homeassistant-stubs/components/deako/light.pyi,sha256=S9x3AOSy1yyRi0tfprq5lb3XDGxRg3UTmxH6v2Kg6L4,1386
669
+ homeassistant-stubs/components/deako/light.pyi,sha256=Uo7RNq-qk0b1hbhq1So3Ir4BbrDaVw_atqxjVvryhIY,1380
670
670
  homeassistant-stubs/components/deconz/__init__.pyi,sha256=DBRU8BHMzcQjiStS777TjLsHEnMMaTOec3_UC2JBFew,1335
671
671
  homeassistant-stubs/components/deconz/alarm_control_panel.pyi,sha256=ckfE7N5w5aD0tT3EMBcUZIS9flr_CHEgh2SZ0CAOs0U,1834
672
672
  homeassistant-stubs/components/deconz/binary_sensor.pyi,sha256=8LGU9alQAp0j6IKptet4DsIv3iVwXmYel12AaKiuyYs,3059
@@ -1419,7 +1419,7 @@ homeassistant-stubs/components/http/forwarded.pyi,sha256=QQuX-qloOWLwJF45Uadx-J0
1419
1419
  homeassistant-stubs/components/http/headers.pyi,sha256=_-xDvZFyfPHa71OuOXfQNFlzTohcvPp_slSYObAPaTc,283
1420
1420
  homeassistant-stubs/components/http/request_context.pyi,sha256=zmAqNeMGvwDHqZ47onabm1oDVRR3-5w-5AILYMtemm4,410
1421
1421
  homeassistant-stubs/components/http/security_filter.pyi,sha256=qLhK0-tfUozOMSGAzFNKSsd_SOnWGAQbIWHFddYjmI8,399
1422
- homeassistant-stubs/components/http/static.pyi,sha256=xz1Z23YUsV4IoknFFg3KyvY6k61k6H8gQ7wdlu9THc8,529
1422
+ homeassistant-stubs/components/http/static.pyi,sha256=njd7w2PEGRRT4D-fEXFRG7SqLSEJcbL2zpjF8CgL-3c,550
1423
1423
  homeassistant-stubs/components/http/view.pyi,sha256=5CAdcEM2RB7R-rRPYp51lwxj-WZMXn_kO1P8qjVWcC0,130
1424
1424
  homeassistant-stubs/components/http/web_runner.pyi,sha256=gN57SW8QyrEQeYNDZAFSQaF1AwkPG_Z3X30BCJr4v_A,594
1425
1425
  homeassistant-stubs/components/huawei_lte/__init__.pyi,sha256=gmv6ZAaO0MOlIncaYwq-nEJTe4fDMWeEBMaW2_Yc82M,4378
@@ -1459,10 +1459,10 @@ homeassistant-stubs/components/husqvarna_automower/number.pyi,sha256=0wWJ5zmlTEa
1459
1459
  homeassistant-stubs/components/husqvarna_automower/select.pyi,sha256=0de_91EATRi9kk-hmMXwirQ3qt7Ap64BmCpiprQKbZk,1218
1460
1460
  homeassistant-stubs/components/husqvarna_automower/sensor.pyi,sha256=K7mBTg47RjQptVSzes0iYuCRCoSf_9m4eif5fSOJJIA,4554
1461
1461
  homeassistant-stubs/components/husqvarna_automower/switch.pyi,sha256=ZR7xoKM02i6dTm7TpmARVrddQ_2MaVIywCNj6S9yzIc,2520
1462
- homeassistant-stubs/components/hydrawise/__init__.pyi,sha256=4VF1fmJIRK6hazYMxfleWWLtl67by3sHEX84MH46iFE,807
1462
+ homeassistant-stubs/components/hydrawise/__init__.pyi,sha256=gydhybub8kI2PqWQcEicsLjJNcizIm8KMhvVrIHb5nc,825
1463
1463
  homeassistant-stubs/components/hydrawise/binary_sensor.pyi,sha256=fQch9mwF97o1C1fVhaJyWcAlmav5nbHNjibRI649LKk,2498
1464
- homeassistant-stubs/components/hydrawise/config_flow.pyi,sha256=XeQlxTynp7bVojBesKLq4oxeQVx8-pqIYL8FlZMRgEI,865
1465
- homeassistant-stubs/components/hydrawise/const.pyi,sha256=uH6OwlCtwoikCZ94VG9_-BKXlq1kvc8ui4l3UaIHtUE,317
1464
+ homeassistant-stubs/components/hydrawise/config_flow.pyi,sha256=LI9B0qAQJLmt_PozewyFRaKoQFNMfDeftAzCCjVrxk4,883
1465
+ homeassistant-stubs/components/hydrawise/const.pyi,sha256=hKdyUom6l7AiZ6jPIUSnTz0M4NmD9QiF_Xbp8irw9Jo,336
1466
1466
  homeassistant-stubs/components/hydrawise/coordinator.pyi,sha256=HzVyDZsVPGRRcYm6lY-htWGtPpU7W-hQvBL0fj6a5ho,1831
1467
1467
  homeassistant-stubs/components/hydrawise/entity.pyi,sha256=WXNnUobw9O-PWZndjscGtxgGOfZPNVfCAQtaQwD5XX4,1353
1468
1468
  homeassistant-stubs/components/hydrawise/sensor.pyi,sha256=87ZM3IQvWacbNzRvFpSnbXBhAcumCZudDYkOVegYcLA,2359
@@ -2207,7 +2207,7 @@ homeassistant-stubs/components/nordpool/const.pyi,sha256=lIZlTpUpKSr8y9OYVa-kOPM
2207
2207
  homeassistant-stubs/components/nordpool/coordinator.pyi,sha256=GMTgJ0IoXuX68d_vIl9D7FRltfHXPUE2VytwfxbLd6M,1146
2208
2208
  homeassistant-stubs/components/nordpool/diagnostics.pyi,sha256=VM-k8FbKf0_jRRbDCVrB_gs6k15uSuwRGJRBfCFfeJs,260
2209
2209
  homeassistant-stubs/components/nordpool/entity.pyi,sha256=3bfGcHmoFJSA1ENWyFqTo3_jVkCjTwHkitp9_oNKI7Q,765
2210
- homeassistant-stubs/components/nordpool/sensor.pyi,sha256=7lb8g3figxT1lXNPkpDIekEmKz3XgC6csBPXxXxFQiM,5008
2210
+ homeassistant-stubs/components/nordpool/sensor.pyi,sha256=0JAiDEEEQ9a4PdYzd9x6srTo81NpML8YCAEXiTxW4Eg,5036
2211
2211
  homeassistant-stubs/components/notify/__init__.pyi,sha256=DU3m1V901_JeTUCQZncN17YMnay9xrMunfxcq8WP31w,3169
2212
2212
  homeassistant-stubs/components/notify/const.pyi,sha256=avQYneEncK6P1GLR7dVBEO4_3uGkpherb8g5cfjww8I,269
2213
2213
  homeassistant-stubs/components/notify/legacy.pyi,sha256=tYahD5daC4H3DYa9l2veEzz50XEEVknHG3Nt5fgZG70,3063
@@ -3047,7 +3047,7 @@ homeassistant-stubs/components/switchbee/entity.pyi,sha256=HeVXAd6EAM08p3Ii2wxQI
3047
3047
  homeassistant-stubs/components/switchbee/light.pyi,sha256=KQC6e-0B0f5KG9caSyL9mG0ytcU0nLnoG1rGKFZcZ84,1528
3048
3048
  homeassistant-stubs/components/switchbee/switch.pyi,sha256=JtA8sB9U93_eZ8ek9uTSxxokBiL1i8kkxdg7TidjtGo,1416
3049
3049
  homeassistant-stubs/components/switchbot_cloud/__init__.pyi,sha256=jTcCZP0g73S_m7Ef76Y5vuxRzSNp5b1XBYZJ1MtdDao,1598
3050
- homeassistant-stubs/components/switchbot_cloud/climate.pyi,sha256=k9T-Qx12_Z4U0-A2bqCiOqJIheJ3d1onZHyyItCyYOc,1761
3050
+ homeassistant-stubs/components/switchbot_cloud/climate.pyi,sha256=mkZ0e4eELzfQPYT1FK83MQJmJBwfyVgiKmCA2jUuAU0,1825
3051
3051
  homeassistant-stubs/components/switchbot_cloud/config_flow.pyi,sha256=rcBg0fQ-n3EoCeX0OzgCHx3D1mazAxF0s1HjlVCWlhA,554
3052
3052
  homeassistant-stubs/components/switchbot_cloud/const.pyi,sha256=gibVOGeWRHVcZLEO4uLgpHitEZR0zhbid3pD9XttV7U,323
3053
3053
  homeassistant-stubs/components/switchbot_cloud/coordinator.pyi,sha256=9AF3eaDqpO4fK4bcazgKdt0NO5ML6U1ljaiP_waugPM,757
@@ -3788,7 +3788,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
3788
3788
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
3789
3789
  homeassistant-stubs/util/yaml/loader.pyi,sha256=FpRpxb-ZvfthDdO6Js0JqWtzlQfKDPP7nY5yOXp3604,3917
3790
3790
  homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
3791
- homeassistant_stubs-2024.12.0b6.dist-info/METADATA,sha256=MIbXEu9y2xOnFLUxprm5qw39c4qHlCi7rNaG6JtQTr8,2936
3792
- homeassistant_stubs-2024.12.0b6.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
3793
- homeassistant_stubs-2024.12.0b6.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3794
- homeassistant_stubs-2024.12.0b6.dist-info/RECORD,,
3791
+ homeassistant_stubs-2024.12.2.dist-info/METADATA,sha256=UytPVq0LCEXkfdRa8wgNqnNzjLHA0a_Ydo3M4AHvISU,2932
3792
+ homeassistant_stubs-2024.12.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
3793
+ homeassistant_stubs-2024.12.2.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3794
+ homeassistant_stubs-2024.12.2.dist-info/RECORD,,