homeassistant-stubs 2025.1.0b9__py3-none-any.whl → 2025.1.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.
Files changed (641) hide show
  1. homeassistant-stubs/auth/__init__.pyi +2 -2
  2. homeassistant-stubs/auth/auth_store.pyi +4 -4
  3. homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
  4. homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
  5. homeassistant-stubs/auth/models.pyi +3 -0
  6. homeassistant-stubs/auth/providers/__init__.pyi +4 -4
  7. homeassistant-stubs/auth/providers/command_line.pyi +1 -1
  8. homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
  9. homeassistant-stubs/bootstrap.pyi +2 -1
  10. homeassistant-stubs/components/abode/camera.pyi +2 -1
  11. homeassistant-stubs/components/abode/config_flow.pyi +3 -3
  12. homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
  13. homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
  14. homeassistant-stubs/components/acmeda/hub.pyi +4 -3
  15. homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
  16. homeassistant-stubs/components/aftership/sensor.pyi +2 -2
  17. homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
  18. homeassistant-stubs/components/airgradient/update.pyi +2 -0
  19. homeassistant-stubs/components/airq/sensor.pyi +1 -1
  20. homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
  21. homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
  22. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
  23. homeassistant-stubs/components/alert/entity.pyi +1 -1
  24. homeassistant-stubs/components/alexa/auth.pyi +3 -2
  25. homeassistant-stubs/components/alexa/config.pyi +3 -3
  26. homeassistant-stubs/components/alexa/intent.pyi +5 -5
  27. homeassistant-stubs/components/alexa/resources.pyi +5 -5
  28. homeassistant-stubs/components/alexa/state_report.pyi +6 -6
  29. homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
  30. homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
  31. homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
  32. homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
  33. homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
  34. homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
  35. homeassistant-stubs/components/amcrest/camera.pyi +9 -8
  36. homeassistant-stubs/components/analytics/analytics.pyi +1 -1
  37. homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
  38. homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
  39. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
  40. homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
  41. homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
  42. homeassistant-stubs/components/anova/coordinator.pyi +1 -1
  43. homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
  44. homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
  45. homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
  46. homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
  47. homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
  48. homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
  49. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
  50. homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
  51. homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
  52. homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
  53. homeassistant-stubs/components/asuswrt/router.pyi +8 -8
  54. homeassistant-stubs/components/auth/indieauth.pyi +1 -1
  55. homeassistant-stubs/components/automation/__init__.pyi +15 -1
  56. homeassistant-stubs/components/automation/trace.pyi +1 -2
  57. homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
  58. homeassistant-stubs/components/axis/config_flow.pyi +2 -2
  59. homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
  60. homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
  61. homeassistant-stubs/components/backup/agent.pyi +2 -0
  62. homeassistant-stubs/components/backup/backup.pyi +1 -1
  63. homeassistant-stubs/components/backup/manager.pyi +11 -11
  64. homeassistant-stubs/components/backup/store.pyi +1 -1
  65. homeassistant-stubs/components/baf/config_flow.pyi +1 -1
  66. homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
  67. homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
  68. homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
  69. homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
  70. homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
  71. homeassistant-stubs/components/blueprint/models.pyi +1 -1
  72. homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
  73. homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
  74. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
  75. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
  76. homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
  77. homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
  78. homeassistant-stubs/components/bluetooth/match.pyi +13 -11
  79. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
  80. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
  81. homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
  82. homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
  83. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
  84. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
  85. homeassistant-stubs/components/bond/config_flow.pyi +1 -1
  86. homeassistant-stubs/components/bond/entity.pyi +1 -1
  87. homeassistant-stubs/components/bond/fan.pyi +3 -3
  88. homeassistant-stubs/components/bond/utils.pyi +5 -5
  89. homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
  90. homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
  91. homeassistant-stubs/components/brother/config_flow.pyi +3 -2
  92. homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
  93. homeassistant-stubs/components/button/__init__.pyi +4 -2
  94. homeassistant-stubs/components/calendar/__init__.pyi +0 -1
  95. homeassistant-stubs/components/calendar/trigger.pyi +3 -3
  96. homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
  97. homeassistant-stubs/components/camera/__init__.pyi +24 -9
  98. homeassistant-stubs/components/camera/prefs.pyi +1 -1
  99. homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
  100. homeassistant-stubs/components/canary/camera.pyi +3 -3
  101. homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
  102. homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
  103. homeassistant-stubs/components/clickatell/notify.pyi +2 -2
  104. homeassistant-stubs/components/clicksend/notify.pyi +4 -4
  105. homeassistant-stubs/components/climate/__init__.pyi +26 -1
  106. homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
  107. homeassistant-stubs/components/cloud/client.pyi +4 -4
  108. homeassistant-stubs/components/cloud/prefs.pyi +2 -2
  109. homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
  110. homeassistant-stubs/components/command_line/cover.pyi +3 -2
  111. homeassistant-stubs/components/command_line/sensor.pyi +4 -3
  112. homeassistant-stubs/components/command_line/switch.pyi +2 -1
  113. homeassistant-stubs/components/configurator/__init__.pyi +1 -1
  114. homeassistant-stubs/components/counter/__init__.pyi +2 -2
  115. homeassistant-stubs/components/cover/__init__.pyi +8 -2
  116. homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
  117. homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
  118. homeassistant-stubs/components/date/__init__.pyi +4 -1
  119. homeassistant-stubs/components/datetime/__init__.pyi +4 -1
  120. homeassistant-stubs/components/deconz/button.pyi +1 -1
  121. homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
  122. homeassistant-stubs/components/deconz/entity.pyi +1 -1
  123. homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
  124. homeassistant-stubs/components/deconz/light.pyi +2 -2
  125. homeassistant-stubs/components/demo/cover.pyi +4 -4
  126. homeassistant-stubs/components/demo/fan.pyi +4 -4
  127. homeassistant-stubs/components/demo/geo_location.pyi +1 -1
  128. homeassistant-stubs/components/demo/media_player.pyi +2 -2
  129. homeassistant-stubs/components/demo/remote.pyi +1 -1
  130. homeassistant-stubs/components/demo/vacuum.pyi +1 -1
  131. homeassistant-stubs/components/derivative/sensor.pyi +3 -2
  132. homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
  133. homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
  134. homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
  135. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
  136. homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
  137. homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
  138. homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
  139. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
  140. homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
  141. homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
  142. homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
  143. homeassistant-stubs/components/doorbird/camera.pyi +1 -1
  144. homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
  145. homeassistant-stubs/components/doorbird/device.pyi +9 -3
  146. homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
  147. homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
  148. homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
  149. homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
  150. homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
  151. homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
  152. homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
  153. homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
  154. homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
  155. homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
  156. homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
  157. homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
  158. homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
  159. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
  160. homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
  161. homeassistant-stubs/components/elkm1/entity.pyi +1 -1
  162. homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
  163. homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
  164. homeassistant-stubs/components/energy/data.pyi +2 -2
  165. homeassistant-stubs/components/energy/sensor.pyi +3 -3
  166. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
  167. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
  168. homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
  169. homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
  170. homeassistant-stubs/components/esphome/camera.pyi +2 -1
  171. homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
  172. homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
  173. homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
  174. homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
  175. homeassistant-stubs/components/esphome/entity.pyi +1 -1
  176. homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
  177. homeassistant-stubs/components/esphome/manager.pyi +3 -3
  178. homeassistant-stubs/components/esphome/select.pyi +1 -1
  179. homeassistant-stubs/components/event/__init__.pyi +5 -3
  180. homeassistant-stubs/components/evohome/__init__.pyi +7 -5
  181. homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
  182. homeassistant-stubs/components/evohome/entity.pyi +3 -3
  183. homeassistant-stubs/components/fan/__init__.pyi +8 -1
  184. homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
  185. homeassistant-stubs/components/filter/sensor.pyi +7 -6
  186. homeassistant-stubs/components/fitbit/api.pyi +1 -1
  187. homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
  188. homeassistant-stubs/components/flux_led/entity.pyi +2 -2
  189. homeassistant-stubs/components/flux_led/number.pyi +4 -2
  190. homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
  191. homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
  192. homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
  193. homeassistant-stubs/components/fritz/entity.pyi +3 -4
  194. homeassistant-stubs/components/fritz/image.pyi +1 -1
  195. homeassistant-stubs/components/fritz/switch.pyi +1 -1
  196. homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
  197. homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
  198. homeassistant-stubs/components/fritzbox/light.pyi +1 -1
  199. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
  200. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
  201. homeassistant-stubs/components/fronius/__init__.pyi +8 -8
  202. homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
  203. homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
  204. homeassistant-stubs/components/frontend/__init__.pyi +4 -1
  205. homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
  206. homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
  207. homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
  208. homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
  209. homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
  210. homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
  211. homeassistant-stubs/components/glances/coordinator.pyi +1 -1
  212. homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
  213. homeassistant-stubs/components/go2rtc/server.pyi +5 -4
  214. homeassistant-stubs/components/google/api.pyi +5 -5
  215. homeassistant-stubs/components/google/calendar.pyi +1 -1
  216. homeassistant-stubs/components/google/config_flow.pyi +1 -1
  217. homeassistant-stubs/components/google/coordinator.pyi +1 -1
  218. homeassistant-stubs/components/google/store.pyi +1 -1
  219. homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
  220. homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
  221. homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
  222. homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
  223. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
  224. homeassistant-stubs/components/group/cover.pyi +2 -2
  225. homeassistant-stubs/components/group/entity.pyi +5 -5
  226. homeassistant-stubs/components/group/fan.pyi +2 -2
  227. homeassistant-stubs/components/group/media_player.pyi +1 -1
  228. homeassistant-stubs/components/group/registry.pyi +4 -4
  229. homeassistant-stubs/components/group/sensor.pyi +4 -4
  230. homeassistant-stubs/components/guardian/__init__.pyi +2 -2
  231. homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
  232. homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
  233. homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
  234. homeassistant-stubs/components/history_stats/data.pyi +2 -2
  235. homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
  236. homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
  237. homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
  238. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
  239. homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
  240. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
  241. homeassistant-stubs/components/homekit/__init__.pyi +7 -6
  242. homeassistant-stubs/components/homekit/accessories.pyi +2 -2
  243. homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
  244. homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
  245. homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
  246. homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
  247. homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
  248. homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
  249. homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
  250. homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
  251. homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
  252. homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
  253. homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
  254. homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
  255. homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
  256. homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
  257. homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
  258. homeassistant-stubs/components/http/__init__.pyi +3 -3
  259. homeassistant-stubs/components/http/ban.pyi +1 -1
  260. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
  261. homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
  262. homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
  263. homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
  264. homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
  265. homeassistant-stubs/components/hyperion/camera.pyi +1 -1
  266. homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
  267. homeassistant-stubs/components/hyperion/light.pyi +6 -6
  268. homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
  269. homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
  270. homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
  271. homeassistant-stubs/components/image/__init__.pyi +6 -2
  272. homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
  273. homeassistant-stubs/components/imap/coordinator.pyi +8 -7
  274. homeassistant-stubs/components/integration/sensor.pyi +7 -7
  275. homeassistant-stubs/components/intent/timers.pyi +6 -3
  276. homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
  277. homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
  278. homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
  279. homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
  280. homeassistant-stubs/components/isy994/button.pyi +1 -1
  281. homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
  282. homeassistant-stubs/components/isy994/entity.pyi +5 -5
  283. homeassistant-stubs/components/isy994/light.pyi +1 -1
  284. homeassistant-stubs/components/isy994/number.pyi +2 -2
  285. homeassistant-stubs/components/isy994/select.pyi +1 -1
  286. homeassistant-stubs/components/isy994/sensor.pyi +2 -2
  287. homeassistant-stubs/components/isy994/switch.pyi +1 -1
  288. homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
  289. homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
  290. homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
  291. homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
  292. homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
  293. homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
  294. homeassistant-stubs/components/knx/__init__.pyi +7 -6
  295. homeassistant-stubs/components/knx/climate.pyi +3 -3
  296. homeassistant-stubs/components/knx/config_flow.pyi +10 -9
  297. homeassistant-stubs/components/knx/cover.pyi +1 -1
  298. homeassistant-stubs/components/knx/device.pyi +1 -1
  299. homeassistant-stubs/components/knx/expose.pyi +7 -6
  300. homeassistant-stubs/components/knx/fan.pyi +1 -1
  301. homeassistant-stubs/components/knx/light.pyi +6 -4
  302. homeassistant-stubs/components/knx/select.pyi +1 -1
  303. homeassistant-stubs/components/knx/sensor.pyi +1 -1
  304. homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
  305. homeassistant-stubs/components/knx/telegrams.pyi +3 -2
  306. homeassistant-stubs/components/kraken/__init__.pyi +2 -2
  307. homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
  308. homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
  309. homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
  310. homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
  311. homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
  312. homeassistant-stubs/components/lcn/entity.pyi +3 -3
  313. homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
  314. homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
  315. homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
  316. homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
  317. homeassistant-stubs/components/lifx/__init__.pyi +1 -1
  318. homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
  319. homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
  320. homeassistant-stubs/components/lifx/light.pyi +3 -2
  321. homeassistant-stubs/components/lifx/manager.pyi +1 -1
  322. homeassistant-stubs/components/light/__init__.pyi +19 -2
  323. homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
  324. homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
  325. homeassistant-stubs/components/lock/__init__.pyi +10 -1
  326. homeassistant-stubs/components/logbook/models.pyi +7 -0
  327. homeassistant-stubs/components/logbook/processor.pyi +3 -3
  328. homeassistant-stubs/components/logger/helpers.pyi +1 -1
  329. homeassistant-stubs/components/lookin/__init__.pyi +2 -2
  330. homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
  331. homeassistant-stubs/components/lookin/entity.pyi +2 -2
  332. homeassistant-stubs/components/lookin/media_player.pyi +1 -1
  333. homeassistant-stubs/components/madvr/sensor.pyi +1 -1
  334. homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
  335. homeassistant-stubs/components/matrix/__init__.pyi +4 -4
  336. homeassistant-stubs/components/matter/adapter.pyi +2 -2
  337. homeassistant-stubs/components/matter/climate.pyi +1 -1
  338. homeassistant-stubs/components/matter/config_flow.pyi +4 -3
  339. homeassistant-stubs/components/matter/entity.pyi +4 -2
  340. homeassistant-stubs/components/media_player/__init__.pyi +37 -3
  341. homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
  342. homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
  343. homeassistant-stubs/components/mikrotik/device.pyi +3 -3
  344. homeassistant-stubs/components/min_max/sensor.pyi +11 -11
  345. homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
  346. homeassistant-stubs/components/modbus/climate.pyi +4 -4
  347. homeassistant-stubs/components/modbus/entity.pyi +5 -5
  348. homeassistant-stubs/components/modbus/modbus.pyi +4 -3
  349. homeassistant-stubs/components/modbus/sensor.pyi +1 -1
  350. homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
  351. homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
  352. homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
  353. homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
  354. homeassistant-stubs/components/motionmount/select.pyi +1 -1
  355. homeassistant-stubs/components/mqtt/client.pyi +13 -12
  356. homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
  357. homeassistant-stubs/components/mqtt/entity.pyi +10 -10
  358. homeassistant-stubs/components/mqtt/models.pyi +3 -3
  359. homeassistant-stubs/components/mqtt/tag.pyi +1 -1
  360. homeassistant-stubs/components/mqtt/util.pyi +2 -2
  361. homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
  362. homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
  363. homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
  364. homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
  365. homeassistant-stubs/components/mysensors/entity.pyi +7 -7
  366. homeassistant-stubs/components/mysensors/light.pyi +1 -1
  367. homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
  368. homeassistant-stubs/components/neato/camera.pyi +4 -4
  369. homeassistant-stubs/components/neato/entity.pyi +1 -1
  370. homeassistant-stubs/components/neato/hub.pyi +1 -1
  371. homeassistant-stubs/components/neato/sensor.pyi +3 -2
  372. homeassistant-stubs/components/neato/switch.pyi +2 -2
  373. homeassistant-stubs/components/neato/vacuum.pyi +18 -18
  374. homeassistant-stubs/components/nest/camera.pyi +4 -4
  375. homeassistant-stubs/components/nest/config_flow.pyi +5 -5
  376. homeassistant-stubs/components/nest/media_source.pyi +2 -2
  377. homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
  378. homeassistant-stubs/components/netatmo/entity.pyi +2 -1
  379. homeassistant-stubs/components/network/network.pyi +2 -2
  380. homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
  381. homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
  382. homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
  383. homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
  384. homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
  385. homeassistant-stubs/components/notify/__init__.pyi +2 -1
  386. homeassistant-stubs/components/number/__init__.pyi +18 -11
  387. homeassistant-stubs/components/nut/__init__.pyi +3 -3
  388. homeassistant-stubs/components/nut/config_flow.pyi +4 -4
  389. homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
  390. homeassistant-stubs/components/onewire/entity.pyi +2 -2
  391. homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
  392. homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
  393. homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
  394. homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
  395. homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
  396. homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
  397. homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
  398. homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
  399. homeassistant-stubs/components/overkiz/light.pyi +1 -1
  400. homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
  401. homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
  402. homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
  403. homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
  404. homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
  405. homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
  406. homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
  407. homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
  408. homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
  409. homeassistant-stubs/components/pushbullet/api.pyi +1 -1
  410. homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
  411. homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
  412. homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
  413. homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
  414. homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
  415. homeassistant-stubs/components/recorder/core.pyi +26 -22
  416. homeassistant-stubs/components/recorder/executor.pyi +1 -1
  417. homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
  418. homeassistant-stubs/components/recorder/models/state.pyi +12 -2
  419. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
  420. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
  421. homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
  422. homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
  423. homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
  424. homeassistant-stubs/components/remote/__init__.pyi +4 -1
  425. homeassistant-stubs/components/renault/config_flow.pyi +1 -1
  426. homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
  427. homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
  428. homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
  429. homeassistant-stubs/components/reolink/host.pyi +12 -10
  430. homeassistant-stubs/components/reolink/update.pyi +3 -3
  431. homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
  432. homeassistant-stubs/components/rest/data.pyi +4 -4
  433. homeassistant-stubs/components/rest/switch.pyi +10 -10
  434. homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
  435. homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
  436. homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
  437. homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
  438. homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
  439. homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
  440. homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
  441. homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
  442. homeassistant-stubs/components/ring/camera.pyi +4 -4
  443. homeassistant-stubs/components/ring/coordinator.pyi +5 -5
  444. homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
  445. homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
  446. homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
  447. homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
  448. homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
  449. homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
  450. homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
  451. homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
  452. homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
  453. homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
  454. homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
  455. homeassistant-stubs/components/script/__init__.pyi +16 -0
  456. homeassistant-stubs/components/search/__init__.pyi +2 -1
  457. homeassistant-stubs/components/select/__init__.pyi +4 -2
  458. homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
  459. homeassistant-stubs/components/sensor/__init__.pyi +17 -9
  460. homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
  461. homeassistant-stubs/components/shelly/climate.pyi +8 -7
  462. homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
  463. homeassistant-stubs/components/shelly/cover.pyi +1 -1
  464. homeassistant-stubs/components/shelly/entity.pyi +6 -6
  465. homeassistant-stubs/components/shelly/light.pyi +1 -1
  466. homeassistant-stubs/components/shelly/number.pyi +1 -1
  467. homeassistant-stubs/components/shelly/sensor.pyi +2 -2
  468. homeassistant-stubs/components/shelly/switch.pyi +2 -2
  469. homeassistant-stubs/components/shelly/update.pyi +2 -2
  470. homeassistant-stubs/components/shelly/valve.pyi +1 -1
  471. homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
  472. homeassistant-stubs/components/simplepush/notify.pyi +4 -4
  473. homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
  474. homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
  475. homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
  476. homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
  477. homeassistant-stubs/components/siren/__init__.pyi +4 -2
  478. homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
  479. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  480. homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
  481. homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
  482. homeassistant-stubs/components/smlight/sensor.pyi +1 -1
  483. homeassistant-stubs/components/smlight/update.pyi +2 -2
  484. homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
  485. homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
  486. homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
  487. homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
  488. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
  489. homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
  490. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
  491. homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
  492. homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
  493. homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
  494. homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
  495. homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
  496. homeassistant-stubs/components/statistics/sensor.pyi +15 -15
  497. homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
  498. homeassistant-stubs/components/stream/__init__.pyi +5 -4
  499. homeassistant-stubs/components/stream/core.pyi +7 -6
  500. homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
  501. homeassistant-stubs/components/stream/recorder.pyi +1 -1
  502. homeassistant-stubs/components/stream/worker.pyi +6 -4
  503. homeassistant-stubs/components/sun/entity.pyi +4 -4
  504. homeassistant-stubs/components/switch/__init__.pyi +3 -2
  505. homeassistant-stubs/components/switchbee/climate.pyi +1 -1
  506. homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
  507. homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
  508. homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
  509. homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
  510. homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
  511. homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
  512. homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
  513. homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
  514. homeassistant-stubs/components/system_log/__init__.pyi +1 -1
  515. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
  516. homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
  517. homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
  518. homeassistant-stubs/components/tag/__init__.pyi +1 -1
  519. homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
  520. homeassistant-stubs/components/tcp/entity.pyi +4 -3
  521. homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
  522. homeassistant-stubs/components/text/__init__.pyi +10 -5
  523. homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
  524. homeassistant-stubs/components/tibber/sensor.pyi +5 -4
  525. homeassistant-stubs/components/tile/config_flow.pyi +2 -2
  526. homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
  527. homeassistant-stubs/components/time/__init__.pyi +4 -1
  528. homeassistant-stubs/components/timer/__init__.pyi +7 -7
  529. homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
  530. homeassistant-stubs/components/todo/__init__.pyi +2 -0
  531. homeassistant-stubs/components/tplink/camera.pyi +2 -2
  532. homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
  533. homeassistant-stubs/components/tplink/siren.pyi +1 -1
  534. homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
  535. homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
  536. homeassistant-stubs/components/trace/models.pyi +10 -9
  537. homeassistant-stubs/components/tractive/__init__.pyi +2 -1
  538. homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
  539. homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
  540. homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
  541. homeassistant-stubs/components/tradfri/entity.pyi +1 -1
  542. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
  543. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
  544. homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
  545. homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
  546. homeassistant-stubs/components/tts/__init__.pyi +10 -5
  547. homeassistant-stubs/components/tts/notify.pyi +2 -2
  548. homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
  549. homeassistant-stubs/components/unifi/__init__.pyi +3 -3
  550. homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
  551. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
  552. homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
  553. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
  554. homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
  555. homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
  556. homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
  557. homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
  558. homeassistant-stubs/components/update/__init__.pyi +15 -4
  559. homeassistant-stubs/components/usb/__init__.pyi +7 -4
  560. homeassistant-stubs/components/uvc/camera.pyi +2 -2
  561. homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
  562. homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
  563. homeassistant-stubs/components/velbus/sensor.pyi +1 -1
  564. homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
  565. homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
  566. homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
  567. homeassistant-stubs/components/weather/__init__.pyi +20 -2
  568. homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
  569. homeassistant-stubs/components/webostv/media_player.pyi +1 -1
  570. homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
  571. homeassistant-stubs/components/websocket_api/http.pyi +9 -7
  572. homeassistant-stubs/components/wemo/__init__.pyi +6 -6
  573. homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
  574. homeassistant-stubs/components/withings/coordinator.pyi +2 -2
  575. homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
  576. homeassistant-stubs/components/wled/coordinator.pyi +1 -1
  577. homeassistant-stubs/components/workday/repairs.pyi +3 -3
  578. homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
  579. homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
  580. homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
  581. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
  582. homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
  583. homeassistant-stubs/components/zone/__init__.pyi +3 -3
  584. homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
  585. homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
  586. homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
  587. homeassistant-stubs/components/zwave_js/event.pyi +1 -1
  588. homeassistant-stubs/components/zwave_js/light.pyi +8 -8
  589. homeassistant-stubs/components/zwave_js/number.pyi +1 -1
  590. homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
  591. homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
  592. homeassistant-stubs/components/zwave_js/update.pyi +8 -8
  593. homeassistant-stubs/config_entries.pyi +11 -8
  594. homeassistant-stubs/core.pyi +50 -28
  595. homeassistant-stubs/core_config.pyi +18 -18
  596. homeassistant-stubs/data_entry_flow.pyi +6 -5
  597. homeassistant-stubs/helpers/area_registry.pyi +4 -2
  598. homeassistant-stubs/helpers/category_registry.pyi +1 -1
  599. homeassistant-stubs/helpers/check_config.pyi +2 -3
  600. homeassistant-stubs/helpers/collection.pyi +6 -6
  601. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
  602. homeassistant-stubs/helpers/debounce.pyi +3 -2
  603. homeassistant-stubs/helpers/device_registry.pyi +9 -5
  604. homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
  605. homeassistant-stubs/helpers/dispatcher.pyi +8 -8
  606. homeassistant-stubs/helpers/entity.pyi +43 -14
  607. homeassistant-stubs/helpers/entity_component.pyi +3 -3
  608. homeassistant-stubs/helpers/entity_platform.pyi +12 -12
  609. homeassistant-stubs/helpers/entity_registry.pyi +13 -6
  610. homeassistant-stubs/helpers/entityfilter.pyi +1 -1
  611. homeassistant-stubs/helpers/event.pyi +6 -6
  612. homeassistant-stubs/helpers/frame.pyi +4 -0
  613. homeassistant-stubs/helpers/icon.pyi +2 -2
  614. homeassistant-stubs/helpers/intent.pyi +15 -12
  615. homeassistant-stubs/helpers/issue_registry.pyi +1 -1
  616. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
  617. homeassistant-stubs/helpers/ratelimit.pyi +4 -3
  618. homeassistant-stubs/helpers/restore_state.pyi +3 -3
  619. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
  620. homeassistant-stubs/helpers/script.pyi +16 -10
  621. homeassistant-stubs/helpers/script_variables.pyi +1 -1
  622. homeassistant-stubs/helpers/service.pyi +1 -1
  623. homeassistant-stubs/helpers/significant_change.pyi +1 -1
  624. homeassistant-stubs/helpers/storage.pyi +12 -9
  625. homeassistant-stubs/helpers/template.pyi +22 -18
  626. homeassistant-stubs/helpers/trace.pyi +6 -6
  627. homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
  628. homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
  629. homeassistant-stubs/loader.pyi +23 -4
  630. homeassistant-stubs/requirements.pyi +4 -3
  631. homeassistant-stubs/util/aiohttp.pyi +2 -2
  632. homeassistant-stubs/util/async_.pyi +1 -1
  633. homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
  634. homeassistant-stubs/util/logging.pyi +7 -7
  635. homeassistant-stubs/util/signal_type.pyi +1 -1
  636. homeassistant-stubs/util/timeout.pyi +29 -30
  637. homeassistant-stubs/util/yaml/loader.pyi +4 -1
  638. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
  639. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +641 -641
  640. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
  641. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -25,6 +25,7 @@ from homeassistant.util.async_ import create_eager_task as create_eager_task
