homeassistant-stubs 2025.9.0b0__py3-none-any.whl → 2025.9.0b1__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.

@@ -3,5 +3,5 @@ from _typeshed import Incomplete
3
3
  _LOGGER: Incomplete
4
4
  DOMAIN: str
5
5
  CONF_LOGIN_DATA: str
6
- DEFAULT_DOMAIN: Incomplete
6
+ DEFAULT_DOMAIN: str
7
7
  COUNTRY_DOMAINS: Incomplete
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
4
4
  from aioamazondevices.api import AmazonDevice as AmazonDevice
5
5
  from collections.abc import Callable as Callable
6
6
  from dataclasses import dataclass
7
- from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
7
+ from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
8
8
  from homeassistant.const import LIGHT_LUX as LIGHT_LUX, UnitOfTemperature as UnitOfTemperature
9
9
  from homeassistant.core import HomeAssistant as HomeAssistant
10
10
  from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
@@ -5,7 +5,7 @@ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowRes
5
5
  from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_CLIENT_SECRET as CONF_CLIENT_SECRET
6
6
  from homeassistant.helpers.selector import TextSelector as TextSelector, TextSelectorConfig as TextSelectorConfig, TextSelectorType as TextSelectorType
7
7
  from homeassistant.util import slugify as slugify
8
- from mastodon.Mastodon import Account as Account, Instance as Instance
8
+ from mastodon.Mastodon import Account as Account, Instance as Instance, InstanceV2 as InstanceV2
9
9
  from typing import Any
10
10
 
11
11
  STEP_USER_DATA_SCHEMA: Incomplete
@@ -15,6 +15,6 @@ def base_url_from_url(url: str) -> str: ...
15
15
  class MastodonConfigFlow(ConfigFlow, domain=DOMAIN):
16
16
  VERSION: int
17
17
  MINOR_VERSION: int
18
- def check_connection(self, base_url: str, client_id: str, client_secret: str, access_token: str) -> tuple[Instance | None, Account | None, dict[str, str]]: ...
18
+ def check_connection(self, base_url: str, client_id: str, client_secret: str, access_token: str) -> tuple[InstanceV2 | Instance | None, Account | None, dict[str, str]]: ...
19
19
  def show_user_form(self, user_input: dict[str, Any] | None = None, errors: dict[str, str] | None = None, description_placeholders: dict[str, str] | None = None, step_id: str = 'user') -> ConfigFlowResult: ...
20
20
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,7 +1,7 @@
1
1
  from .coordinator import MastodonConfigEntry as MastodonConfigEntry
2
2
  from homeassistant.core import HomeAssistant as HomeAssistant
3
- from mastodon.Mastodon import Account as Account, Instance as Instance
3
+ from mastodon.Mastodon import Account as Account, Instance as Instance, InstanceV2 as InstanceV2
4
4
  from typing import Any
5
5
 
6
6
  async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry: MastodonConfigEntry) -> dict[str, Any]: ...
7
- def get_diagnostics(config_entry: MastodonConfigEntry) -> tuple[Instance, Account]: ...
7
+ def get_diagnostics(config_entry: MastodonConfigEntry) -> tuple[InstanceV2 | Instance, Account]: ...
@@ -45,6 +45,7 @@ class PropertyZWaveJSEntityDescription(BinarySensorEntityDescription):
45
45
  class NewNotificationZWaveJSEntityDescription(BinarySensorEntityDescription):
46
46
  state_key: str
47
47
 
48
+ MIGRATED_NOTIFICATION_TYPES: Incomplete
48
49
  NOTIFICATION_SENSOR_MAPPINGS: tuple[NotificationZWaveJSEntityDescription, ...]
49
50
  PROPERTY_SENSOR_MAPPINGS: dict[str, PropertyZWaveJSEntityDescription]
50
51
  BOOLEAN_SENSOR_MAPPINGS: dict[tuple[int, int | str], BinarySensorEntityDescription]
@@ -20,7 +20,7 @@ from homeassistant.util.event_type import EventType as EventType
20
20
  from homeassistant.util.hass_dict import HassKey as HassKey
21
21
  from homeassistant.util.json import format_unserializable_data as format_unserializable_data
22
22
  from propcache.api import cached_property as under_cached_property
