homeassistant-stubs 2024.10.2__py3-none-any.whl → 2024.10.3__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.
Files changed (273) hide show
  1. homeassistant-stubs/auth/__init__.pyi +0 -3
  2. homeassistant-stubs/auth/mfa_modules/notify.pyi +0 -1
  3. homeassistant-stubs/auth/permissions/types.pyi +0 -7
  4. homeassistant-stubs/auth/permissions/util.pyi +0 -3
  5. homeassistant-stubs/auth/providers/trusted_networks.pyi +0 -3
  6. homeassistant-stubs/components/accuweather/__init__.pyi +0 -1
  7. homeassistant-stubs/components/acmeda/__init__.pyi +0 -1
  8. homeassistant-stubs/components/adguard/__init__.pyi +0 -1
  9. homeassistant-stubs/components/aftership/__init__.pyi +0 -2
  10. homeassistant-stubs/components/airgradient/__init__.pyi +0 -1
  11. homeassistant-stubs/components/airly/__init__.pyi +0 -1
  12. homeassistant-stubs/components/airnow/__init__.pyi +0 -1
  13. homeassistant-stubs/components/airthings/__init__.pyi +0 -3
  14. homeassistant-stubs/components/airtouch5/__init__.pyi +0 -2
  15. homeassistant-stubs/components/airvisual/__init__.pyi +0 -1
  16. homeassistant-stubs/components/airvisual_pro/__init__.pyi +0 -1
  17. homeassistant-stubs/components/airzone/__init__.pyi +0 -1
  18. homeassistant-stubs/components/airzone_cloud/__init__.pyi +0 -1
  19. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +1 -0
  20. homeassistant-stubs/components/amberelectric/__init__.pyi +0 -2
  21. homeassistant-stubs/components/ambient_network/__init__.pyi +0 -1
  22. homeassistant-stubs/components/ambient_station/__init__.pyi +0 -1
  23. homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
  24. homeassistant-stubs/components/androidtv/entity.pyi +0 -2
  25. homeassistant-stubs/components/anova/models.pyi +0 -2
  26. homeassistant-stubs/components/anthemav/__init__.pyi +0 -1
  27. homeassistant-stubs/components/apcupsd/__init__.pyi +0 -1
  28. homeassistant-stubs/components/apple_tv/__init__.pyi +0 -1
  29. homeassistant-stubs/components/apsystems/__init__.pyi +0 -1
  30. homeassistant-stubs/components/arcam_fmj/__init__.pyi +0 -1
  31. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +1 -2
  32. homeassistant-stubs/components/assist_satellite/entity.pyi +1 -0
  33. homeassistant-stubs/components/asuswrt/__init__.pyi +0 -1
  34. homeassistant-stubs/components/asuswrt/bridge.pyi +1 -3
  35. homeassistant-stubs/components/autarco/__init__.pyi +0 -1
  36. homeassistant-stubs/components/auth/__init__.pyi +0 -3
  37. homeassistant-stubs/components/axis/__init__.pyi +0 -1
  38. homeassistant-stubs/components/baf/__init__.pyi +0 -2
  39. homeassistant-stubs/components/binary_sensor/__init__.pyi +1 -0
  40. homeassistant-stubs/components/bluesound/__init__.pyi +0 -1
  41. homeassistant-stubs/components/bluetooth/models.pyi +0 -4
  42. homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +0 -1
  43. homeassistant-stubs/components/bond/__init__.pyi +0 -1
  44. homeassistant-stubs/components/braviatv/coordinator.pyi +1 -1
  45. homeassistant-stubs/components/brother/__init__.pyi +0 -1
  46. homeassistant-stubs/components/bryant_evolution/__init__.pyi +0 -2
  47. homeassistant-stubs/components/bthome/types.pyi +0 -2
  48. homeassistant-stubs/components/button/__init__.pyi +1 -0
  49. homeassistant-stubs/components/calendar/__init__.pyi +1 -0
  50. homeassistant-stubs/components/calendar/trigger.pyi +1 -3
  51. homeassistant-stubs/components/camera/__init__.pyi +1 -2
  52. homeassistant-stubs/components/canary/sensor.pyi +0 -1
  53. homeassistant-stubs/components/cert_expiry/__init__.pyi +0 -1
  54. homeassistant-stubs/components/climate/__init__.pyi +1 -0
  55. homeassistant-stubs/components/cloud/http_api.pyi +1 -1
  56. homeassistant-stubs/components/co2signal/__init__.pyi +0 -1
  57. homeassistant-stubs/components/configurator/__init__.pyi +0 -2
  58. homeassistant-stubs/components/cover/__init__.pyi +1 -0
  59. homeassistant-stubs/components/date/__init__.pyi +1 -0
  60. homeassistant-stubs/components/datetime/__init__.pyi +1 -0
  61. homeassistant-stubs/components/deako/__init__.pyi +0 -2
  62. homeassistant-stubs/components/deconz/entity.pyi +0 -5
  63. homeassistant-stubs/components/device_automation/__init__.pyi +0 -2
  64. homeassistant-stubs/components/device_tracker/config_entry.pyi +2 -0
  65. homeassistant-stubs/components/devolo_home_control/__init__.pyi +0 -3
  66. homeassistant-stubs/components/devolo_home_network/__init__.pyi +0 -1
  67. homeassistant-stubs/components/devolo_home_network/entity.pyi +0 -4
  68. homeassistant-stubs/components/discovergy/__init__.pyi +0 -1
  69. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +0 -1
  70. homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
  71. homeassistant-stubs/components/doorbird/models.pyi +0 -2
  72. homeassistant-stubs/components/dsmr/__init__.pyi +0 -1
  73. homeassistant-stubs/components/duotecno/entity.pyi +1 -1
  74. homeassistant-stubs/components/ecovacs/__init__.pyi +0 -1
  75. homeassistant-stubs/components/ecowitt/__init__.pyi +0 -2
  76. homeassistant-stubs/components/efergy/__init__.pyi +0 -2
  77. homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -1
  78. homeassistant-stubs/components/elgato/__init__.pyi +0 -1
  79. homeassistant-stubs/components/elkm1/__init__.pyi +0 -1
  80. homeassistant-stubs/components/energy/data.pyi +0 -1
  81. homeassistant-stubs/components/energy/types.pyi +0 -2
  82. homeassistant-stubs/components/energy/websocket_api.pyi +0 -4
  83. homeassistant-stubs/components/enigma2/__init__.pyi +0 -1
  84. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +0 -1
  85. homeassistant-stubs/components/esphome/entity.pyi +1 -1
  86. homeassistant-stubs/components/esphome/entry_data.pyi +0 -1
  87. homeassistant-stubs/components/event/__init__.pyi +1 -0
  88. homeassistant-stubs/components/evil_genius_labs/util.pyi +1 -1
  89. homeassistant-stubs/components/fan/__init__.pyi +1 -0
  90. homeassistant-stubs/components/feedreader/__init__.pyi +0 -1
  91. homeassistant-stubs/components/filesize/__init__.pyi +0 -2
  92. homeassistant-stubs/components/forecast_solar/__init__.pyi +0 -1
  93. homeassistant-stubs/components/fritzbox/coordinator.pyi +0 -2
  94. homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +0 -1
  95. homeassistant-stubs/components/fronius/__init__.pyi +0 -1
  96. homeassistant-stubs/components/fronius/const.pyi +0 -1
  97. homeassistant-stubs/components/fujitsu_fglair/__init__.pyi +0 -1
  98. homeassistant-stubs/components/fyta/__init__.pyi +0 -1
  99. homeassistant-stubs/components/gios/__init__.pyi +0 -1
  100. homeassistant-stubs/components/glances/__init__.pyi +0 -1
  101. homeassistant-stubs/components/goalzero/coordinator.pyi +0 -2
  102. homeassistant-stubs/components/google_photos/types.pyi +0 -2
  103. homeassistant-stubs/components/google_sheets/__init__.pyi +0 -1
  104. homeassistant-stubs/components/gpsd/__init__.pyi +0 -2
  105. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +0 -2
  106. homeassistant-stubs/components/history_stats/__init__.pyi +0 -2
  107. homeassistant-stubs/components/homekit/models.pyi +0 -2
  108. homeassistant-stubs/components/homekit_controller/utils.pyi +0 -2
  109. homeassistant-stubs/components/homewizard/__init__.pyi +0 -2
  110. homeassistant-stubs/components/http/data_validator.pyi +1 -1
  111. homeassistant-stubs/components/http/decorators.pyi +0 -5
  112. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +0 -1
  113. homeassistant-stubs/components/humidifier/__init__.pyi +1 -0
  114. homeassistant-stubs/components/husqvarna_automower/__init__.pyi +0 -1
  115. homeassistant-stubs/components/ibeacon/__init__.pyi +0 -2
  116. homeassistant-stubs/components/image/__init__.pyi +1 -0
  117. homeassistant-stubs/components/image_processing/__init__.pyi +1 -0
  118. homeassistant-stubs/components/imap/__init__.pyi +0 -1
  119. homeassistant-stubs/components/imgw_pib/__init__.pyi +0 -1
  120. homeassistant-stubs/components/intent/timers.pyi +0 -1
  121. homeassistant-stubs/components/iotty/__init__.pyi +0 -1
  122. homeassistant-stubs/components/ipp/__init__.pyi +0 -1
  123. homeassistant-stubs/components/ipp/sensor.pyi +0 -1
  124. homeassistant-stubs/components/islamic_prayer_times/__init__.pyi +0 -1
  125. homeassistant-stubs/components/jellyfin/__init__.pyi +0 -2
  126. homeassistant-stubs/components/jvc_projector/__init__.pyi +0 -1
  127. homeassistant-stubs/components/knocki/__init__.pyi +0 -1
  128. homeassistant-stubs/components/knx/const.pyi +0 -4
  129. homeassistant-stubs/components/knx/websocket.pyi +1 -5
  130. homeassistant-stubs/components/kraken/const.pyi +1 -1
  131. homeassistant-stubs/components/lamarzocco/__init__.pyi +0 -1
  132. homeassistant-stubs/components/lawn_mower/__init__.pyi +1 -0
  133. homeassistant-stubs/components/lcn/helpers.pyi +0 -3
  134. homeassistant-stubs/components/lcn/websocket.pyi +1 -3
  135. homeassistant-stubs/components/lektrico/__init__.pyi +0 -1
  136. homeassistant-stubs/components/lidarr/__init__.pyi +0 -1
  137. homeassistant-stubs/components/light/__init__.pyi +1 -0
  138. homeassistant-stubs/components/linkplay/__init__.pyi +0 -1
  139. homeassistant-stubs/components/litterrobot/__init__.pyi +0 -1
  140. homeassistant-stubs/components/local_todo/__init__.pyi +0 -1
  141. homeassistant-stubs/components/lock/__init__.pyi +1 -0
  142. homeassistant-stubs/components/madvr/__init__.pyi +0 -1
  143. homeassistant-stubs/components/mastodon/__init__.pyi +0 -1
  144. homeassistant-stubs/components/matter/models.pyi +0 -3
  145. homeassistant-stubs/components/matter/select.pyi +0 -2
  146. homeassistant-stubs/components/media_player/__init__.pyi +1 -0
  147. homeassistant-stubs/components/mikrotik/__init__.pyi +0 -1
  148. homeassistant-stubs/components/mopeka/__init__.pyi +0 -1
  149. homeassistant-stubs/components/mqtt/__init__.pyi +0 -2
  150. homeassistant-stubs/components/mqtt/client.pyi +0 -2
  151. homeassistant-stubs/components/mqtt/models.pyi +0 -3
  152. homeassistant-stubs/components/mysensors/const.pyi +0 -5
  153. homeassistant-stubs/components/myuplink/__init__.pyi +0 -1
  154. homeassistant-stubs/components/nam/__init__.pyi +0 -1
  155. homeassistant-stubs/components/nanoleaf/__init__.pyi +0 -1
  156. homeassistant-stubs/components/nextdns/__init__.pyi +0 -2
  157. homeassistant-stubs/components/notify/__init__.pyi +1 -0
  158. homeassistant-stubs/components/number/__init__.pyi +1 -0
  159. homeassistant-stubs/components/nut/__init__.pyi +0 -1
  160. homeassistant-stubs/components/oncue/types.pyi +0 -3
  161. homeassistant-stubs/components/onewire/__init__.pyi +0 -1
  162. homeassistant-stubs/components/oralb/__init__.pyi +0 -1
  163. homeassistant-stubs/components/otbr/__init__.pyi +0 -1
  164. homeassistant-stubs/components/pi_hole/__init__.pyi +0 -1
  165. homeassistant-stubs/components/ping/__init__.pyi +0 -1
  166. homeassistant-stubs/components/plugwise/__init__.pyi +0 -2
  167. homeassistant-stubs/components/plugwise/const.pyi +0 -3
  168. homeassistant-stubs/components/plugwise/util.pyi +1 -1
  169. homeassistant-stubs/components/powerwall/models.pyi +0 -2
  170. homeassistant-stubs/components/private_ble_device/coordinator.pyi +0 -3
  171. homeassistant-stubs/components/proximity/coordinator.pyi +0 -1
  172. homeassistant-stubs/components/radarr/__init__.pyi +0 -1
  173. homeassistant-stubs/components/rainmachine/__init__.pyi +0 -1
  174. homeassistant-stubs/components/rainmachine/switch.pyi +1 -1
  175. homeassistant-stubs/components/recorder/util.pyi +0 -5
  176. homeassistant-stubs/components/remote/__init__.pyi +1 -0
  177. homeassistant-stubs/components/renault/__init__.pyi +0 -1
  178. homeassistant-stubs/components/ring/__init__.pyi +0 -1
  179. homeassistant-stubs/components/ring/entity.pyi +1 -1
  180. homeassistant-stubs/components/roborock/__init__.pyi +0 -1
  181. homeassistant-stubs/components/roku/__init__.pyi +2 -1
  182. homeassistant-stubs/components/roku/browse_media.pyi +0 -2
  183. homeassistant-stubs/components/roku/config_flow.pyi +7 -2
  184. homeassistant-stubs/components/roku/const.pyi +2 -0
  185. homeassistant-stubs/components/roku/coordinator.pyi +2 -1
  186. homeassistant-stubs/components/roku/helpers.pyi +0 -4
  187. homeassistant-stubs/components/scrape/__init__.pyi +0 -1
  188. homeassistant-stubs/components/select/__init__.pyi +1 -0
  189. homeassistant-stubs/components/sensibo/__init__.pyi +0 -2
  190. homeassistant-stubs/components/sensor/__init__.pyi +1 -0
  191. homeassistant-stubs/components/sensoterra/__init__.pyi +0 -1
  192. homeassistant-stubs/components/senz/__init__.pyi +0 -2
  193. homeassistant-stubs/components/sfr_box/button.pyi +1 -1
  194. homeassistant-stubs/components/shelly/coordinator.pyi +0 -1
  195. homeassistant-stubs/components/simplisafe/typing.pyi +0 -4
  196. homeassistant-stubs/components/siren/__init__.pyi +1 -0
  197. homeassistant-stubs/components/sleepiq/entity.pyi +0 -2
  198. homeassistant-stubs/components/smlight/__init__.pyi +0 -1
  199. homeassistant-stubs/components/solarlog/__init__.pyi +0 -1
  200. homeassistant-stubs/components/speedtestdotnet/__init__.pyi +0 -1
  201. homeassistant-stubs/components/squeezebox/__init__.pyi +0 -1
  202. homeassistant-stubs/components/ssdp/__init__.pyi +0 -1
  203. homeassistant-stubs/components/sun/entity.pyi +0 -1
  204. homeassistant-stubs/components/switch/__init__.pyi +1 -0
  205. homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +0 -2
  206. homeassistant-stubs/components/switcher_kis/__init__.pyi +0 -1
  207. homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
  208. homeassistant-stubs/components/system_log/__init__.pyi +0 -1
  209. homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
  210. homeassistant-stubs/components/tailwind/typing.pyi +0 -2
  211. homeassistant-stubs/components/tautulli/__init__.pyi +0 -1
  212. homeassistant-stubs/components/tedee/__init__.pyi +0 -1
  213. homeassistant-stubs/components/text/__init__.pyi +1 -0
  214. homeassistant-stubs/components/time/__init__.pyi +1 -0
  215. homeassistant-stubs/components/tod/binary_sensor.pyi +0 -1
  216. homeassistant-stubs/components/tplink/__init__.pyi +0 -1
  217. homeassistant-stubs/components/tplink/entity.pyi +1 -1
  218. homeassistant-stubs/components/trace/__init__.pyi +0 -1
  219. homeassistant-stubs/components/tractive/__init__.pyi +0 -1
  220. homeassistant-stubs/components/transmission/__init__.pyi +0 -1
  221. homeassistant-stubs/components/tts/const.pyi +0 -1
  222. homeassistant-stubs/components/twentemilieu/__init__.pyi +0 -4
  223. homeassistant-stubs/components/unifi/__init__.pyi +0 -1
  224. homeassistant-stubs/components/unifiprotect/data.pyi +0 -2
  225. homeassistant-stubs/components/update/__init__.pyi +1 -0
  226. homeassistant-stubs/components/vacuum/__init__.pyi +1 -0
  227. homeassistant-stubs/components/velbus/entity.pyi +1 -1
  228. homeassistant-stubs/components/vlc_telnet/__init__.pyi +0 -1
  229. homeassistant-stubs/components/vlc_telnet/media_player.pyi +1 -1
  230. homeassistant-stubs/components/water_heater/__init__.pyi +1 -0
  231. homeassistant-stubs/components/weather/__init__.pyi +1 -0
  232. homeassistant-stubs/components/webostv/media_player.pyi +1 -1
  233. homeassistant-stubs/components/websocket_api/connection.pyi +0 -2
  234. homeassistant-stubs/components/websocket_api/const.pyi +1 -4
  235. homeassistant-stubs/components/wemo/__init__.pyi +1 -4
  236. homeassistant-stubs/components/wemo/coordinator.pyi +0 -2
  237. homeassistant-stubs/components/withings/__init__.pyi +0 -1
  238. homeassistant-stubs/components/wiz/__init__.pyi +0 -1
  239. homeassistant-stubs/components/wled/__init__.pyi +0 -1
  240. homeassistant-stubs/components/xiaomi_ble/types.pyi +0 -2
  241. homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +0 -2
  242. homeassistant-stubs/components/yalexs_ble/__init__.pyi +0 -1
  243. homeassistant-stubs/components/zwave_js/climate.pyi +1 -1
  244. homeassistant-stubs/components/zwave_js/services.pyi +0 -3
  245. homeassistant-stubs/config_entries.pyi +1 -1
  246. homeassistant-stubs/core.pyi +0 -3
  247. homeassistant-stubs/helpers/category_registry.pyi +0 -1
  248. homeassistant-stubs/helpers/collection.pyi +1 -3
  249. homeassistant-stubs/helpers/condition.pyi +0 -1
  250. homeassistant-stubs/helpers/config_entry_flow.pyi +1 -2
  251. homeassistant-stubs/helpers/device_registry.pyi +0 -1
  252. homeassistant-stubs/helpers/dispatcher.pyi +0 -1
  253. homeassistant-stubs/helpers/entity.pyi +2 -0
  254. homeassistant-stubs/helpers/entity_registry.pyi +1 -3
  255. homeassistant-stubs/helpers/event.pyi +0 -1
  256. homeassistant-stubs/helpers/floor_registry.pyi +0 -1
  257. homeassistant-stubs/helpers/http.pyi +0 -2
  258. homeassistant-stubs/helpers/intent.pyi +1 -3
  259. homeassistant-stubs/helpers/label_registry.pyi +0 -1
  260. homeassistant-stubs/helpers/registry.pyi +0 -2
  261. homeassistant-stubs/helpers/script.pyi +0 -3
  262. homeassistant-stubs/helpers/service_info/mqtt.pyi +0 -2
  263. homeassistant-stubs/helpers/significant_change.pyi +0 -3
  264. homeassistant-stubs/helpers/singleton.pyi +0 -2
  265. homeassistant-stubs/helpers/sun.pyi +0 -2
  266. homeassistant-stubs/helpers/typing.pyi +0 -13
  267. homeassistant-stubs/util/json.pyi +0 -3
  268. homeassistant-stubs/util/variance.pyi +1 -1
  269. homeassistant-stubs/util/yaml/loader.pyi +0 -1
  270. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/METADATA +2 -2
  271. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/RECORD +273 -273
  272. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/WHEEL +0 -0
  273. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/licenses/LICENSE +0 -0