25
25
  from homeassistant.util.dt import utcnow as utcnow
26
26
  from homeassistant.util.hass_dict import HassKey as HassKey
27
27
  from homeassistant.util.signal_type import SignalType as SignalType, SignalTypeFormat as SignalTypeFormat
28
+ from propcache import cached_property
28
29
  from types import MappingProxyType
29
30
  from typing import Any, Literal, TypedDict, overload
30
31
 
@@ -93,7 +94,7 @@ class _ScriptRun:
93
94
  _started: bool
94
95
  _stop: Incomplete
95
96
  _stopped: Incomplete
96
- _conversation_response: Incomplete
97
+ _conversation_response: str | None | UndefinedType
97
98
  def __init__(self, hass: HomeAssistant, script: Script, variables: dict[str, Any], context: Context | None, log_exceptions: bool) -> None: ...
98
99
  def _changed(self) -> None: ...
99
100
  async def _async_get_condition(self, config: ConfigType) -> ConditionCheckerType: ...
@@ -173,18 +174,18 @@ class Script:
173
174
  _change_listener_job: Incomplete
174
175
  script_mode: Incomplete
175
176
  _log_exceptions: Incomplete
176
- last_action: Incomplete
177
- last_triggered: Incomplete
178
- _runs: Incomplete
177
+ last_action: str | None
178
+ last_triggered: datetime | None
179
+ _runs: list[_ScriptRun]
179
180
  max_runs: Incomplete