23
- from typing import Any, Literal, TypedDict
23
+ from typing import Any, Final, Literal, TypedDict
24
24
  from yarl import URL
25
25
 
26
26
  _LOGGER: Incomplete
@@ -35,6 +35,7 @@ CONNECTION_NETWORK_MAC: str
35
35
  CONNECTION_UPNP: str
36
36
  CONNECTION_ZIGBEE: str
37
37
  ORPHANED_DEVICE_KEEP_SECONDS: Incomplete
38
+ UNDEFINED_STR: Final[str]
38
39
  RUNTIME_ONLY_ATTRS: Incomplete
39
40
  CONFIGURATION_URL_SCHEMES: Incomplete
40
41
 
@@ -157,7 +158,7 @@ class DeletedDeviceEntry:
157
158
  config_entries_subentries: dict[str, set[str | None]]
158
159
  connections: set[tuple[str, str]]
159
160
  created_at: datetime
160
- disabled_by: DeviceEntryDisabler | None
161
+ disabled_by: DeviceEntryDisabler | UndefinedType | None
161
162
  id: str
162
163
  identifiers: set[tuple[str, str]]
163
164
  labels: set[str]
@@ -165,7 +166,7 @@ class DeletedDeviceEntry:
165
166
  name_by_user: str | None
166
167
  orphaned_timestamp: float | None
167
168
  _cache: dict[str, Any]
168
- def to_device_entry(self, config_entry: ConfigEntry, config_subentry_id: str | None, connections: set[tuple[str, str]], identifiers: set[tuple[str, str]]) -> DeviceEntry: ...
169
+ def to_device_entry(self, config_entry: ConfigEntry, config_subentry_id: str | None, connections: set[tuple[str, str]], identifiers: set[tuple[str, str]], disabled_by: DeviceEntryDisabler | UndefinedType | None) -> DeviceEntry: ...
169
170
  @under_cached_property
170
171
  def as_storage_fragment(self) -> json_fragment: ...
171
172
  def __init__(self, area_id, config_entries, config_entries_subentries, connections, created_at, disabled_by, id, identifiers, labels, modified_at, name_by_user, orphaned_timestamp, cache) -> None: ...
@@ -20,7 +20,7 @@ from homeassistant.util.hass_dict import HassKey as HassKey
20
20
  from homeassistant.util.json import format_unserializable_data as format_unserializable_data
21
21
  from homeassistant.util.read_only_dict import ReadOnlyDict as ReadOnlyDict
22
22
  from propcache.api import cached_property as under_cached_property
23
- from typing import Any, Literal, NotRequired, TypedDict
23
+ from typing import Any, Final, Literal, NotRequired, TypedDict
24
24
 
25
25
  DATA_REGISTRY: HassKey[EntityRegistry]
26
26
  EVENT_ENTITY_REGISTRY_UPDATED: EventType[EventEntityRegistryUpdatedData]
@@ -30,6 +30,7 @@ STORAGE_VERSION_MINOR: int
30
30
  STORAGE_KEY: str
31
31
  CLEANUP_INTERVAL: Incomplete
32
32
  ORPHANED_ENTITY_KEEP_SECONDS: Incomplete
33
+ UNDEFINED_STR: Final[str]
33
34
  ENTITY_CATEGORY_VALUE_TO_INDEX: dict[EntityCategory | None, int]
34
35
  ENTITY_CATEGORY_INDEX_TO_VALUE: Incomplete
35
36
  ENTITY_DESCRIBING_ATTRIBUTES: Incomplete
@@ -61,6 +62,7 @@ type ReadOnlyEntityOptionsType = ReadOnlyDict[str, ReadOnlyDict[str, Any]]
61
62
  DISPLAY_DICT_OPTIONAL: Incomplete
62
63
 
63
64
  def _protect_entity_options(data: EntityOptionsType | None) -> ReadOnlyEntityOptionsType: ...
65
+ def _protect_optional_entity_options(data: EntityOptionsType | UndefinedType | None) -> ReadOnlyEntityOptionsType | UndefinedType: ...
64
66
 
65
67
  class RegistryEntry:
66
68
  entity_id: str
@@ -132,15 +134,15 @@ class DeletedRegistryEntry:
132
134
  config_subentry_id: str | None
133
135
  created_at: datetime
134
136
  device_class: str | None