@@ -72,11 +72,6 @@ def async_create_backup_failure_issue(hass: HomeAssistant, local_start_time: dat
72
72
  def setup_connection_for_dialect(instance: Recorder, dialect_name: str, dbapi_connection: DBAPIConnection, first_connection: bool) -> DatabaseEngine | None: ...
73
73
  def end_incomplete_runs(session: Session, start_time: datetime) -> None: ...
74
74
  def _is_retryable_error(instance: Recorder, err: OperationalError) -> bool: ...
75
-
76
- _FuncType: Incomplete
77
- _MethType: Incomplete
78
- _FuncOrMethType: Incomplete
79
-
80
75
  def retryable_database_job(description: str) -> Callable[[_FuncType[_P, bool]], _FuncType[_P, bool]]: ...
81
76
  def retryable_database_job_method(description: str) -> Callable[[_MethType[_Self, _P, bool]], _MethType[_Self, _P, bool]]: ...
82
77
  def _wrap_func_or_meth(job: _FuncOrMethType[_P, bool], description: str, method: bool) -> _FuncOrMethType[_P, bool]: ...
@@ -56,6 +56,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
56
56
 
57
57
  class RemoteEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
58
58
  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=...) -> None: ...
59
+ def __replace__(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=...) -> None: ...
59
60
 