180
181
  _max_exceeded: Incomplete
181
182
  _queue_lck: Incomplete
182
- _config_cache: Incomplete
183
- _repeat_script: Incomplete
184
- _choose_data: Incomplete
185
- _if_data: Incomplete
186
- _parallel_scripts: Incomplete
187
- _sequence_scripts: Incomplete
183
+ _config_cache: dict[frozenset[tuple[str, str]], ConditionCheckerType]
184
+ _repeat_script: dict[int, Script]
185
+ _choose_data: dict[int, _ChooseData]
186
+ _if_data: dict[int, _IfData]
187
+ _parallel_scripts: dict[int, list[Script]]
188
+ _sequence_scripts: dict[int, Script]
188
189
  variables: Incomplete
189
190
  _variables_dynamic: Incomplete
190
191
  _copy_variables_on_run: Incomplete
@@ -204,14 +205,19 @@ class Script:
204
205
  def runs(self) -> int: ...
205
206
  @property
206
207
  def supports_max(self) -> bool: ...
208
+ @cached_property
207
209
  def referenced_labels(self) -> set[str]: ...
210
+ @cached_property
208
211
  def referenced_floors(self) -> set[str]: ...
212
+ @cached_property
209
213
  def referenced_areas(self) -> set[str]: ...
210
214
  @staticmethod