135
- disabled_by: RegistryEntryDisabler | None
137
+ disabled_by: RegistryEntryDisabler | UndefinedType | None
136
138
  domain: str
137
- hidden_by: RegistryEntryHider | None
139
+ hidden_by: RegistryEntryHider | UndefinedType | None
138
140
  icon: str | None
139
141
  id: str
140
142
  labels: set[str]
141
143
  modified_at: datetime
142
144
  name: str | None
143
- options: ReadOnlyEntityOptionsType
145
+ options: ReadOnlyEntityOptionsType | UndefinedType
144
146
  orphaned_timestamp: float | None
145
147
  _cache: dict[str, Any]
146
148
  @domain.default
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.9.0b0
3
+ Version: 2025.9.0b1
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.9.0b0
21
+ Requires-Dist: homeassistant==2025.9.0b1
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)
@@ -232,12 +232,12 @@ homeassistant-stubs/components/alexa/state_report.pyi,sha256=z6l9miD598LoKEdlMP2
232
232
  homeassistant-stubs/components/alexa_devices/__init__.pyi,sha256=vynmlaumQUjlYji4TJ5anL8u-BJY75whc8bmLoO9GeE,1017
233
233
  homeassistant-stubs/components/alexa_devices/binary_sensor.pyi,sha256=VPfaNQ6tpM8vLlOefGfdG5v6XrsLnH7TR8e71pm3A1c,1362
234
234
  homeassistant-stubs/components/alexa_devices/config_flow.pyi,sha256=a7VQKF_45mfsJZwPaNUJe806sGTSsRWMJtFseuxnegs,1193
235
- homeassistant-stubs/components/alexa_devices/const.pyi,sha256=dqNKo4u5J-0i9uoeD4rw8vZILqUNnQ3KizoQ8PAkFrQ,142
235
+ homeassistant-stubs/components/alexa_devices/const.pyi,sha256=wE2gcCVQ2yNsj_-lK8KbIafnNeF8OxS8XxwQXlXK1bg,135
236
236
  homeassistant-stubs/components/alexa_devices/coordinator.pyi,sha256=RS7MNdKpbWL5HybB3JUnWCe__2ebWawhmFpG34pww9E,1059
237
237
  homeassistant-stubs/components/alexa_devices/diagnostics.pyi,sha256=bRYiRMxTdgbGeSTQw0w0S91vwU2sCBuBNfHvyt_mgug,870
238
238
  homeassistant-stubs/components/alexa_devices/entity.pyi,sha256=1oxFqfyw52JjClztThBJdtXj2BeC3_KWt0YPhsgiHrQ,914
239
239
  homeassistant-stubs/components/alexa_devices/notify.pyi,sha256=JDU6BbYvy7NlK41ivzAJz0CDDJpr5M-2OJk858PK5M4,1391
240
- homeassistant-stubs/components/alexa_devices/sensor.pyi,sha256=VOw09ICnjoyzBX2-JmSfuFt91j3ElMMVoIodfMqjur0,1435
240
+ homeassistant-stubs/components/alexa_devices/sensor.pyi,sha256=PNo4r7dQ7lQtFEPbheI9mdZQ7XlheIV0mQ8zYvQ8Qhg,1473
241
241
  homeassistant-stubs/components/alexa_devices/services.pyi,sha256=iDkcf2cxZF8RTO1AivFrMzUzpGOIybl-bJzI_GcPRE4,1125
242
242
  homeassistant-stubs/components/alexa_devices/switch.pyi,sha256=w3ciKjUJSg54EmohphEoFPczwTbMhK1cjszzo8Vh9mg,1411
243
243
  homeassistant-stubs/components/alexa_devices/utils.pyi,sha256=UU3T3fQ74zYah8pDCY6y4_Hy26UhwSPJaF9Kno-xLmk,433
@@ -2167,10 +2167,10 @@ homeassistant-stubs/components/madvr/sensor.pyi,sha256=tl9Xvj79K_9FQ0SEJXJYbWkiH
2167
2167
  homeassistant-stubs/components/manual/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2168
2168
  homeassistant-stubs/components/manual/alarm_control_panel.pyi,sha256=7zZVdQk0-Bdwk1AQFesBNZjPQJGSrvMvw_LdoNek8SY,4627