60
61
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
61
62
 
@@ -10,7 +10,6 @@ from homeassistant.helpers import device_registry as dr
10
10
  from homeassistant.helpers.typing import ConfigType as ConfigType
11
11
 
12
12
  CONFIG_SCHEMA: Incomplete
13
- RenaultConfigEntry = ConfigEntry[RenaultHub]
14
13
 
15
14
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
16
15
  async def async_setup_entry(hass: HomeAssistant, config_entry: RenaultConfigEntry) -> bool: ...
@@ -18,7 +18,6 @@ class RingData:
18
18
  devices_coordinator: RingDataCoordinator
19
19
  listen_coordinator: RingListenCoordinator
20
20
  def __init__(self, api, devices, devices_coordinator, listen_coordinator) -> None: ...
21
- RingConfigEntry = ConfigEntry[RingData]
22
21
 
23
22
  def get_auth_user_agent() -> str: ...
24
23
  async def async_setup_entry(hass: HomeAssistant, entry: RingConfigEntry) -> bool: ...
@@ -2,7 +2,7 @@ import abc
2
2
  from .const import ATTRIBUTION as ATTRIBUTION, DOMAIN as DOMAIN
3
3
  from .coordinator import RingDataCoordinator as RingDataCoordinator, RingListenCoordinator as RingListenCoordinator