211
215
  def _find_referenced_target(target: Literal['area_id', 'floor_id', 'label_id'], referenced: set[str], sequence: Sequence[dict[str, Any]]) -> None: ...
216
+ @cached_property
212
217
  def referenced_devices(self) -> set[str]: ...
213
218
  @staticmethod
214
219
  def _find_referenced_devices(referenced: set[str], sequence: Sequence[dict[str, Any]]) -> None: ...
220
+ @cached_property
215
221
  def referenced_entities(self) -> set[str]: ...
216
222
  @staticmethod
217
223
  def _find_referenced_entities(referenced: set[str], sequence: Sequence[dict[str, Any]]) -> None: ...
@@ -6,7 +6,7 @@ from typing import Any
6
6
 
7
7
  class ScriptVariables:
8
8
  variables: Incomplete
9
- _has_template: Incomplete
9
+ _has_template: bool | None
10
10
  def __init__(self, variables: dict[str, Any]) -> None: ...
11
11
  def async_render(self, hass: HomeAssistant, run_variables: Mapping[str, Any] | None, *, render_as_defaults: bool = True, limited: bool = False) -> dict[str, Any]: ...
12
12
  def as_dict(self) -> dict[str, Any]: ...
@@ -92,7 +92,7 @@ class ReloadServiceHelper[_T]:
92
92
  _service_func: Incomplete