2169
2169
  homeassistant-stubs/components/mastodon/__init__.pyi,sha256=nO3D__Zf8YxGW8Bt_gc1TtFQisMe21AZ7bKHJwjVbpc,1496
2170
- homeassistant-stubs/components/mastodon/config_flow.pyi,sha256=QOnZBmerIVufrKw5pXEB3nDuwfXCcSHJqh30lqCUrC0,1448
2170
+ homeassistant-stubs/components/mastodon/config_flow.pyi,sha256=FS4omDedFk8CVsy4y1-XJ-irkR-MBgjPFgTubzAxa9s,1487
2171
2171
  homeassistant-stubs/components/mastodon/const.pyi,sha256=AnJmxPXr1QnlTecOGEGRbvjOB9jRooxNECoM5SzQD-Q,326
2172
2172
  homeassistant-stubs/components/mastodon/coordinator.pyi,sha256=eG0wWOXwUlE6QjjsWtu1pyeHphdyLckQX7J2q1_Kipc,977
2173
- homeassistant-stubs/components/mastodon/diagnostics.pyi,sha256=SZs31TpIw86hCdFfQwS6WR5yX9XRPWk0iakIPBYA9mA,437
2173
+ homeassistant-stubs/components/mastodon/diagnostics.pyi,sha256=mm-EgOQTCYah9uVoyAZ0fY6LaxjcbO5VwZOK4lVwYRE,476
2174
2174
  homeassistant-stubs/components/mastodon/entity.pyi,sha256=rK27sEfejQO2ZHWRncUI15orMIPpUY3CjZ8NCskM8D4,904
2175
2175
  homeassistant-stubs/components/mastodon/sensor.pyi,sha256=0jSnFEKPcNUhvgmm4q4hVtUeXlWzdu3w1yzWUqpQqFI,1211
2176
2176
  homeassistant-stubs/components/mastodon/services.pyi,sha256=AsgKL6AoP1uAb7DDkfS6S2JdbJDG5G1RfTKs4OK2hqo,1282
@@ -4205,7 +4205,7 @@ homeassistant-stubs/components/zone/trigger.pyi,sha256=lZ4VXZGiwdRH6HinVkTJVcp_e
4205
4205
  homeassistant-stubs/components/zwave_js/__init__.pyi,sha256=8r8zWpcWiKoDLgD2C2yu0hVFKkJqFWySJs0o3wOJJwI,8186
4206
4206
  homeassistant-stubs/components/zwave_js/addon.pyi,sha256=6QRtRubMXA0j6e20eSGaWqXoKYhQMsqfMQs6U_Y5mIk,444
4207
4207
  homeassistant-stubs/components/zwave_js/api.pyi,sha256=kxJPbhjJLAy3vD6aM69s1A3wMy2fxrXmymN_YXLWwQw,19937
4208
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi,sha256=kawEaUIFsjJLJb_hwCs6669EbOcwBxg_BGgtk_Db2Bo,4277
4208
+ homeassistant-stubs/components/zwave_js/binary_sensor.pyi,sha256=j9zzx4lI9Q9OwRJrE0uB3hrK84O1JNkXuZBRRouKdnA,4317
4209
4209
  homeassistant-stubs/components/zwave_js/button.pyi,sha256=fizq4DRptMhKhZGCutC0iCY_oXga09e-w8k6wQ6b8_w,2190
4210
4210
  homeassistant-stubs/components/zwave_js/climate.pyi,sha256=s4bPmmgVxNtTbZ_NYjUMY5Ii9IC0YLcMDo6j6KEYcVM,4458
4211
4211
  homeassistant-stubs/components/zwave_js/config_flow.pyi,sha256=tZjpMCDZj8hvuBXELtRFv8VPUQN9L_AeVDLItQ0CgXs,9629
@@ -4274,14 +4274,14 @@ homeassistant-stubs/helpers/data_entry_flow.pyi,sha256=0KALiMqnfa7sA1sT5KchZ2vtj
4274
4274
  homeassistant-stubs/helpers/debounce.pyi,sha256=lnisG_0NkR1odeqez4SDZkW_Wk8BDiYt55cSfY4M9_Y,1353
4275
4275
  homeassistant-stubs/helpers/deprecation.pyi,sha256=DzqtSPzdvyF2FOy97ev5FrUT5jjr2vY0KZ69-87ftbY,2524