4
4
  from _typeshed import Incomplete
5
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
5
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
6
6
  from dataclasses import dataclass
7
7
  from homeassistant.components.automation import automations_with_entity as automations_with_entity
8
8
  from homeassistant.components.script import scripts_with_entity as scripts_with_entity
@@ -13,7 +13,6 @@ from typing import Any
13
13
 
14
14
  SCAN_INTERVAL: Incomplete
15
15
  _LOGGER: Incomplete
16
- RoborockConfigEntry = ConfigEntry[RoborockCoordinators]
17
16
 
18
17
  @dataclass
19
18
  class RoborockCoordinators:
@@ -1,4 +1,4 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from .const import CONF_PLAY_MEDIA_APP_ID as CONF_PLAY_MEDIA_APP_ID, DEFAULT_PLAY_MEDIA_APP_ID as DEFAULT_PLAY_MEDIA_APP_ID, DOMAIN as DOMAIN
2
2
  from .coordinator import RokuDataUpdateCoordinator as RokuDataUpdateCoordinator
3
3
  from _typeshed import Incomplete
4
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -9,3 +9,4 @@ PLATFORMS: Incomplete
9
9
 
10
10
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
11
11
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
12
+ async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
@@ -1,7 +1,6 @@
1
1
  from .coordinator import RokuDataUpdateCoordinator as RokuDataUpdateCoordinator
2
2
  from .helpers import format_channel_name as format_channel_name
3
3
  from _typeshed import Incomplete
4
- from collections.abc import Callable
5
4
  from homeassistant.components import media_source as media_source
6
5
  from homeassistant.components.media_player import BrowseError as BrowseError, BrowseMedia as BrowseMedia, MediaClass as MediaClass, MediaType as MediaType
7
6
  from homeassistant.core import HomeAssistant as HomeAssistant
@@ -11,7 +10,6 @@ CONTENT_TYPE_MEDIA_CLASS: Incomplete
11
10
  CONTAINER_TYPES_SPECIFIC_MEDIA_CLASS: Incomplete
12
11
  PLAYABLE_MEDIA_TYPES: Incomplete
13
12
  EXPANDABLE_MEDIA_TYPES: Incomplete
14
- GetBrowseImageUrlType = Callable[[str, str, str | None], str | None]
15
13
 