93
93
  _service_running: bool
94
94
  _service_condition: Incomplete
95
- _pending_reload_targets: Incomplete
95
+ _pending_reload_targets: set[_T]
96
96
  _reload_targets_func: Incomplete
97
97
  def __init__(self, service_func: Callable[[ServiceCall], Coroutine[Any, Any, Any]], reload_targets_func: Callable[[ServiceCall], set[_T]]) -> None: ...
98
98
  async def execute_service(self, service_call: ServiceCall) -> None: ...
@@ -25,7 +25,7 @@ def check_valid_float(value: str | float) -> bool: ...
25
25
 
26
26
  class SignificantlyChangedChecker:
27
27
  hass: Incomplete
28
- last_approved_entities: Incomplete
28
+ last_approved_entities: dict[str, tuple[State, Any]]
29
29
  extra_significant_check: Incomplete
30
30
  def __init__(self, hass: HomeAssistant, extra_significant_check: ExtraCheckTypeFunc | None = None) -> None: ...
31
31
  def async_is_significant_change(self, new_state: State, *, extra_arg: Any | None = None) -> bool: ...
@@ -9,6 +9,8 @@ from homeassistant.util import json as json_util
9
9
  from homeassistant.util.file import WriteError as WriteError
10
10
  from homeassistant.util.hass_dict import HassKey as HassKey
11
11
  from json import JSONEncoder
12
+ from pathlib import Path
13
+ from propcache import cached_property
12
14
  from typing import Any
13
15
 
14
16
  MAX_LOAD_CONCURRENTLY: int
@@ -23,11 +25,11 @@ def get_internal_store_manager(hass: HomeAssistant) -> _StoreManager: ...
23
25
 
24
26
  class _StoreManager:
25
27
  _hass: Incomplete
26
- _invalidated: Incomplete
27
- _files: Incomplete
28
- _data_preload: Incomplete
29
- _storage_path: Incomplete
30
- _cancel_cleanup: Incomplete
28
+ _invalidated: set[str]
29
+ _files: set[str] | None
30
+ _data_preload: dict[str, json_util.JsonValueType]
31
+ _storage_path: Path
32
+ _cancel_cleanup: asyncio.TimerHandle | None
31
33
  def __init__(self, hass: HomeAssistant) -> None: ...
32
34
  async def async_initialize(self) -> None: ...
33
35
  def async_invalidate(self, key: str) -> None: ...
@@ -45,17 +47,18 @@ class Store[_T: Mapping[str, Any] | Sequence[Any]]:
45
47
  key: Incomplete
46
48
  hass: Incomplete
47
49
  _private: Incomplete
48
- _data: Incomplete
49
- _delay_handle: Incomplete
50
- _unsub_final_write_listener: Incomplete
50
+ _data: dict[str, Any] | None
51
+ _delay_handle: asyncio.TimerHandle | None
52
+ _unsub_final_write_listener: CALLBACK_TYPE | None
51
53
  _write_lock: Incomplete
52
- _load_future: Incomplete
54
+ _load_future: asyncio.Future[_T | None] | None
53
55
  _encoder: Incomplete
54
56
  _atomic_writes: Incomplete
55
57
  _read_only: Incomplete
56
58
  _next_write_time: float
57
59
  _manager: Incomplete
58
60
  def __init__(self, hass: HomeAssistant, version: int, key: str, private: bool = False, *, atomic_writes: bool = False, encoder: type[JSONEncoder] | None = None, minor_version: int = 1, read_only: bool = False) -> None: ...
61
+ @cached_property
59
62
  def path(self): ...
60
63
  def make_read_only(self) -> None: ...
61
64
  async def async_load(self) -> _T | None: ...
@@ -1,4 +1,6 @@
1
+ import collections.abc
1
2
  import jinja2
3
+ import weakref
2
4
  from . import area_registry as area_registry, device_registry as device_registry, entity_registry as entity_registry, issue_registry as issue_registry, label_registry as label_registry
3
5
  from .deprecation import deprecated_function as deprecated_function
4
6
  from .singleton import singleton as singleton
@@ -21,6 +23,7 @@ from homeassistant.util.read_only_dict import ReadOnlyDict as ReadOnlyDict
21
23
  from homeassistant.util.thread import ThreadWithException as ThreadWithException
22
24
  from jinja2.sandbox import ImmutableSandboxedEnvironment
23
25
  from lru import LRU
26
+ from propcache import under_cached_property
24
27
  from types import CodeType, TracebackType
25
28
  from typing import Any, Literal, NoReturn, Self, overload
26
29
 
@@ -78,17 +81,17 @@ def _cached_parse_result(render_result: str) -> Any: ...
78
81
  class RenderInfo:
79
82
  __slots__: Incomplete
80
83
  template: Incomplete
81
- filter_lifecycle: Incomplete
82
- filter: Incomplete
83
- _result: Incomplete
84
+ filter_lifecycle: Callable[[str], bool]
85
+ filter: Callable[[str], bool]
86
+ _result: str | None
84
87
  is_static: bool
85
- exception: Incomplete
88
+ exception: TemplateError | None
86
89
  all_states: bool
87
90
  all_states_lifecycle: bool
88
- domains: Incomplete
89
- domains_lifecycle: Incomplete
90
- entities: Incomplete
91
- rate_limit: Incomplete
91
+ domains: collections.abc.Set[str]
92
+ domains_lifecycle: collections.abc.Set[str]
93
+ entities: collections.abc.Set[str]
94
+ rate_limit: float | None
92
95
  has_time: bool
93
96
  def __init__(self, template: Template) -> None: ...
94
97
  def __repr__(self) -> str: ...
@@ -102,16 +105,16 @@ class RenderInfo:
102
105
 
103
106
  class Template:
104
107
  __slots__: Incomplete
105
- template: Incomplete
106
- _compiled_code: Incomplete
107
- _compiled: Incomplete
108
+ template: str
109
+ _compiled_code: CodeType | None
110
+ _compiled: jinja2.Template | None
108
111
  hass: Incomplete
109
112
  is_static: Incomplete
110
- _exc_info: Incomplete
111
- _limited: Incomplete
112
- _strict: Incomplete
113
- _log_fn: Incomplete
114
- _hash_cache: Incomplete
113
+ _exc_info: OptExcInfo | None
114
+ _limited: bool | None
115
+ _strict: bool | None
116
+ _log_fn: Callable[[int, str], None] | None
117
+ _hash_cache: int
115
118
  _renders: int
116
119
  def __init__(self, template: str, hass: HomeAssistant | None = None) -> None: ...