4276
4276
  homeassistant-stubs/helpers/device.pyi,sha256=Kq-Vvz1XKGq1XmpomL5NLR4YydAZVrORO2gZ53tNKcw,897
4277
- homeassistant-stubs/helpers/device_registry.pyi,sha256=Yx72BfCBrCX_8AHJXFoCgArTzosEtP_p9a5xRz2M49Y,13975
4277
+ homeassistant-stubs/helpers/device_registry.pyi,sha256=-ruJaWoRh1gKmyVNIcs8d_YKHHo8u_s6D8tnrDDf-FE,14081
4278
4278
  homeassistant-stubs/helpers/discovery.pyi,sha256=5MZKVLTRnu2m6l8NM_ETWO-o6Ux-tRwZC2QJ66YjOH8,1835
4279
4279
  homeassistant-stubs/helpers/discovery_flow.pyi,sha256=SLYpWAl2JuilyTFIQouqNJiEvn643aAzEJW4t9tV8R4,1863
4280
4280
  homeassistant-stubs/helpers/dispatcher.pyi,sha256=z0VFzDAS4bG34zEuaw53-1-WgrquxGIFM2vUuhPyxSo,2545
4281
4281
  homeassistant-stubs/helpers/entity.pyi,sha256=O2M0YaoNbvFimBDa81wg4V2-bhOJxSF8jJwNqoKeduM,13129
4282
4282
  homeassistant-stubs/helpers/entity_component.pyi,sha256=8XMxnUcxQ5piz-arPKdlU5mMJ6AKsNo9wsj2OpZguiE,3985
4283
4283
  homeassistant-stubs/helpers/entity_platform.pyi,sha256=ZPU6TAXlgQajetObcCTvsGjo9c8-noqy4JbWEhvr9xA,8286
4284
- homeassistant-stubs/helpers/entity_registry.pyi,sha256=Rigzum_xQOb3sXAUays6zAzU932Iej9-fXuS0x1JG4c,16203
4284
+ homeassistant-stubs/helpers/entity_registry.pyi,sha256=zo6MxkOX73KXMh0okQQEW-Ps0D7hs04B9Fpka8Qibnw,16419
4285
4285
  homeassistant-stubs/helpers/entity_values.pyi,sha256=lxdx5isoDpSurN03yLcyJiiwkphatspaDbAPV51sKtE,509
4286
4286
  homeassistant-stubs/helpers/entityfilter.pyi,sha256=KXooZYQHnY0I_DFpEEE5zTq0aEXSr7Eu7WQF2LPLjzw,2054
4287
4287
  homeassistant-stubs/helpers/event.pyi,sha256=qXg8Hav1xH0njmGdy0XO2NgJxDLZNabAUKZT3gCPbD8,18159
@@ -4389,7 +4389,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=vaIsOJB6hkwj7GLyo3YCNZCTwVgvvODy
4389
4389
  homeassistant-stubs/util/yaml/input.pyi,sha256=j_ejvjaXDxeNYtA4hb9tNUPsQdi7wogbmTQXsqmt5xo,253
4390
4390
  homeassistant-stubs/util/yaml/loader.pyi,sha256=_HvI0rXv3kQRsSRV-VZGWVyGjD0SAzLkPfq0A3jksrs,850
4391
4391
  homeassistant-stubs/util/yaml/objects.pyi,sha256=Ynjx0JaWF3u82Pj8aXO-YeqrkzNO8t-Nn7G7rr_X-oI,206
4392
- homeassistant_stubs-2025.9.0b0.dist-info/METADATA,sha256=so_VtetW5WXG783LOIv-nicZmj43Mk0ohu4ACWNicdQ,2952
4393
- homeassistant_stubs-2025.9.0b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4394
- homeassistant_stubs-2025.9.0b0.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4395
- homeassistant_stubs-2025.9.0b0.dist-info/RECORD,,
4392
+ homeassistant_stubs-2025.9.0b1.dist-info/METADATA,sha256=8KcJzV5rKqu6PuZR24hgBMapycu_v-fbNdc_rEg_91k,2952
4393
+ homeassistant_stubs-2025.9.0b1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4394
+ homeassistant_stubs-2025.9.0b1.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4395
+ homeassistant_stubs-2025.9.0b1.dist-info/RECORD,,