16
14
  def get_thumbnail_url_full(coordinator: RokuDataUpdateCoordinator, is_internal: bool, get_browse_image_url: GetBrowseImageUrlType, media_content_type: str, media_content_id: str, media_image_id: str | None = None) -> str | None: ...
17
15
  async def async_browse_media(hass: HomeAssistant, coordinator: RokuDataUpdateCoordinator, get_browse_image_url: GetBrowseImageUrlType, media_content_id: str | None, media_content_type: str | None) -> BrowseMedia: ...
@@ -1,7 +1,7 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from .const import CONF_PLAY_MEDIA_APP_ID as CONF_PLAY_MEDIA_APP_ID, DEFAULT_PLAY_MEDIA_APP_ID as DEFAULT_PLAY_MEDIA_APP_ID, DOMAIN as DOMAIN
2
2
  from _typeshed import Incomplete
3
3
  from homeassistant.components import ssdp as ssdp, zeroconf as zeroconf
4
- from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
4
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
5
5
  from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
7
7
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
@@ -23,3 +23,8 @@ class RokuConfigFlow(ConfigFlow, domain=DOMAIN):
23
23
  async def async_step_homekit(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
24
24
  async def async_step_ssdp(self, discovery_info: ssdp.SsdpServiceInfo) -> ConfigFlowResult: ...
25
25
  async def async_step_discovery_confirm(self, user_input: dict | None = None) -> ConfigFlowResult: ...
26
+ @staticmethod
27
+ def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlowWithConfigEntry: ...
28
+
29
+ class RokuOptionsFlowHandler(OptionsFlowWithConfigEntry):
30
+ async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -7,3 +7,5 @@ ATTR_MEDIA_TYPE: str
7
7
  ATTR_THUMBNAIL: str
8
8
  DEFAULT_PORT: int
9
9
  SERVICE_SEARCH: str
10
+ CONF_PLAY_MEDIA_APP_ID: str
11
+ DEFAULT_PLAY_MEDIA_APP_ID: str
@@ -17,6 +17,7 @@ class RokuDataUpdateCoordinator(DataUpdateCoordinator[Device]):
17
17
  last_full_update: datetime | None
18
18
  roku: Roku
19
19
  device_id: Incomplete
20
+ play_media_app_id: Incomplete
20
21
  full_update_interval: Incomplete
21
- def __init__(self, hass: HomeAssistant, *, host: str, device_id: str) -> None: ...
22
+ def __init__(self, hass: HomeAssistant, *, host: str, device_id: str, play_media_app_id: str) -> None: ...
22
23
  async def _async_update_data(self) -> Device: ...
@@ -1,10 +1,6 @@
1
1
  from .entity import RokuEntity as RokuEntity
2
- from _typeshed import Incomplete
3
2
  from collections.abc import Callable
4
3
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
5
4
 
6
- _FuncType: Incomplete
7
- _ReturnFuncType: Incomplete
8
-
9
5
  def format_channel_name(channel_number: str, channel_name: str | None = None) -> str: ...
10
6
  def roku_exception_handler(ignore_timeout: bool = False) -> Callable[[_FuncType[_RokuEntityT, _P]], _ReturnFuncType[_RokuEntityT, _P]]: ...
@@ -10,7 +10,6 @@ from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
10
10
  from homeassistant.helpers.trigger_template_entity import CONF_AVAILABILITY as CONF_AVAILABILITY, TEMPLATE_SENSOR_BASE_SCHEMA as TEMPLATE_SENSOR_BASE_SCHEMA
11
11
  from homeassistant.helpers.typing import ConfigType as ConfigType
12
12
 
13
- ScrapeConfigEntry = ConfigEntry[ScrapeCoordinator]
14
13
  SENSOR_SCHEMA: Incomplete
15
14
  COMBINED_SCHEMA: Incomplete
16
15
  CONFIG_SCHEMA: Incomplete
@@ -12,6 +12,7 @@ PLATFORM_SCHEMA_BASE: Incomplete
12
12
  class SelectEntityDescription(EntityDescription, frozen_or_thawed=True):
13
13
  options: list[str] | None
14
14
  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=..., options=...) -> None: ...
15
+ def __replace__(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=..., options=...) -> None: ...
15
16
 
16
17
  class SelectEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
17
18
  _entity_component_unrecorded_attributes: Incomplete
@@ -6,8 +6,6 @@ from homeassistant.const import CONF_API_KEY as CONF_API_KEY
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant
7
7
  from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
8
8
 
9
- SensiboConfigEntry = ConfigEntry[SensiboDataUpdateCoordinator]
10
-
11
9
  async def async_setup_entry(hass: HomeAssistant, entry: SensiboConfigEntry) -> bool: ...
12
10
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
13
11
  async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -28,6 +28,7 @@ class SensorEntityDescription(EntityDescription, frozen_or_thawed=True):
28
28
  suggested_unit_of_measurement: str | None
29
29
  unit_of_measurement: None
30
30
  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=...) -> None: ...
31
+ def __replace__(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=...) -> None: ...
31
32
 
32
33
  class SensorEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
33
34
  _entity_component_unrecorded_attributes: Incomplete
@@ -4,7 +4,6 @@ from homeassistant.const import CONF_TOKEN as CONF_TOKEN, Platform as Platform
4
4
  from homeassistant.core import HomeAssistant as HomeAssistant
5
5
 
6
6
  PLATFORMS: list[Platform]
7
- SensoterraConfigEntry = ConfigEntry[SensoterraCoordinator]
8
7
 
9
8
  async def async_setup_entry(hass: HomeAssistant, entry: SensoterraConfigEntry) -> bool: ...
10
9
  async def async_unload_entry(hass: HomeAssistant, entry: SensoterraConfigEntry) -> bool: ...
@@ -1,7 +1,6 @@
1
1
  from .api import SENZConfigEntryAuth as SENZConfigEntryAuth
2
2
  from .const import DOMAIN as DOMAIN
3
3
  from _typeshed import Incomplete
4
- from aiosenz import Thermostat
5
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
5
  from homeassistant.const import Platform as Platform
7
6
  from homeassistant.core import HomeAssistant as HomeAssistant
@@ -13,7 +12,6 @@ UPDATE_INTERVAL: Incomplete
13
12
  _LOGGER: Incomplete
14
13
  CONFIG_SCHEMA: Incomplete
15
14
  PLATFORMS: Incomplete
16
- SENZDataUpdateCoordinator = DataUpdateCoordinator[dict[str, Thermostat]]
17
15
 