117
120
  @property
@@ -176,10 +179,11 @@ class TemplateStateBase(State):
176
179
  _hass: Incomplete
177
180
  _collect: Incomplete
178
181
  _entity_id: Incomplete
179
- _cache: Incomplete
182
+ _cache: dict[str, Any]
180
183
  def __init__(self, hass: HomeAssistant, collect: bool, entity_id: str) -> None: ...
181
184
  def _collect_state(self) -> None: ...
182
185
  def __getitem__(self, item: str) -> Any: ...
186
+ @under_cached_property
183
187
  def entity_id(self) -> str: ...
184
188
  @property
185
189
  def state(self) -> str: ...
@@ -358,7 +362,7 @@ class HassLoader(jinja2.BaseLoader):
358
362
 
359
363
  class TemplateEnvironment(ImmutableSandboxedEnvironment):
360
364
  hass: Incomplete
361
- template_cache: Incomplete
365
+ template_cache: weakref.WeakValueDictionary[str | jinja2.nodes.Template, CodeType | None]
362
366
  loader: Incomplete
363
367
  def __init__(self, hass: HomeAssistant | None, limited: bool | None = False, strict: bool | None = False, log_fn: Callable[[int, str], None] | None = None) -> None: ...
364
368
  def is_safe_callable(self, obj): ...
@@ -8,11 +8,11 @@ from typing import Any
8
8
 
9
9
  class TraceElement:
10
10
  __slots__: Incomplete
11
- _child_key: Incomplete
12
- _child_run_id: Incomplete
13
- _error: Incomplete
14
- path: Incomplete
15
- _result: Incomplete
11
+ _child_key: str | None
12
+ _child_run_id: str | None
13
+ _error: BaseException | None
14
+ path: str
15
+ _result: dict[str, Any] | None
16
16
  reuse_by_child: bool
17
17
  _timestamp: Incomplete
18
18
  _last_variables: Incomplete
@@ -55,4 +55,4 @@ class StopReason:
55
55
  def script_execution_set(reason: str, response: ServiceResponse = None) -> None: ...
56
56
  def script_execution_get() -> str | None: ...
57
57
  def trace_path(suffix: str | list[str]) -> Generator[None]: ...
58
- def async_trace_path[*_Ts](suffix: str | list[str]) -> Callable[[Callable[[Unpack[_Ts]], Coroutine[Any, Any, None]]], Callable[[Unpack[_Ts]], Coroutine[Any, Any, None]]]: ...
58
+ def async_trace_path[*_Ts](suffix: str | list[str]) -> Callable[[Callable[[*_Ts], Coroutine[Any, Any, None]]], Callable[[*_Ts], Coroutine[Any, Any, None]]]: ...
@@ -28,8 +28,8 @@ class TriggerBaseEntity(Entity):
28
28
  hass: Incomplete
29
29
  _config: Incomplete
30
30
  _static_rendered: Incomplete
31
- _to_render_simple: Incomplete
32
- _to_render_complex: Incomplete
31
+ _to_render_simple: list[str]
32
+ _to_render_complex: list[str]
33
33
  _rendered: Incomplete
34
34
  _parse_result: Incomplete
35
35
  _attr_device_class: Incomplete
@@ -1,4 +1,5 @@
1
1
  import abc
2
+ import asyncio
2
3
  import logging
3
4
  from . import entity as entity, event as event
4
5
  from .debounce import Debouncer as Debouncer
@@ -13,6 +14,7 @@ from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_
13
14
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, HomeAssistant as HomeAssistant, callback as callback
14
15
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryError as ConfigEntryError, ConfigEntryNotReady as ConfigEntryNotReady, HomeAssistantError as HomeAssistantError
15
16
  from homeassistant.util.dt import utcnow as utcnow
17
+ from propcache import cached_property
16
18
  from typing import Any, Generic, Protocol
17
19
  from typing_extensions import TypeVar
18
20
 
@@ -32,18 +34,18 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
32
34
  name: Incomplete
33
35
  update_method: Incomplete
34
36
  setup_method: Incomplete
35
- _update_interval_seconds: Incomplete
37
+ _update_interval_seconds: float | None
36
38
  _shutdown_requested: bool
37
39
  config_entry: Incomplete
38
40
  always_update: Incomplete
39
- data: Incomplete
41
+ data: _DataT
40
42
  _microsecond: Incomplete
41
- _listeners: Incomplete
42
- _unsub_refresh: Incomplete
43
- _unsub_shutdown: Incomplete
44
- _request_refresh_task: Incomplete
43
+ _listeners: dict[CALLBACK_TYPE, tuple[CALLBACK_TYPE, object | None]]
44
+ _unsub_refresh: CALLBACK_TYPE | None
45
+ _unsub_shutdown: CALLBACK_TYPE | None
46
+ _request_refresh_task: asyncio.TimerHandle | None
45
47
  last_update_success: bool
46
- last_exception: Incomplete
48
+ last_exception: Exception | None
47
49
  _debounced_refresh: Incomplete
48
50
  def __init__(self, hass: HomeAssistant, logger: logging.Logger, *, config_entry: config_entries.ConfigEntry | None | UndefinedType = ..., name: str, update_interval: timedelta | None = None, update_method: Callable[[], Awaitable[_DataT]] | None = None, setup_method: Callable[[], Awaitable[None]] | None = None, request_refresh_debouncer: Debouncer[Coroutine[Any, Any, None]] | None = None, always_update: bool = True) -> None: ...
49
51
  async def async_register_shutdown(self) -> None: ...
@@ -81,6 +83,7 @@ class BaseCoordinatorEntity[_BaseDataUpdateCoordinatorT: BaseDataUpdateCoordinat
81
83
  coordinator: Incomplete
82
84
  coordinator_context: Incomplete
83
85
  def __init__(self, coordinator: _BaseDataUpdateCoordinatorT, context: Any = None) -> None: ...
86
+ @cached_property
84
87
  def should_poll(self) -> bool: ...
85
88
  async def async_added_to_hass(self) -> None: ...
86
89
  def _handle_coordinator_update(self) -> None: ...
@@ -22,6 +22,7 @@ from _typeshed import Incomplete
22
22
  from awesomeversion import AwesomeVersion
23
23
  from collections.abc import Callable as Callable, Iterable
24
24
  from dataclasses import dataclass
25
+ from propcache import cached_property
25
26
  from types import ModuleType
26
27
  from typing import Any, Literal, Protocol, TypedDict
27
28
 
@@ -158,31 +159,48 @@ class Integration:
158
159
  pkg_path: Incomplete
159
160
  file_path: Incomplete
160
161
  manifest: Incomplete
161
- _all_dependencies_resolved: Incomplete
162
- _all_dependencies: Incomplete
162
+ _all_dependencies_resolved: bool | None
163
+ _all_dependencies: set[str] | None
163
164
  _platforms_to_preload: Incomplete
164
- _component_future: Incomplete
165
- _import_futures: Incomplete
165
+ _component_future: asyncio.Future[ComponentProtocol] | None
166
+ _import_futures: dict[str, asyncio.Future[ModuleType]]
166
167
  _cache: Incomplete
167
168
  _missing_platforms_cache: Incomplete
168
169
  _top_level_files: Incomplete
169
170
  def __init__(self, hass: HomeAssistant, pkg_path: str, file_path: pathlib.Path, manifest: Manifest, top_level_files: set[str] | None = None) -> None: ...
171
+ @cached_property
170
172
  def manifest_json_fragment(self) -> json_fragment: ...
173
+ @cached_property
171
174
  def name(self) -> str: ...
175
+ @cached_property
172
176
  def disabled(self) -> str | None: ...
177
+ @cached_property
173
178
  def domain(self) -> str: ...
179
+ @cached_property
174
180
  def dependencies(self) -> list[str]: ...
181
+ @cached_property
175
182
  def after_dependencies(self) -> list[str]: ...
183
+ @cached_property
176
184
  def requirements(self) -> list[str]: ...
185
+ @cached_property
177
186
  def config_flow(self) -> bool: ...
187
+ @cached_property
178
188
  def documentation(self) -> str | None: ...
189
+ @cached_property
179
190
  def issue_tracker(self) -> str | None: ...
191
+ @cached_property
180
192
  def loggers(self) -> list[str] | None: ...
193
+ @cached_property
181
194
  def quality_scale(self) -> str | None: ...
195
+ @cached_property
182
196
  def iot_class(self) -> str | None: ...
197
+ @cached_property
183
198
  def integration_type(self) -> Literal['entity', 'device', 'hardware', 'helper', 'hub', 'service', 'system', 'virtual']: ...
199
+ @cached_property
184
200
  def import_executor(self) -> bool: ...
201
+ @cached_property
185
202
  def has_translations(self) -> bool: ...
203
+ @cached_property
186
204
  def has_services(self) -> bool: ...
187
205
  @property
188
206
  def mqtt(self) -> list[str] | None: ...
@@ -204,6 +222,7 @@ class Integration:
204
222
  def overwrites_built_in(self) -> bool: ...
205
223
  @property
206
224
  def version(self) -> AwesomeVersion | None: ...
225
+ @cached_property
207
226
  def single_config_entry(self) -> bool: ...
208
227
  @property
209
228
  def all_dependencies(self) -> set[str]: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from .core import HomeAssistant as HomeAssistant, callback as callback
2
3
  from .exceptions import HomeAssistantError as HomeAssistantError
3
4
  from .helpers import singleton as singleton
@@ -30,9 +31,9 @@ def _install_requirements_if_missing(requirements: list[str], kwargs: dict[str,
30
31
  class RequirementsManager:
31
32
  hass: Incomplete
32
33
  pip_lock: Incomplete
33
- integrations_with_reqs: Incomplete
34
- install_failure_history: Incomplete
35
- is_installed_cache: Incomplete
34
+ integrations_with_reqs: dict[str, Integration | asyncio.Future[Integration]]
35
+ install_failure_history: set[str]
36
+ is_installed_cache: set[str]
36
37
  def __init__(self, hass: HomeAssistant) -> None: ...
37
38
  async def async_get_integration_with_requirements(self, domain: str, done: set[str] | None = None) -> Integration: ...
38
39
  async def _async_process_integration(self, integration: Integration, done: set[str]) -> None: ...
@@ -2,7 +2,7 @@ from .json import json_loads as json_loads
2
2
  from _typeshed import Incomplete
3
3
  from aiohttp import web as web
4
4
  from aiohttp.typedefs import JSONDecoder as JSONDecoder
5
- from multidict import MultiDict
5
+ from multidict import CIMultiDict, MultiDict
6
6
  from typing import Any
7
7
 
8
8
  class MockStreamReader:
@@ -21,7 +21,7 @@ class MockRequest:
21
21
  method: Incomplete
22
22
  url: Incomplete
23
23
  status: Incomplete
24
- headers: Incomplete
24
+ headers: CIMultiDict[str]
25
25
  query_string: Incomplete
26
26
  keep_alive: bool
27
27
  version: Incomplete
@@ -9,7 +9,7 @@ _SHUTDOWN_RUN_CALLBACK_THREADSAFE: str
9
9
 
10
10
  def create_eager_task[_T](coro: Coroutine[Any, Any, _T], *, name: str | None = None, loop: AbstractEventLoop | None = None) -> Task[_T]: ...
11
11
  def cancelling(task: Future[Any]) -> bool: ...
12
- def run_callback_threadsafe[_T, *_Ts](loop: AbstractEventLoop, callback: Callable[[Unpack[_Ts]], _T], *args: Unpack[_Ts]) -> concurrent.futures.Future[_T]: ...
12
+ def run_callback_threadsafe[_T, *_Ts](loop: AbstractEventLoop, callback: Callable[[*_Ts], _T], *args: *_Ts) -> concurrent.futures.Future[_T]: ...
13
13
  async def gather_with_limited_concurrency(limit: int, *tasks: Any, return_exceptions: bool = False) -> Any: ...
14
14
  def shutdown_run_callback_threadsafe(loop: AbstractEventLoop) -> None: ...
15
15
  def get_scheduled_timer_handles(loop: AbstractEventLoop) -> list[TimerHandle]: ...
@@ -1,7 +1,9 @@
1
- from typing import Any
1
+ import dataclasses
2
+ from typing import Any, dataclass_transform
2
3
 
3
4
  def _class_fields(cls, kw_only: bool) -> list[tuple[str, Any, Any]]: ...
4
5
 
6
+ @dataclass_transform(field_specifiers=(dataclasses.field, dataclasses.Field), frozen_default=True, kw_only_default=True)
5
7
  class FrozenOrThawed(type):
6
8
  def _make_dataclass(cls, name: str, bases: tuple[type, ...], kw_only: bool) -> None: ...
7
9
  def __new__(mcs, name: str, bases: tuple[type, ...], namespace: dict[Any, Any], frozen_or_thawed: bool = False, **kwargs: Any) -> Any: ...
@@ -10,13 +10,13 @@ class HomeAssistantQueueHandler(logging.handlers.QueueHandler):
10
10
  def close(self) -> None: ...
11
11
 
12
12
  def async_activate_log_queue_handler(hass: HomeAssistant) -> None: ...
13
- def log_exception[*_Ts](format_err: Callable[[Unpack[_Ts]], Any], *args: Unpack[_Ts]) -> None: ...
14
- async def _async_wrapper[*_Ts](async_func: Callable[[Unpack[_Ts]], Coroutine[Any, Any, None]], format_err: Callable[[Unpack[_Ts]], Any], *args: Unpack[_Ts]) -> None: ...
15
- def _sync_wrapper[*_Ts](func: Callable[[Unpack[_Ts]], Any], format_err: Callable[[Unpack[_Ts]], Any], *args: Unpack[_Ts]) -> None: ...
16
- def _callback_wrapper[*_Ts](func: Callable[[Unpack[_Ts]], Any], format_err: Callable[[Unpack[_Ts]], Any], *args: Unpack[_Ts]) -> None: ...
13
+ def log_exception[*_Ts](format_err: Callable[[*_Ts], Any], *args: *_Ts) -> None: ...
14
+ async def _async_wrapper[*_Ts](async_func: Callable[[*_Ts], Coroutine[Any, Any, None]], format_err: Callable[[*_Ts], Any], *args: *_Ts) -> None: ...
15
+ def _sync_wrapper[*_Ts](func: Callable[[*_Ts], Any], format_err: Callable[[*_Ts], Any], *args: *_Ts) -> None: ...
16
+ def _callback_wrapper[*_Ts](func: Callable[[*_Ts], Any], format_err: Callable[[*_Ts], Any], *args: *_Ts) -> None: ...
17
17
  @overload
18
- def catch_log_exception[*_Ts](func: Callable[[Unpack[_Ts]], Coroutine[Any, Any, Any]], format_err: Callable[[Unpack[_Ts]], Any], job_type: HassJobType | None = None) -> Callable[[Unpack[_Ts]], Coroutine[Any, Any, None]]: ...
18
+ def catch_log_exception[*_Ts](func: Callable[[*_Ts], Coroutine[Any, Any, Any]], format_err: Callable[[*_Ts], Any], job_type: HassJobType | None = None) -> Callable[[*_Ts], Coroutine[Any, Any, None]]: ...
19
19
  @overload
20
- def catch_log_exception[*_Ts](func: Callable[[Unpack[_Ts]], Any], format_err: Callable[[Unpack[_Ts]], Any], job_type: HassJobType | None = None) -> Callable[[Unpack[_Ts]], None] | Callable[[Unpack[_Ts]], Coroutine[Any, Any, None]]: ...
21
- def catch_log_coro_exception[_T, *_Ts](target: Coroutine[Any, Any, _T], format_err: Callable[[Unpack[_Ts]], Any], *args: Unpack[_Ts]) -> Coroutine[Any, Any, _T | None]: ...
20
+ def catch_log_exception[*_Ts](func: Callable[[*_Ts], Any], format_err: Callable[[*_Ts], Any], job_type: HassJobType | None = None) -> Callable[[*_Ts], None] | Callable[[*_Ts], Coroutine[Any, Any, None]]: ...
21
+ def catch_log_coro_exception[_T, *_Ts](target: Coroutine[Any, Any, _T], format_err: Callable[[*_Ts], Any], *args: *_Ts) -> Coroutine[Any, Any, _T | None]: ...
22
22
  def async_create_catching_coro[_T](target: Coroutine[Any, Any, _T]) -> Coroutine[Any, Any, _T | None]: ...
@@ -10,4 +10,4 @@ class _SignalTypeBase[*_Ts]:
10
10
  class SignalType[*_Ts](_SignalTypeBase[*_Ts]): ...
11
11
 
12
12
  class SignalTypeFormat[*_Ts](_SignalTypeBase[*_Ts]):
13
- def format(self, *args: Any, **kwargs: Any) -> SignalType[Unpack[_Ts]]: ...
13
+ def format(self, *args: Any, **kwargs: Any) -> SignalType[*_Ts]: ...
@@ -1,7 +1,6 @@
1
1
  import asyncio
2
2
  import enum
3
3
  from .async_ import run_callback_threadsafe as run_callback_threadsafe
4
- from _typeshed import Incomplete
5
4
  from types import TracebackType
6
5
  from typing import Any, Self
7
6
 
@@ -14,8 +13,8 @@ class _State(enum.Enum):
14
13
  EXIT = 'EXIT'
15
14
 
16
15
  class _GlobalFreezeContext:
17
- _loop: Incomplete
18
- _manager: Incomplete
16
+ _loop: asyncio.AbstractEventLoop
17
+ _manager: TimeoutManager
19
18
  def __init__(self, manager: TimeoutManager) -> None: ...
20
19
  async def __aenter__(self) -> Self: ...
21
20
  async def __aexit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None) -> bool | None: ...
@@ -25,8 +24,8 @@ class _GlobalFreezeContext:
25
24
  def _exit(self) -> None: ...
26
25
 
27
26
  class _ZoneFreezeContext:
28
- _loop: Incomplete
29
- _zone: Incomplete
27
+ _loop: asyncio.AbstractEventLoop
28
+ _zone: _ZoneTimeoutManager
30
29
  def __init__(self, zone: _ZoneTimeoutManager) -> None: ...
31
30
  async def __aenter__(self) -> Self: ...
32
31
  async def __aexit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None) -> bool | None: ...
@@ -36,16 +35,16 @@ class _ZoneFreezeContext:
36
35
  def _exit(self) -> None: ...
37
36
 
38
37
  class _GlobalTaskContext:
39
- _loop: Incomplete
40
- _manager: Incomplete
41
- _task: Incomplete
42
- _time_left: Incomplete
43
- _expiration_time: Incomplete
44
- _timeout_handler: Incomplete
45
- _on_wait_task: Incomplete
46
- _wait_zone: Incomplete
47
- _state: Incomplete
48
- _cool_down: Incomplete
38
+ _loop: asyncio.AbstractEventLoop
39
+ _manager: TimeoutManager
40
+ _task: asyncio.Task[Any]
41
+ _time_left: float
42
+ _expiration_time: float | None
43
+ _timeout_handler: asyncio.Handle | None
44
+ _on_wait_task: asyncio.Task | None
45
+ _wait_zone: asyncio.Event
46
+ _state: _State
47
+ _cool_down: float
49
48
  _cancelling: int
50
49
  def __init__(self, manager: TimeoutManager, task: asyncio.Task[Any], timeout: float, cool_down: float) -> None: ...
51
50
  async def __aenter__(self) -> Self: ...
@@ -62,13 +61,13 @@ class _GlobalTaskContext:
62
61
  async def _on_wait(self) -> None: ...
63
62
 
64
63
  class _ZoneTaskContext:
65
- _loop: Incomplete
66
- _zone: Incomplete
67
- _task: Incomplete
68
- _state: Incomplete
69
- _time_left: Incomplete
70
- _expiration_time: Incomplete
71
- _timeout_handler: Incomplete
64
+ _loop: asyncio.AbstractEventLoop
65
+ _zone: _ZoneTimeoutManager
66
+ _task: asyncio.Task[Any]
67
+ _state: _State
68
+ _time_left: float
69
+ _expiration_time: float | None
70
+ _timeout_handler: asyncio.Handle | None
72
71
  _cancelling: int
73
72
  def __init__(self, zone: _ZoneTimeoutManager, task: asyncio.Task[Any], timeout: float) -> None: ...
74
73
  @property
@@ -82,10 +81,10 @@ class _ZoneTaskContext:
82
81
  def reset(self) -> None: ...
83
82
 
84
83
  class _ZoneTimeoutManager:
85
- _manager: Incomplete
86
- _zone: Incomplete
87
- _tasks: Incomplete
88
- _freezes: Incomplete
84
+ _manager: TimeoutManager
85
+ _zone: str
86
+ _tasks: list[_ZoneTaskContext]
87
+ _freezes: list[_ZoneFreezeContext]
89
88
  def __init__(self, manager: TimeoutManager, zone: str) -> None: ...
90
89
  def __repr__(self) -> str: ...
91
90
  @property
@@ -102,10 +101,10 @@ class _ZoneTimeoutManager:
102
101
  def reset(self) -> None: ...
103
102
 
104
103
  class TimeoutManager:
105
- _loop: Incomplete
106
- _zones: Incomplete
107
- _globals: Incomplete
108
- _freezes: Incomplete
104
+ _loop: asyncio.AbstractEventLoop
105
+ _zones: dict[str, _ZoneTimeoutManager]
106
+ _globals: list[_GlobalTaskContext]
107
+ _freezes: list[_GlobalFreezeContext]
109
108
  def __init__(self) -> None: ...
110
109
  @property
111
110
  def zones_done(self) -> bool: ...
@@ -7,6 +7,7 @@ from collections.abc import Callable as Callable, Iterator
7
7
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
8
8
  from io import StringIO
9
9
  from pathlib import Path
10
+ from propcache import cached_property
10
11
  from typing import Any, TextIO, overload
11
12
  from yaml import SafeLoader as FastestAvailableSafeLoader
12
13
 
@@ -18,7 +19,7 @@ class YamlTypeError(HomeAssistantError): ...
18
19
 
19
20
  class Secrets:
20
21
  config_dir: Incomplete
21
- _cache: Incomplete
22
+ _cache: dict[Path, dict[str, str]]
22
23
  def __init__(self, config_dir: Path) -> None: ...
23
24
  def get(self, requester_path: str, secret: str) -> str: ...
24
25
  def _load_secret_yaml(self, secret_dir: Path) -> dict[str, str]: ...
@@ -26,7 +27,9 @@ class Secrets:
26
27
  class _LoaderMixin:
27
28
  name: str
28
29
  stream: Any
30
+ @cached_property
29
31
  def get_name(self) -> str: ...
32
+ @cached_property
30
33
  def get_stream_name(self) -> str: ...
31
34
 
32
35
  class FastSafeLoader(FastestAvailableSafeLoader, _LoaderMixin):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.1.0b9
3
+ Version: 2025.1.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.14,>=3.12
21
- Requires-Dist: homeassistant==2025.1.0b9
21
+ Requires-Dist: homeassistant==2025.1.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)