18
16
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
19
17
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -1,7 +1,7 @@
1
1
  from .const import DOMAIN as DOMAIN
2
2
  from .models import DomainData as DomainData
3
3
  from _typeshed import Incomplete
4
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
4
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
5
5
  from dataclasses import dataclass
6
6
  from homeassistant.components.button import ButtonDeviceClass as ButtonDeviceClass, ButtonEntity as ButtonEntity, ButtonEntityDescription as ButtonEntityDescription
7
7
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -23,7 +23,6 @@ class ShellyEntryData:
23
23
  rpc: ShellyRpcCoordinator | None = ...
24
24
  rpc_poll: ShellyRpcPollingCoordinator | None = ...
25
25
  def __init__(self, platforms, block=..., rest=..., rpc=..., rpc_poll=...) -> None: ...
26
- ShellyConfigEntry = ConfigEntry[ShellyEntryData]
27
26
 
28
27
  class ShellyCoordinatorBase(DataUpdateCoordinator[None]):
29
28
  entry: Incomplete
@@ -1,4 +0,0 @@
1
- from simplipy.system.v2 import SystemV2
2
- from simplipy.system.v3 import SystemV3
3
-
4
- SystemType = SystemV2 | SystemV3
@@ -31,6 +31,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
31
31
  class SirenEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
32
32
  available_tones: list[int | str] | dict[int, str] | None
33
33
  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=..., available_tones=...) -> None: ...
34
+ def __replace__(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=..., available_tones=...) -> None: ...
34
35
 
35
36
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
36
37
 
@@ -9,8 +9,6 @@ from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
9
9
  from homeassistant.helpers.entity import Entity as Entity
10
10
  from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
11
11
 
12
- _DataCoordinatorType = SleepIQDataUpdateCoordinator | SleepIQPauseUpdateCoordinator
13
-
14
12
  def device_from_bed(bed: SleepIQBed) -> DeviceInfo: ...
15
13
  def sleeper_for_side(bed: SleepIQBed, side: str) -> SleepIQSleeper: ...
16
14
 
@@ -12,7 +12,6 @@ class SmlightData:
12
12
  data: SmDataUpdateCoordinator
13
13
  firmware: SmFirmwareUpdateCoordinator
14
14
  def __init__(self, *, data, firmware) -> None: ...
15
- SmConfigEntry = ConfigEntry[SmlightData]
16
15
 
17
16
  async def async_setup_entry(hass: HomeAssistant, entry: SmConfigEntry) -> bool: ...
18
17
  async def async_unload_entry(hass: HomeAssistant, entry: SmConfigEntry) -> bool: ...
@@ -7,7 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
7
7
 
8
8
  _LOGGER: Incomplete
9
9
  PLATFORMS: Incomplete
10
- SolarlogConfigEntry = ConfigEntry[SolarLogCoordinator]
11
10
 
12
11
  async def async_setup_entry(hass: HomeAssistant, entry: SolarlogConfigEntry) -> bool: ...
13
12
  async def async_unload_entry(hass: HomeAssistant, entry: SolarlogConfigEntry) -> bool: ...
@@ -7,7 +7,6 @@ from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
7
7
  from homeassistant.helpers.start import async_at_started as async_at_started
8
8
 
9
9
  PLATFORMS: Incomplete
10
- SpeedTestConfigEntry = ConfigEntry[SpeedTestDataCoordinator]
11
10
 
12
11
  async def async_setup_entry(hass: HomeAssistant, config_entry: SpeedTestConfigEntry) -> bool: ...
13
12
  async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
@@ -18,7 +18,6 @@ class SqueezeboxData:
18
18
  coordinator: LMSStatusDataUpdateCoordinator
19
19
  server: Server
20
20
  def __init__(self, coordinator, server) -> None: ...
21
- SqueezeboxConfigEntry = ConfigEntry[SqueezeboxData]
22
21
 
23
22
  async def async_setup_entry(hass: HomeAssistant, entry: SqueezeboxConfigEntry) -> bool: ...
24
23
  async def async_unload_entry(hass: HomeAssistant, entry: SqueezeboxConfigEntry) -> bool: ...
@@ -75,7 +75,6 @@ class SsdpServiceInfo(BaseServiceInfo):
75
75
  def __init__(self, ssdp_usn, ssdp_st, upnp, ssdp_location=..., ssdp_nt=..., ssdp_udn=..., ssdp_ext=..., ssdp_server=..., ssdp_headers=..., ssdp_all_locations=..., x_homeassistant_matching_domains=...) -> None: ...
76
76
 
77
77
  SsdpChange: Incomplete
78
- SsdpHassJobCallback: Incomplete
79
78
  SSDP_SOURCE_SSDP_CHANGE_MAPPING: Mapping[SsdpSource, SsdpChange]
80
79
 
81
80
  def _format_err(name: str, *args: Any) -> str: ...
@@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity as Entity
11
11
  from homeassistant.helpers.sun import get_astral_location as get_astral_location, get_location_astral_event_next as get_location_astral_event_next
12
12
  from typing import Any
13
13
 
14
- SunConfigEntry = ConfigEntry[Sun]
15
14
  _LOGGER: Incomplete
16
15
  ENTITY_ID: str
17
16
  STATE_ATTR_AZIMUTH: str
@@ -37,6 +37,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
37
37
  class SwitchEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
38
38
  device_class: SwitchDeviceClass | None
39
39
  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=...) -> None: ...
40
+ def __replace__(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=...) -> None: ...
40
41
 
41
42
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
42
43
 
@@ -3,10 +3,8 @@ from _typeshed import Incomplete
3
3
  from homeassistant.core import HomeAssistant as HomeAssistant
4
4
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
5
5
  from switchbot_api import Device as Device, Remote, SwitchBotAPI as SwitchBotAPI
6
- from typing import Any
7
6
 
8
7
  _LOGGER: Incomplete
9
- Status = dict[str, Any] | None
10
8
 
11
9
  class SwitchBotCoordinator(DataUpdateCoordinator[Status]):
12
10
  _api: SwitchBotAPI
@@ -9,7 +9,6 @@ from homeassistant.helpers import device_registry as dr
9
9
 
10
10
  PLATFORMS: Incomplete
11
11
  _LOGGER: Incomplete
12
- SwitcherConfigEntry = ConfigEntry[dict[str, SwitcherDataUpdateCoordinator]]
13
12
 
14
13
  async def async_setup_entry(hass: HomeAssistant, entry: SwitcherConfigEntry) -> bool: ...
15
14
  async def async_unload_entry(hass: HomeAssistant, entry: SwitcherConfigEntry) -> bool: ...
@@ -1,7 +1,7 @@
1
1
  from .common import SynoApi as SynoApi, raise_config_entry_auth_error as raise_config_entry_auth_error
2
2
  from .const import DEFAULT_SCAN_INTERVAL as DEFAULT_SCAN_INTERVAL, SIGNAL_CAMERA_SOURCE_CHANGED as SIGNAL_CAMERA_SOURCE_CHANGED, SYNOLOGY_AUTH_FAILED_EXCEPTIONS as SYNOLOGY_AUTH_FAILED_EXCEPTIONS, SYNOLOGY_CONNECTION_EXCEPTIONS as SYNOLOGY_CONNECTION_EXCEPTIONS
3
3
  from _typeshed import Incomplete
4
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
4
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
5
5
  from datetime import timedelta
6
6
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
7
  from homeassistant.const import CONF_SCAN_INTERVAL as CONF_SCAN_INTERVAL
@@ -9,7 +9,6 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
9
9
  from types import FrameType
10
10
  from typing import Any
11
11
 
12
- KeyType = tuple[str, tuple[str, int], tuple[str, int, str] | None]
13
12
  CONF_MAX_ENTRIES: str
14
13
  CONF_FIRE_EVENT: str
15
14
  CONF_MESSAGE: str
@@ -9,7 +9,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
9
9
 
10
10
  _LOGGER: Incomplete
11
11
  PLATFORMS: Incomplete
12
- SystemMonitorConfigEntry = ConfigEntry[SystemMonitorData]
13
12
 
14
13
  @dataclass
15
14
  class SystemMonitorData:
@@ -1,4 +1,2 @@
1
1
  from .coordinator import TailwindDataUpdateCoordinator as TailwindDataUpdateCoordinator
2
2
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
3
-
4
- TailwindConfigEntry = ConfigEntry[TailwindDataUpdateCoordinator]
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
7
7
 
8
8
  PLATFORMS: Incomplete
9
- TautulliConfigEntry = ConfigEntry[TautulliDataUpdateCoordinator]
10
9
 
11
10
  async def async_setup_entry(hass: HomeAssistant, entry: TautulliConfigEntry) -> bool: ...
12
11
  async def async_unload_entry(hass: HomeAssistant, entry: TautulliConfigEntry) -> bool: ...
@@ -11,7 +11,6 @@ from homeassistant.helpers.network import get_url as get_url
11
11
 
12
12
  PLATFORMS: Incomplete
13
13
  _LOGGER: Incomplete
14
- TedeeConfigEntry = ConfigEntry[TedeeApiCoordinator]
15
14
 
16
15
  async def async_setup_entry(hass: HomeAssistant, entry: TedeeConfigEntry) -> bool: ...
17
16
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -20,6 +20,7 @@ class TextEntityDescription(EntityDescription, frozen_or_thawed=True):
20
20
  mode: TextMode
21
21
  pattern: str | None
22
22
  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=..., native_min=..., native_max=..., mode=..., pattern=...) -> None: ...
23
+ def __replace__(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=..., native_min=..., native_max=..., mode=..., pattern=...) -> None: ...
23
24
 
24
25
  class TextEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
25
26
  _entity_component_unrecorded_attributes: Incomplete
@@ -7,6 +7,7 @@ __all__ = ['DOMAIN', 'TimeEntity', 'TimeEntityDescription']
7
7
 
8
8
  class TimeEntityDescription(EntityDescription, frozen_or_thawed=True):
9
9
  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=...) -> None: ...
10
+ def __replace__(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=...) -> None: ...
10
11
 
11
12
  class TimeEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
12
13
  entity_description: TimeEntityDescription
@@ -12,7 +12,6 @@ from homeassistant.helpers.sun import get_astral_event_date as get_astral_event_
12
12
  from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
13
13
  from typing import Any, TypeGuard
14
14
 
15
- SunEventType: Incomplete
16
15
  _LOGGER: Incomplete
17
16
  ATTR_AFTER: str
18
17
  ATTR_BEFORE: str
@@ -16,7 +16,6 @@ from homeassistant.helpers.event import async_track_time_interval as async_track
16
16
  from homeassistant.helpers.typing import ConfigType as ConfigType
17
17
  from kasa import Credentials, Device
18
18
 
19
- TPLinkConfigEntry = ConfigEntry[TPLinkData]
20
19
  DISCOVERY_INTERVAL: Incomplete
21
20
  CONFIG_SCHEMA: Incomplete
22
21
  _LOGGER: Incomplete
@@ -5,7 +5,7 @@ from .coordinator import TPLinkDataUpdateCoordinator as TPLinkDataUpdateCoordina
5
5
  from .deprecate import DeprecatedInfo as DeprecatedInfo, async_check_create_deprecated as async_check_create_deprecated
6
6
  from _typeshed import Incomplete
7
7
  from abc import ABC, abstractmethod
8
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine, Mapping
8
+ from collections.abc import Awaitable, Callable as Callable, Coroutine, Mapping
9
9
  from dataclasses import dataclass
10
10
  from homeassistant.const import EntityCategory as EntityCategory
11
11
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
@@ -17,7 +17,6 @@ STORAGE_KEY: str
17
17
  STORAGE_VERSION: int
18
18
  TRACE_CONFIG_SCHEMA: Incomplete
19
19
  CONFIG_SCHEMA: Incomplete
20
- TraceData = dict[str, LimitedSizeDict[str, BaseTrace]]
21
20
 
22
21
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
23
22
  async def async_get_trace(hass: HomeAssistant, key: str, run_id: str) -> dict[str, BaseTrace]: ...
@@ -27,7 +27,6 @@ class TractiveData:
27
27
  client: TractiveClient
28
28
  trackables: list[Trackables]
29
29
  def __init__(self, client, trackables) -> None: ...
30
- TractiveConfigEntry = ConfigEntry[TractiveData]
31
30
 
32
31
  async def async_setup_entry(hass: HomeAssistant, entry: TractiveConfigEntry) -> bool: ...
33
32
  async def _generate_trackables(client: aiotractive.Tractive, trackable: aiotractive.trackable_object.TrackableObject) -> Trackables | None: ...
@@ -20,7 +20,6 @@ SERVICE_REMOVE_TORRENT_SCHEMA: Incomplete
20
20
  SERVICE_START_TORRENT_SCHEMA: Incomplete
21
21
  SERVICE_STOP_TORRENT_SCHEMA: Incomplete
22
22
  CONFIG_SCHEMA: Incomplete
23
- TransmissionConfigEntry = ConfigEntry[TransmissionDataUpdateCoordinator]
24
23
 
25
24
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
26
25
  async def async_setup_entry(hass: HomeAssistant, config_entry: TransmissionConfigEntry) -> bool: ...
@@ -16,4 +16,3 @@ DEFAULT_TIME_MEMORY: int
16
16
  DOMAIN: str
17
17
  DATA_COMPONENT: HassKey[EntityComponent[TextToSpeechEntity]]
18
18
  DATA_TTS_MANAGER: HassKey[SpeechManager]
19
- TtsAudioType = tuple[str | None, bytes | None]
@@ -1,19 +1,15 @@
1
1
  from .const import CONF_HOUSE_LETTER as CONF_HOUSE_LETTER, CONF_HOUSE_NUMBER as CONF_HOUSE_NUMBER, CONF_POST_CODE as CONF_POST_CODE, DOMAIN as DOMAIN, LOGGER as LOGGER
2
2
  from _typeshed import Incomplete
3
- from datetime import date
4
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
4
  from homeassistant.const import CONF_ID as CONF_ID, Platform as Platform
6
5
  from homeassistant.core import HomeAssistant as HomeAssistant
7
6
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
8
7
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
9
- from twentemilieu import WasteType
10
8
 
11
9
  SCAN_INTERVAL: Incomplete
12
10
  SERVICE_UPDATE: str
13
11
  SERVICE_SCHEMA: Incomplete
14
12
  PLATFORMS: Incomplete
15
- TwenteMilieuDataUpdateCoordinator = DataUpdateCoordinator[dict[WasteType, list[date]]]
16
- TwenteMilieuConfigEntry = ConfigEntry[TwenteMilieuDataUpdateCoordinator]
17
13
 
18
14
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
19
15
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -12,7 +12,6 @@ from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
12
12
  from homeassistant.helpers.storage import Store as Store
13
13
  from homeassistant.helpers.typing import ConfigType as ConfigType
14
14
 
15
- UnifiConfigEntry = ConfigEntry[UnifiHub]
16
15
  SAVE_DELAY: int
17
16
  STORAGE_KEY: str
18
17
  STORAGE_VERSION: int
@@ -13,8 +13,6 @@ from uiprotect.data import Camera, ModelType, NVR, ProtectAdoptableDeviceModel,
13
13
  from uiprotect.websocket import WebsocketState
14
14
 
15
15
  _LOGGER: Incomplete
16
- ProtectDeviceType = ProtectAdoptableDeviceModel | NVR
17
- UFPConfigEntry = ConfigEntry[ProtectData]
18
16
 
19
17
  def async_last_update_was_successful(hass: HomeAssistant, entry: UFPConfigEntry) -> bool: ...
20
18
  def _async_dispatch_id(entry: UFPConfigEntry, dispatch: str) -> str: ...
@@ -21,6 +21,7 @@ class UpdateEntityDescription(EntityDescription, frozen_or_thawed=True):
21
21
  device_class: UpdateDeviceClass | None
22
22
  entity_category: EntityCategory | None
23
23
  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=...) -> None: ...
24
+ def __replace__(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=...) -> None: ...
24
25
 
25
26
  class UpdateEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCachedProperties):
26
27
  _entity_component_unrecorded_attributes: Incomplete
@@ -76,6 +76,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
76
76
 
77
77
  class StateVacuumEntityDescription(EntityDescription, frozen_or_thawed=True):
78
78
  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=...) -> None: ...
79
+ def __replace__(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=...) -> None: ...
79
80
 
80
81
  STATE_VACUUM_CACHED_PROPERTIES_WITH_ATTR_: Incomplete
81
82
 
@@ -1,6 +1,6 @@
1
1
  from .const import DOMAIN as DOMAIN
2
2
  from _typeshed import Incomplete
3
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
3
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
4
4
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
5
5
  from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
6
6
  from homeassistant.helpers.entity import Entity as Entity
@@ -8,7 +8,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
9
9
 
10
10
  PLATFORMS: Incomplete
11
- VlcConfigEntry = ConfigEntry[VlcData]
12
11
 
13
12
  @dataclass
14
13
  class VlcData:
@@ -2,7 +2,7 @@ from . import VlcConfigEntry as VlcConfigEntry
2
2
  from .const import DEFAULT_NAME as DEFAULT_NAME, DOMAIN as DOMAIN, LOGGER as LOGGER
3
3
  from _typeshed import Incomplete
4
4
  from aiovlc.client import Client as Client
5
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
5
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
6
6
  from homeassistant.components import media_source as media_source
7
7
  from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, async_process_play_media_url as async_process_play_media_url
8
8
  from homeassistant.config_entries import ConfigEntry as ConfigEntry, SOURCE_HASSIO as SOURCE_HASSIO
@@ -60,6 +60,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
60
60
 
61
61
  class WaterHeaterEntityEntityDescription(EntityDescription, frozen_or_thawed=True):
62
62
  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=...) -> None: ...
63
+ def __replace__(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=...) -> None: ...
63
64
 
64
65
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
65
66
 
@@ -101,6 +101,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
101
101
 
102
102
  class WeatherEntityDescription(EntityDescription, frozen_or_thawed=True):
103
103
  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=...) -> None: ...
104
+ def __replace__(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=...) -> None: ...
104
105
 
105
106
  class PostInitMeta(ABCCachedProperties):
106
107
  def __call__(cls, *args: Any, **kwargs: Any) -> Any: ...
@@ -3,7 +3,7 @@ from .const import ATTR_PAYLOAD as ATTR_PAYLOAD, ATTR_SOUND_OUTPUT as ATTR_SOUND
3
3
  from .triggers.turn_on import async_get_turn_on_trigger as async_get_turn_on_trigger
4
4
  from _typeshed import Incomplete
5
5
  from aiowebostv import WebOsClient as WebOsClient
6
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
6
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
7
7
  from homeassistant import util as util
8
8
  from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType
9
9
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -12,8 +12,6 @@ from homeassistant.util.json import JsonValueType as JsonValueType
12
12
  from typing import Any
13
13
 
14
14
  current_connection: Incomplete
15
- MessageHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], None]
16
- BinaryHandler = Callable[[HomeAssistant, ActiveConnection, bytes], None]
17
15
 
18
16
  class ActiveConnection:
19
17
  __slots__: Incomplete