homeassistant-stubs 2025.1.0b9__py3-none-any.whl → 2025.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1204) 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/backup_restore.pyi +0 -1
  10. homeassistant-stubs/block_async_io.pyi +0 -2
  11. homeassistant-stubs/bootstrap.pyi +2 -1
  12. homeassistant-stubs/components/abode/__init__.pyi +2 -3
  13. homeassistant-stubs/components/abode/camera.pyi +2 -1
  14. homeassistant-stubs/components/abode/config_flow.pyi +3 -3
  15. homeassistant-stubs/components/abode/sensor.pyi +0 -1
  16. homeassistant-stubs/components/acaia/binary_sensor.pyi +0 -1
  17. homeassistant-stubs/components/acaia/button.pyi +0 -1
  18. homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
  19. homeassistant-stubs/components/acaia/sensor.pyi +0 -2
  20. homeassistant-stubs/components/accuweather/coordinator.pyi +0 -1
  21. homeassistant-stubs/components/accuweather/sensor.pyi +0 -1
  22. homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
  23. homeassistant-stubs/components/acmeda/hub.pyi +4 -3
  24. homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
  25. homeassistant-stubs/components/actiontec/model.pyi +0 -1
  26. homeassistant-stubs/components/adguard/__init__.pyi +0 -1
  27. homeassistant-stubs/components/adguard/sensor.pyi +0 -1
  28. homeassistant-stubs/components/adguard/switch.pyi +0 -1
  29. homeassistant-stubs/components/aftership/sensor.pyi +2 -2
  30. homeassistant-stubs/components/airgradient/button.pyi +0 -1
  31. homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
  32. homeassistant-stubs/components/airgradient/coordinator.pyi +0 -1
  33. homeassistant-stubs/components/airgradient/number.pyi +0 -1
  34. homeassistant-stubs/components/airgradient/select.pyi +0 -1
  35. homeassistant-stubs/components/airgradient/sensor.pyi +0 -2
  36. homeassistant-stubs/components/airgradient/switch.pyi +0 -1
  37. homeassistant-stubs/components/airgradient/update.pyi +2 -0
  38. homeassistant-stubs/components/airly/sensor.pyi +0 -1
  39. homeassistant-stubs/components/airnow/sensor.pyi +0 -1
  40. homeassistant-stubs/components/airq/sensor.pyi +1 -2
  41. homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -3
  42. homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
  43. homeassistant-stubs/components/airvisual_pro/__init__.pyi +0 -1
  44. homeassistant-stubs/components/airvisual_pro/config_flow.pyi +2 -3
  45. homeassistant-stubs/components/airvisual_pro/sensor.pyi +0 -1
  46. homeassistant-stubs/components/airzone/binary_sensor.pyi +0 -1
  47. homeassistant-stubs/components/airzone/select.pyi +0 -1
  48. homeassistant-stubs/components/airzone/switch.pyi +0 -1
  49. homeassistant-stubs/components/airzone_cloud/binary_sensor.pyi +0 -1
  50. homeassistant-stubs/components/airzone_cloud/select.pyi +0 -1
  51. homeassistant-stubs/components/airzone_cloud/switch.pyi +0 -1
  52. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +7 -3
  53. homeassistant-stubs/components/alert/entity.pyi +1 -1
  54. homeassistant-stubs/components/alexa/auth.pyi +3 -2
  55. homeassistant-stubs/components/alexa/config.pyi +3 -3
  56. homeassistant-stubs/components/alexa/intent.pyi +5 -5
  57. homeassistant-stubs/components/alexa/resources.pyi +5 -5
  58. homeassistant-stubs/components/alexa/state_report.pyi +6 -6
  59. homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
  60. homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
  61. homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
  62. homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
  63. homeassistant-stubs/components/ambient_station/binary_sensor.pyi +0 -1
  64. homeassistant-stubs/components/amcrest/__init__.pyi +1 -2
  65. homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -2
  66. homeassistant-stubs/components/amcrest/camera.pyi +9 -8
  67. homeassistant-stubs/components/analytics/analytics.pyi +1 -2
  68. homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
  69. homeassistant-stubs/components/analytics_insights/coordinator.pyi +0 -1
  70. homeassistant-stubs/components/analytics_insights/sensor.pyi +0 -1
  71. homeassistant-stubs/components/android_ip_webcam/sensor.pyi +0 -1
  72. homeassistant-stubs/components/android_ip_webcam/switch.pyi +0 -1
  73. homeassistant-stubs/components/androidtv/__init__.pyi +0 -1
  74. homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
  75. homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
  76. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
  77. homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
  78. homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
  79. homeassistant-stubs/components/anova/coordinator.pyi +1 -1
  80. homeassistant-stubs/components/anova/models.pyi +0 -1
  81. homeassistant-stubs/components/anova/sensor.pyi +0 -1
  82. homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
  83. homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
  84. homeassistant-stubs/components/apsystems/__init__.pyi +0 -1
  85. homeassistant-stubs/components/apsystems/binary_sensor.pyi +0 -1
  86. homeassistant-stubs/components/apsystems/coordinator.pyi +0 -1
  87. homeassistant-stubs/components/apsystems/sensor.pyi +0 -1
  88. homeassistant-stubs/components/aqualogic/sensor.pyi +0 -1
  89. homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
  90. homeassistant-stubs/components/aranet/sensor.pyi +0 -1
  91. homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
  92. homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
  93. homeassistant-stubs/components/aseko_pool_live/binary_sensor.pyi +0 -1
  94. homeassistant-stubs/components/aseko_pool_live/sensor.pyi +0 -1
  95. homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -3
  96. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +20 -28
  97. homeassistant-stubs/components/assist_pipeline/vad.pyi +0 -2
  98. homeassistant-stubs/components/assist_satellite/entity.pyi +1 -6
  99. homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
  100. homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
  101. homeassistant-stubs/components/asuswrt/router.pyi +8 -8
  102. homeassistant-stubs/components/asuswrt/sensor.pyi +0 -1
  103. homeassistant-stubs/components/autarco/sensor.pyi +0 -3
  104. homeassistant-stubs/components/auth/indieauth.pyi +1 -1
  105. homeassistant-stubs/components/automation/__init__.pyi +15 -2
  106. homeassistant-stubs/components/automation/trace.pyi +1 -2
  107. homeassistant-stubs/components/awair/coordinator.pyi +0 -1
  108. homeassistant-stubs/components/awair/sensor.pyi +0 -1
  109. homeassistant-stubs/components/axis/binary_sensor.pyi +2 -3
  110. homeassistant-stubs/components/axis/config_flow.pyi +2 -2
  111. homeassistant-stubs/components/axis/entity.pyi +0 -1
  112. homeassistant-stubs/components/axis/hub/config.pyi +0 -1
  113. homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
  114. homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
  115. homeassistant-stubs/components/axis/light.pyi +1 -2
  116. homeassistant-stubs/components/axis/switch.pyi +1 -2
  117. homeassistant-stubs/components/backup/agent.pyi +2 -0
  118. homeassistant-stubs/components/backup/backup.pyi +1 -1
  119. homeassistant-stubs/components/backup/config.pyi +4 -7
  120. homeassistant-stubs/components/backup/manager.pyi +11 -20
  121. homeassistant-stubs/components/backup/models.pyi +0 -2
  122. homeassistant-stubs/components/backup/store.pyi +1 -1
  123. homeassistant-stubs/components/baf/binary_sensor.pyi +0 -1
  124. homeassistant-stubs/components/baf/config_flow.pyi +1 -1
  125. homeassistant-stubs/components/baf/models.pyi +0 -1
  126. homeassistant-stubs/components/baf/number.pyi +0 -1
  127. homeassistant-stubs/components/baf/sensor.pyi +0 -1
  128. homeassistant-stubs/components/baf/switch.pyi +0 -1
  129. homeassistant-stubs/components/bang_olufsen/__init__.pyi +0 -1
  130. homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
  131. homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
  132. homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
  133. homeassistant-stubs/components/bayesian/helpers.pyi +2 -3
  134. homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -3
  135. homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
  136. homeassistant-stubs/components/blueprint/importer.pyi +0 -1
  137. homeassistant-stubs/components/blueprint/models.pyi +1 -1
  138. homeassistant-stubs/components/bluesound/__init__.pyi +0 -1
  139. homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
  140. homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
  141. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
  142. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
  143. homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
  144. homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
  145. homeassistant-stubs/components/bluetooth/match.pyi +13 -12
  146. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
  147. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +8 -11
  148. homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
  149. homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
  150. homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +0 -1
  151. homeassistant-stubs/components/bmw_connected_drive/button.pyi +0 -1
  152. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
  153. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
  154. homeassistant-stubs/components/bmw_connected_drive/number.pyi +0 -1
  155. homeassistant-stubs/components/bmw_connected_drive/select.pyi +0 -1
  156. homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +0 -1
  157. homeassistant-stubs/components/bmw_connected_drive/switch.pyi +0 -1
  158. homeassistant-stubs/components/bond/button.pyi +0 -1
  159. homeassistant-stubs/components/bond/config_flow.pyi +1 -1
  160. homeassistant-stubs/components/bond/entity.pyi +1 -1
  161. homeassistant-stubs/components/bond/fan.pyi +3 -3
  162. homeassistant-stubs/components/bond/models.pyi +0 -1
  163. homeassistant-stubs/components/bond/utils.pyi +5 -5
  164. homeassistant-stubs/components/braviatv/button.pyi +0 -1
  165. homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
  166. homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
  167. homeassistant-stubs/components/brother/config_flow.pyi +3 -2
  168. homeassistant-stubs/components/brother/sensor.pyi +0 -1
  169. homeassistant-stubs/components/bthome/config_flow.pyi +3 -5
  170. homeassistant-stubs/components/button/__init__.pyi +4 -3
  171. homeassistant-stubs/components/calendar/__init__.pyi +1 -4
  172. homeassistant-stubs/components/calendar/trigger.pyi +3 -5
  173. homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
  174. homeassistant-stubs/components/cambridge_audio/select.pyi +3 -4
  175. homeassistant-stubs/components/cambridge_audio/switch.pyi +0 -1
  176. homeassistant-stubs/components/camera/__init__.pyi +25 -12
  177. homeassistant-stubs/components/camera/prefs.pyi +1 -2
  178. homeassistant-stubs/components/camera/webrtc.pyi +2 -7
  179. homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
  180. homeassistant-stubs/components/canary/camera.pyi +3 -3
  181. homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
  182. homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
  183. homeassistant-stubs/components/clickatell/notify.pyi +2 -2
  184. homeassistant-stubs/components/clicksend/notify.pyi +4 -4
  185. homeassistant-stubs/components/climate/__init__.pyi +27 -3
  186. homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
  187. homeassistant-stubs/components/cloud/backup.pyi +4 -0
  188. homeassistant-stubs/components/cloud/client.pyi +4 -4
  189. homeassistant-stubs/components/cloud/prefs.pyi +2 -2
  190. homeassistant-stubs/components/co2signal/sensor.pyi +0 -1
  191. homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
  192. homeassistant-stubs/components/command_line/cover.pyi +3 -2
  193. homeassistant-stubs/components/command_line/sensor.pyi +4 -3
  194. homeassistant-stubs/components/command_line/switch.pyi +2 -1
  195. homeassistant-stubs/components/configurator/__init__.pyi +1 -1
  196. homeassistant-stubs/components/cookidoo/coordinator.pyi +0 -1
  197. homeassistant-stubs/components/counter/__init__.pyi +2 -2
  198. homeassistant-stubs/components/cover/__init__.pyi +8 -3
  199. homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
  200. homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
  201. homeassistant-stubs/components/date/__init__.pyi +5 -3
  202. homeassistant-stubs/components/datetime/__init__.pyi +5 -3
  203. homeassistant-stubs/components/deconz/binary_sensor.pyi +0 -1
  204. homeassistant-stubs/components/deconz/button.pyi +1 -2
  205. homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
  206. homeassistant-stubs/components/deconz/entity.pyi +1 -1
  207. homeassistant-stubs/components/deconz/hub/config.pyi +0 -1
  208. homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
  209. homeassistant-stubs/components/deconz/light.pyi +2 -2
  210. homeassistant-stubs/components/deconz/number.pyi +0 -1
  211. homeassistant-stubs/components/deconz/sensor.pyi +0 -1
  212. homeassistant-stubs/components/demo/cover.pyi +4 -4
  213. homeassistant-stubs/components/demo/fan.pyi +4 -4
  214. homeassistant-stubs/components/demo/geo_location.pyi +1 -1
  215. homeassistant-stubs/components/demo/media_player.pyi +2 -2
  216. homeassistant-stubs/components/demo/remote.pyi +1 -1
  217. homeassistant-stubs/components/demo/vacuum.pyi +1 -1
  218. homeassistant-stubs/components/derivative/sensor.pyi +3 -2
  219. homeassistant-stubs/components/device_automation/__init__.pyi +0 -1
  220. homeassistant-stubs/components/device_tracker/config_entry.pyi +12 -6
  221. homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
  222. homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
  223. homeassistant-stubs/components/devolo_home_network/__init__.pyi +0 -1
  224. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -3
  225. homeassistant-stubs/components/devolo_home_network/button.pyi +0 -1
  226. homeassistant-stubs/components/devolo_home_network/image.pyi +1 -2
  227. homeassistant-stubs/components/devolo_home_network/sensor.pyi +0 -1
  228. homeassistant-stubs/components/devolo_home_network/switch.pyi +0 -1
  229. homeassistant-stubs/components/devolo_home_network/update.pyi +1 -2
  230. homeassistant-stubs/components/dhcp/__init__.pyi +5 -5
  231. homeassistant-stubs/components/diagnostics/__init__.pyi +2 -4
  232. homeassistant-stubs/components/discovergy/sensor.pyi +4 -5
  233. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
  234. homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
  235. homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
  236. homeassistant-stubs/components/dlna_dms/dms.pyi +2 -1
  237. homeassistant-stubs/components/doorbird/button.pyi +0 -1
  238. homeassistant-stubs/components/doorbird/camera.pyi +1 -1
  239. homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
  240. homeassistant-stubs/components/doorbird/device.pyi +9 -5
  241. homeassistant-stubs/components/doorbird/models.pyi +0 -1
  242. homeassistant-stubs/components/dormakaba_dkey/binary_sensor.pyi +0 -1
  243. homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
  244. homeassistant-stubs/components/dormakaba_dkey/models.pyi +0 -1
  245. homeassistant-stubs/components/dsmr/__init__.pyi +0 -1
  246. homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
  247. homeassistant-stubs/components/dsmr/sensor.pyi +1 -2
  248. homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
  249. homeassistant-stubs/components/easyenergy/sensor.pyi +0 -1
  250. homeassistant-stubs/components/ecovacs/binary_sensor.pyi +0 -1
  251. homeassistant-stubs/components/ecovacs/button.pyi +1 -4
  252. homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
  253. homeassistant-stubs/components/ecovacs/entity.pyi +3 -4
  254. homeassistant-stubs/components/ecovacs/number.pyi +0 -1
  255. homeassistant-stubs/components/ecovacs/select.pyi +0 -1
  256. homeassistant-stubs/components/ecovacs/sensor.pyi +0 -3
  257. homeassistant-stubs/components/ecovacs/switch.pyi +1 -2
  258. homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
  259. homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
  260. homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
  261. homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
  262. homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
  263. homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
  264. homeassistant-stubs/components/electric_kiwi/sensor.pyi +0 -2
  265. homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -1
  266. homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
  267. homeassistant-stubs/components/elgato/button.pyi +0 -1
  268. homeassistant-stubs/components/elgato/coordinator.pyi +0 -1
  269. homeassistant-stubs/components/elgato/sensor.pyi +0 -1
  270. homeassistant-stubs/components/elgato/switch.pyi +0 -1
  271. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
  272. homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
  273. homeassistant-stubs/components/elkm1/entity.pyi +1 -1
  274. homeassistant-stubs/components/elkm1/models.pyi +0 -1
  275. homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
  276. homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
  277. homeassistant-stubs/components/energy/data.pyi +2 -2
  278. homeassistant-stubs/components/energy/sensor.pyi +3 -4
  279. homeassistant-stubs/components/energy/validate.pyi +4 -6
  280. homeassistant-stubs/components/energyzero/sensor.pyi +0 -1
  281. homeassistant-stubs/components/enphase_envoy/binary_sensor.pyi +0 -2
  282. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
  283. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
  284. homeassistant-stubs/components/enphase_envoy/number.pyi +0 -2
  285. homeassistant-stubs/components/enphase_envoy/select.pyi +0 -2
  286. homeassistant-stubs/components/enphase_envoy/sensor.pyi +0 -10
  287. homeassistant-stubs/components/enphase_envoy/switch.pyi +0 -3
  288. homeassistant-stubs/components/eq3btsmart/binary_sensor.pyi +0 -1
  289. homeassistant-stubs/components/eq3btsmart/models.pyi +0 -2
  290. homeassistant-stubs/components/eq3btsmart/number.pyi +0 -1
  291. homeassistant-stubs/components/eq3btsmart/sensor.pyi +0 -1
  292. homeassistant-stubs/components/eq3btsmart/switch.pyi +0 -1
  293. homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
  294. homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
  295. homeassistant-stubs/components/esphome/camera.pyi +2 -1
  296. homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
  297. homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
  298. homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
  299. homeassistant-stubs/components/esphome/domain_data.pyi +2 -5
  300. homeassistant-stubs/components/esphome/entity.pyi +1 -1
  301. homeassistant-stubs/components/esphome/entry_data.pyi +20 -21
  302. homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
  303. homeassistant-stubs/components/esphome/ffmpeg_proxy.pyi +2 -4
  304. homeassistant-stubs/components/esphome/manager.pyi +3 -3
  305. homeassistant-stubs/components/esphome/select.pyi +1 -1
  306. homeassistant-stubs/components/event/__init__.pyi +5 -5
  307. homeassistant-stubs/components/evohome/__init__.pyi +7 -5
  308. homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
  309. homeassistant-stubs/components/evohome/entity.pyi +3 -3
  310. homeassistant-stubs/components/faa_delays/binary_sensor.pyi +0 -1
  311. homeassistant-stubs/components/fan/__init__.pyi +9 -3
  312. homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
  313. homeassistant-stubs/components/file_upload/__init__.pyi +0 -1
  314. homeassistant-stubs/components/filter/sensor.pyi +7 -7
  315. homeassistant-stubs/components/fitbit/api.pyi +1 -1
  316. homeassistant-stubs/components/fitbit/coordinator.pyi +0 -1
  317. homeassistant-stubs/components/fitbit/model.pyi +0 -3
  318. homeassistant-stubs/components/fitbit/sensor.pyi +0 -1
  319. homeassistant-stubs/components/flexit_bacnet/binary_sensor.pyi +0 -1
  320. homeassistant-stubs/components/flexit_bacnet/number.pyi +0 -1
  321. homeassistant-stubs/components/flexit_bacnet/sensor.pyi +0 -1
  322. homeassistant-stubs/components/flexit_bacnet/switch.pyi +0 -1
  323. homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
  324. homeassistant-stubs/components/flux_led/entity.pyi +2 -2
  325. homeassistant-stubs/components/flux_led/number.pyi +4 -2
  326. homeassistant-stubs/components/forecast_solar/sensor.pyi +0 -1
  327. homeassistant-stubs/components/fritz/binary_sensor.pyi +0 -1
  328. homeassistant-stubs/components/fritz/button.pyi +0 -1
  329. homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
  330. homeassistant-stubs/components/fritz/coordinator.pyi +26 -26
  331. homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
  332. homeassistant-stubs/components/fritz/entity.pyi +3 -5
  333. homeassistant-stubs/components/fritz/image.pyi +1 -1
  334. homeassistant-stubs/components/fritz/sensor.pyi +0 -1
  335. homeassistant-stubs/components/fritz/switch.pyi +1 -1
  336. homeassistant-stubs/components/fritz/update.pyi +1 -2
  337. homeassistant-stubs/components/fritzbox/binary_sensor.pyi +1 -3
  338. homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
  339. homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -3
  340. homeassistant-stubs/components/fritzbox/light.pyi +1 -1
  341. homeassistant-stubs/components/fritzbox/model.pyi +0 -1
  342. homeassistant-stubs/components/fritzbox/sensor.pyi +0 -2
  343. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
  344. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
  345. homeassistant-stubs/components/fronius/__init__.pyi +8 -8
  346. homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
  347. homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
  348. homeassistant-stubs/components/fronius/sensor.pyi +0 -1
  349. homeassistant-stubs/components/frontend/__init__.pyi +4 -1
  350. homeassistant-stubs/components/fully_kiosk/button.pyi +0 -1
  351. homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
  352. homeassistant-stubs/components/fully_kiosk/image.pyi +0 -1
  353. homeassistant-stubs/components/fully_kiosk/notify.pyi +0 -1
  354. homeassistant-stubs/components/fully_kiosk/sensor.pyi +0 -1
  355. homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -3
  356. homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
  357. homeassistant-stubs/components/fyta/sensor.pyi +0 -1
  358. homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
  359. homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
  360. homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
  361. homeassistant-stubs/components/geocaching/sensor.pyi +0 -1
  362. homeassistant-stubs/components/gios/__init__.pyi +0 -1
  363. homeassistant-stubs/components/gios/sensor.pyi +0 -1
  364. homeassistant-stubs/components/glances/coordinator.pyi +1 -1
  365. homeassistant-stubs/components/glances/sensor.pyi +0 -1
  366. homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
  367. homeassistant-stubs/components/go2rtc/server.pyi +5 -4
  368. homeassistant-stubs/components/google/api.pyi +5 -5
  369. homeassistant-stubs/components/google/calendar.pyi +1 -2
  370. homeassistant-stubs/components/google/config_flow.pyi +1 -1
  371. homeassistant-stubs/components/google/coordinator.pyi +1 -1
  372. homeassistant-stubs/components/google/store.pyi +1 -1
  373. homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
  374. homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -4
  375. homeassistant-stubs/components/google_photos/media_source.pyi +0 -1
  376. homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
  377. homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
  378. homeassistant-stubs/components/gpsd/sensor.pyi +0 -1
  379. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
  380. homeassistant-stubs/components/group/cover.pyi +2 -2
  381. homeassistant-stubs/components/group/entity.pyi +5 -5
  382. homeassistant-stubs/components/group/fan.pyi +2 -2
  383. homeassistant-stubs/components/group/media_player.pyi +1 -1
  384. homeassistant-stubs/components/group/registry.pyi +4 -5
  385. homeassistant-stubs/components/group/sensor.pyi +4 -4
  386. homeassistant-stubs/components/guardian/__init__.pyi +2 -3
  387. homeassistant-stubs/components/guardian/binary_sensor.pyi +0 -2
  388. homeassistant-stubs/components/guardian/button.pyi +0 -1
  389. homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
  390. homeassistant-stubs/components/guardian/entity.pyi +0 -1
  391. homeassistant-stubs/components/guardian/sensor.pyi +0 -2
  392. homeassistant-stubs/components/guardian/switch.pyi +0 -1
  393. homeassistant-stubs/components/guardian/util.pyi +0 -1
  394. homeassistant-stubs/components/guardian/valve.pyi +0 -1
  395. homeassistant-stubs/components/hardware/models.pyi +0 -3
  396. homeassistant-stubs/components/hardware/websocket_api.pyi +0 -1
  397. homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
  398. homeassistant-stubs/components/here_travel_time/model.pyi +0 -1
  399. homeassistant-stubs/components/history/websocket_api.pyi +0 -1
  400. homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
  401. homeassistant-stubs/components/history_stats/data.pyi +2 -4
  402. homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
  403. homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -4
  404. homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
  405. homeassistant-stubs/components/homeassistant_alerts/coordinator.pyi +0 -1
  406. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
  407. homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -10
  408. homeassistant-stubs/components/homeassistant_hardware/util.pyi +0 -1
  409. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
  410. homeassistant-stubs/components/homeassistant_sky_connect/const.pyi +0 -1
  411. homeassistant-stubs/components/homekit/__init__.pyi +7 -6
  412. homeassistant-stubs/components/homekit/accessories.pyi +2 -2
  413. homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
  414. homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
  415. homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
  416. homeassistant-stubs/components/homekit/models.pyi +0 -1
  417. homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
  418. homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
  419. homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
  420. homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
  421. homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
  422. homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
  423. homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
  424. homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
  425. homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
  426. homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
  427. homeassistant-stubs/components/homekit_controller/button.pyi +0 -1
  428. homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
  429. homeassistant-stubs/components/homekit_controller/select.pyi +0 -1
  430. homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
  431. homeassistant-stubs/components/homewizard/const.pyi +0 -1
  432. homeassistant-stubs/components/homewizard/sensor.pyi +0 -2
  433. homeassistant-stubs/components/homewizard/switch.pyi +0 -1
  434. homeassistant-stubs/components/homeworks/__init__.pyi +0 -1
  435. homeassistant-stubs/components/http/__init__.pyi +3 -4
  436. homeassistant-stubs/components/http/ban.pyi +1 -1
  437. homeassistant-stubs/components/huawei_lte/__init__.pyi +7 -8
  438. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
  439. homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
  440. homeassistant-stubs/components/huawei_lte/select.pyi +0 -1
  441. homeassistant-stubs/components/huawei_lte/sensor.pyi +0 -2
  442. homeassistant-stubs/components/humidifier/__init__.pyi +11 -3
  443. homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
  444. homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +0 -1
  445. homeassistant-stubs/components/husqvarna_automower/button.pyi +0 -1
  446. homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
  447. homeassistant-stubs/components/husqvarna_automower/number.pyi +0 -2
  448. homeassistant-stubs/components/husqvarna_automower/sensor.pyi +0 -2
  449. homeassistant-stubs/components/hydrawise/binary_sensor.pyi +0 -1
  450. homeassistant-stubs/components/hydrawise/coordinator.pyi +5 -7
  451. homeassistant-stubs/components/hydrawise/sensor.pyi +0 -1
  452. homeassistant-stubs/components/hydrawise/switch.pyi +0 -1
  453. homeassistant-stubs/components/hyperion/camera.pyi +1 -1
  454. homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
  455. homeassistant-stubs/components/hyperion/light.pyi +6 -6
  456. homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
  457. homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
  458. homeassistant-stubs/components/ibeacon/sensor.pyi +0 -1
  459. homeassistant-stubs/components/idasen_desk/button.pyi +0 -1
  460. homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
  461. homeassistant-stubs/components/idasen_desk/sensor.pyi +0 -1
  462. homeassistant-stubs/components/image/__init__.pyi +7 -5
  463. homeassistant-stubs/components/image_processing/__init__.pyi +4 -6
  464. homeassistant-stubs/components/imap/coordinator.pyi +8 -7
  465. homeassistant-stubs/components/imgw_pib/__init__.pyi +0 -1
  466. homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +0 -1
  467. homeassistant-stubs/components/imgw_pib/sensor.pyi +0 -1
  468. homeassistant-stubs/components/integration/sensor.pyi +7 -8
  469. homeassistant-stubs/components/intent/timers.pyi +6 -4
  470. homeassistant-stubs/components/iotty/__init__.pyi +0 -1
  471. homeassistant-stubs/components/iotty/coordinator.pyi +0 -1
  472. homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
  473. homeassistant-stubs/components/ipp/sensor.pyi +0 -1
  474. homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
  475. homeassistant-stubs/components/iron_os/coordinator.pyi +0 -1
  476. homeassistant-stubs/components/iron_os/number.pyi +0 -1
  477. homeassistant-stubs/components/iron_os/select.pyi +0 -1
  478. homeassistant-stubs/components/iron_os/sensor.pyi +0 -1
  479. homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
  480. homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
  481. homeassistant-stubs/components/isy994/button.pyi +1 -1
  482. homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
  483. homeassistant-stubs/components/isy994/entity.pyi +5 -5
  484. homeassistant-stubs/components/isy994/light.pyi +1 -1
  485. homeassistant-stubs/components/isy994/number.pyi +2 -2
  486. homeassistant-stubs/components/isy994/select.pyi +1 -1
  487. homeassistant-stubs/components/isy994/sensor.pyi +2 -2
  488. homeassistant-stubs/components/isy994/switch.pyi +1 -2
  489. homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
  490. homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
  491. homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
  492. homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
  493. homeassistant-stubs/components/jellyfin/sensor.pyi +0 -1
  494. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +1 -3
  495. homeassistant-stubs/components/jewish_calendar/entity.pyi +0 -1
  496. homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
  497. homeassistant-stubs/components/jvc_projector/select.pyi +0 -1
  498. homeassistant-stubs/components/kaleidescape/__init__.pyi +0 -1
  499. homeassistant-stubs/components/kaleidescape/sensor.pyi +0 -1
  500. homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
  501. homeassistant-stubs/components/knx/__init__.pyi +7 -6
  502. homeassistant-stubs/components/knx/climate.pyi +3 -3
  503. homeassistant-stubs/components/knx/config_flow.pyi +10 -9
  504. homeassistant-stubs/components/knx/cover.pyi +1 -1
  505. homeassistant-stubs/components/knx/device.pyi +1 -1
  506. homeassistant-stubs/components/knx/expose.pyi +7 -6
  507. homeassistant-stubs/components/knx/fan.pyi +1 -1
  508. homeassistant-stubs/components/knx/light.pyi +6 -4
  509. homeassistant-stubs/components/knx/project.pyi +0 -1
  510. homeassistant-stubs/components/knx/select.pyi +1 -1
  511. homeassistant-stubs/components/knx/sensor.pyi +1 -2
  512. homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
  513. homeassistant-stubs/components/knx/telegrams.pyi +3 -2
  514. homeassistant-stubs/components/kraken/__init__.pyi +2 -2
  515. homeassistant-stubs/components/kraken/sensor.pyi +0 -1
  516. homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
  517. homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
  518. homeassistant-stubs/components/lacrosse_view/sensor.pyi +0 -1
  519. homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +0 -1
  520. homeassistant-stubs/components/lamarzocco/button.pyi +0 -1
  521. homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
  522. homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -2
  523. homeassistant-stubs/components/lamarzocco/entity.pyi +0 -1
  524. homeassistant-stubs/components/lamarzocco/number.pyi +0 -2
  525. homeassistant-stubs/components/lamarzocco/select.pyi +0 -1
  526. homeassistant-stubs/components/lamarzocco/sensor.pyi +0 -1
  527. homeassistant-stubs/components/lamarzocco/switch.pyi +0 -1
  528. homeassistant-stubs/components/lamarzocco/update.pyi +0 -1
  529. homeassistant-stubs/components/lametric/button.pyi +0 -1
  530. homeassistant-stubs/components/lametric/number.pyi +0 -1
  531. homeassistant-stubs/components/lametric/select.pyi +0 -1
  532. homeassistant-stubs/components/lametric/sensor.pyi +0 -1
  533. homeassistant-stubs/components/lametric/switch.pyi +0 -1
  534. homeassistant-stubs/components/lawn_mower/__init__.pyi +4 -3
  535. homeassistant-stubs/components/lcn/entity.pyi +3 -3
  536. homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
  537. homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
  538. homeassistant-stubs/components/ld2410_ble/models.pyi +0 -1
  539. homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
  540. homeassistant-stubs/components/led_ble/models.pyi +0 -1
  541. homeassistant-stubs/components/lektrico/binary_sensor.pyi +0 -1
  542. homeassistant-stubs/components/lektrico/button.pyi +0 -1
  543. homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
  544. homeassistant-stubs/components/lektrico/number.pyi +0 -1
  545. homeassistant-stubs/components/lektrico/select.pyi +0 -1
  546. homeassistant-stubs/components/lektrico/sensor.pyi +0 -1
  547. homeassistant-stubs/components/lektrico/switch.pyi +0 -1
  548. homeassistant-stubs/components/lidarr/__init__.pyi +0 -1
  549. homeassistant-stubs/components/lidarr/sensor.pyi +0 -2
  550. homeassistant-stubs/components/lifx/__init__.pyi +1 -1
  551. homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
  552. homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
  553. homeassistant-stubs/components/lifx/light.pyi +3 -2
  554. homeassistant-stubs/components/lifx/manager.pyi +1 -1
  555. homeassistant-stubs/components/light/__init__.pyi +23 -8
  556. homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
  557. homeassistant-stubs/components/linear_garage_door/coordinator.pyi +0 -1
  558. homeassistant-stubs/components/linkplay/__init__.pyi +0 -1
  559. homeassistant-stubs/components/linkplay/button.pyi +0 -1
  560. homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
  561. homeassistant-stubs/components/litterrobot/binary_sensor.pyi +1 -3
  562. homeassistant-stubs/components/litterrobot/button.pyi +1 -3
  563. homeassistant-stubs/components/litterrobot/select.pyi +0 -2
  564. homeassistant-stubs/components/litterrobot/sensor.pyi +0 -1
  565. homeassistant-stubs/components/litterrobot/switch.pyi +0 -2
  566. homeassistant-stubs/components/litterrobot/time.pyi +1 -3
  567. homeassistant-stubs/components/lock/__init__.pyi +11 -3
  568. homeassistant-stubs/components/logbook/models.pyi +7 -1
  569. homeassistant-stubs/components/logbook/processor.pyi +3 -4
  570. homeassistant-stubs/components/logbook/websocket_api.pyi +0 -1
  571. homeassistant-stubs/components/logger/helpers.pyi +1 -3
  572. homeassistant-stubs/components/lookin/__init__.pyi +2 -2
  573. homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
  574. homeassistant-stubs/components/lookin/entity.pyi +2 -2
  575. homeassistant-stubs/components/lookin/media_player.pyi +1 -1
  576. homeassistant-stubs/components/lookin/models.pyi +0 -1
  577. homeassistant-stubs/components/madvr/binary_sensor.pyi +0 -1
  578. homeassistant-stubs/components/madvr/sensor.pyi +1 -2
  579. homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
  580. homeassistant-stubs/components/mastodon/__init__.pyi +0 -1
  581. homeassistant-stubs/components/mastodon/sensor.pyi +0 -1
  582. homeassistant-stubs/components/matrix/__init__.pyi +4 -4
  583. homeassistant-stubs/components/matter/adapter.pyi +2 -2
  584. homeassistant-stubs/components/matter/binary_sensor.pyi +1 -2
  585. homeassistant-stubs/components/matter/button.pyi +0 -1
  586. homeassistant-stubs/components/matter/climate.pyi +1 -1
  587. homeassistant-stubs/components/matter/config_flow.pyi +4 -3
  588. homeassistant-stubs/components/matter/entity.pyi +4 -3
  589. homeassistant-stubs/components/matter/helpers.pyi +0 -1
  590. homeassistant-stubs/components/matter/models.pyi +0 -2
  591. homeassistant-stubs/components/matter/number.pyi +1 -2
  592. homeassistant-stubs/components/matter/select.pyi +1 -2
  593. homeassistant-stubs/components/matter/sensor.pyi +1 -2
  594. homeassistant-stubs/components/matter/update.pyi +0 -1
  595. homeassistant-stubs/components/mealie/coordinator.pyi +0 -2
  596. homeassistant-stubs/components/mealie/sensor.pyi +0 -1
  597. homeassistant-stubs/components/media_player/__init__.pyi +37 -4
  598. homeassistant-stubs/components/media_player/intent.pyi +2 -3
  599. homeassistant-stubs/components/media_source/models.pyi +0 -2
  600. homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
  601. homeassistant-stubs/components/metoffice/data.pyi +0 -1
  602. homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
  603. homeassistant-stubs/components/mikrotik/device.pyi +3 -3
  604. homeassistant-stubs/components/min_max/sensor.pyi +11 -11
  605. homeassistant-stubs/components/minecraft_server/api.pyi +0 -1
  606. homeassistant-stubs/components/minecraft_server/sensor.pyi +0 -1
  607. homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
  608. homeassistant-stubs/components/modbus/climate.pyi +4 -4
  609. homeassistant-stubs/components/modbus/entity.pyi +5 -5
  610. homeassistant-stubs/components/modbus/modbus.pyi +4 -3
  611. homeassistant-stubs/components/modbus/sensor.pyi +1 -1
  612. homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
  613. homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
  614. homeassistant-stubs/components/monzo/coordinator.pyi +0 -1
  615. homeassistant-stubs/components/monzo/sensor.pyi +0 -1
  616. homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
  617. homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
  618. homeassistant-stubs/components/motionmount/select.pyi +1 -1
  619. homeassistant-stubs/components/mqtt/client.pyi +13 -13
  620. homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
  621. homeassistant-stubs/components/mqtt/debug_info.pyi +0 -1
  622. homeassistant-stubs/components/mqtt/device_trigger.pyi +2 -4
  623. homeassistant-stubs/components/mqtt/discovery.pyi +0 -1
  624. homeassistant-stubs/components/mqtt/entity.pyi +10 -10
  625. homeassistant-stubs/components/mqtt/models.pyi +20 -24
  626. homeassistant-stubs/components/mqtt/subscription.pyi +0 -1
  627. homeassistant-stubs/components/mqtt/tag.pyi +1 -1
  628. homeassistant-stubs/components/mqtt/util.pyi +2 -2
  629. homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
  630. homeassistant-stubs/components/music_assistant/__init__.pyi +0 -1
  631. homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
  632. homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
  633. homeassistant-stubs/components/mysensors/binary_sensor.pyi +0 -1
  634. homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
  635. homeassistant-stubs/components/mysensors/entity.pyi +7 -7
  636. homeassistant-stubs/components/mysensors/light.pyi +1 -1
  637. homeassistant-stubs/components/myuplink/coordinator.pyi +0 -1
  638. homeassistant-stubs/components/nam/config_flow.pyi +0 -1
  639. homeassistant-stubs/components/nam/sensor.pyi +0 -1
  640. homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
  641. homeassistant-stubs/components/nasweb/nasweb_data.pyi +2 -3
  642. homeassistant-stubs/components/neato/camera.pyi +4 -4
  643. homeassistant-stubs/components/neato/entity.pyi +1 -1
  644. homeassistant-stubs/components/neato/hub.pyi +1 -1
  645. homeassistant-stubs/components/neato/sensor.pyi +3 -2
  646. homeassistant-stubs/components/neato/switch.pyi +2 -2
  647. homeassistant-stubs/components/neato/vacuum.pyi +18 -18
  648. homeassistant-stubs/components/nest/camera.pyi +4 -4
  649. homeassistant-stubs/components/nest/config_flow.pyi +5 -5
  650. homeassistant-stubs/components/nest/event.pyi +0 -1
  651. homeassistant-stubs/components/nest/media_source.pyi +2 -3
  652. homeassistant-stubs/components/nest/types.pyi +0 -1
  653. homeassistant-stubs/components/netatmo/data_handler.pyi +3 -6
  654. homeassistant-stubs/components/netatmo/entity.pyi +2 -1
  655. homeassistant-stubs/components/netatmo/helper.pyi +0 -1
  656. homeassistant-stubs/components/netatmo/sensor.pyi +0 -2
  657. homeassistant-stubs/components/network/network.pyi +2 -2
  658. homeassistant-stubs/components/nextdns/__init__.pyi +0 -1
  659. homeassistant-stubs/components/nextdns/binary_sensor.pyi +0 -1
  660. homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
  661. homeassistant-stubs/components/nextdns/sensor.pyi +1 -2
  662. homeassistant-stubs/components/nextdns/switch.pyi +0 -1
  663. homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
  664. homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
  665. homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
  666. homeassistant-stubs/components/nordpool/sensor.pyi +0 -3
  667. homeassistant-stubs/components/notify/__init__.pyi +3 -3
  668. homeassistant-stubs/components/notion/binary_sensor.pyi +0 -1
  669. homeassistant-stubs/components/notion/config_flow.pyi +2 -3
  670. homeassistant-stubs/components/notion/coordinator.pyi +5 -6
  671. homeassistant-stubs/components/notion/entity.pyi +0 -1
  672. homeassistant-stubs/components/notion/sensor.pyi +1 -2
  673. homeassistant-stubs/components/number/__init__.pyi +18 -13
  674. homeassistant-stubs/components/nut/__init__.pyi +3 -5
  675. homeassistant-stubs/components/nut/config_flow.pyi +4 -4
  676. homeassistant-stubs/components/onboarding/__init__.pyi +0 -1
  677. homeassistant-stubs/components/onewire/binary_sensor.pyi +1 -2
  678. homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
  679. homeassistant-stubs/components/onewire/entity.pyi +2 -3
  680. homeassistant-stubs/components/onewire/model.pyi +0 -1
  681. homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
  682. homeassistant-stubs/components/onewire/sensor.pyi +0 -1
  683. homeassistant-stubs/components/onewire/switch.pyi +1 -2
  684. homeassistant-stubs/components/onkyo/__init__.pyi +0 -1
  685. homeassistant-stubs/components/onkyo/receiver.pyi +4 -7
  686. homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
  687. homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
  688. homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
  689. homeassistant-stubs/components/openuv/config_flow.pyi +1 -2
  690. homeassistant-stubs/components/openuv/sensor.pyi +0 -2
  691. homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
  692. homeassistant-stubs/components/otbr/util.pyi +0 -1
  693. homeassistant-stubs/components/overkiz/__init__.pyi +0 -1
  694. homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +0 -1
  695. homeassistant-stubs/components/overkiz/binary_sensor.pyi +0 -1
  696. homeassistant-stubs/components/overkiz/button.pyi +0 -1
  697. homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
  698. homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
  699. homeassistant-stubs/components/overkiz/light.pyi +1 -1
  700. homeassistant-stubs/components/overkiz/number.pyi +0 -1
  701. homeassistant-stubs/components/overkiz/select.pyi +0 -1
  702. homeassistant-stubs/components/overkiz/sensor.pyi +0 -1
  703. homeassistant-stubs/components/overkiz/switch.pyi +0 -1
  704. homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
  705. homeassistant-stubs/components/peblar/binary_sensor.pyi +0 -1
  706. homeassistant-stubs/components/peblar/button.pyi +0 -1
  707. homeassistant-stubs/components/peblar/coordinator.pyi +0 -3
  708. homeassistant-stubs/components/peblar/number.pyi +0 -1
  709. homeassistant-stubs/components/peblar/select.pyi +0 -1
  710. homeassistant-stubs/components/peblar/sensor.pyi +0 -1
  711. homeassistant-stubs/components/peblar/switch.pyi +0 -1
  712. homeassistant-stubs/components/peblar/update.pyi +0 -1
  713. homeassistant-stubs/components/peco/__init__.pyi +0 -1
  714. homeassistant-stubs/components/peco/sensor.pyi +0 -1
  715. homeassistant-stubs/components/pi_hole/__init__.pyi +0 -1
  716. homeassistant-stubs/components/pi_hole/binary_sensor.pyi +0 -1
  717. homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
  718. homeassistant-stubs/components/pi_hole/update.pyi +0 -1
  719. homeassistant-stubs/components/ping/coordinator.pyi +0 -1
  720. homeassistant-stubs/components/ping/sensor.pyi +0 -1
  721. homeassistant-stubs/components/plugwise/binary_sensor.pyi +0 -1
  722. homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
  723. homeassistant-stubs/components/plugwise/number.pyi +0 -1
  724. homeassistant-stubs/components/plugwise/select.pyi +0 -1
  725. homeassistant-stubs/components/plugwise/sensor.pyi +0 -1
  726. homeassistant-stubs/components/plugwise/switch.pyi +0 -1
  727. homeassistant-stubs/components/powerfox/sensor.pyi +0 -1
  728. homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
  729. homeassistant-stubs/components/powerwall/models.pyi +0 -2
  730. homeassistant-stubs/components/powerwall/sensor.pyi +0 -1
  731. homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
  732. homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
  733. homeassistant-stubs/components/private_ble_device/sensor.pyi +0 -1
  734. homeassistant-stubs/components/prometheus/__init__.pyi +3 -4
  735. homeassistant-stubs/components/proximity/coordinator.pyi +8 -10
  736. homeassistant-stubs/components/prusalink/binary_sensor.pyi +0 -2
  737. homeassistant-stubs/components/prusalink/button.pyi +0 -2
  738. homeassistant-stubs/components/prusalink/sensor.pyi +0 -2
  739. homeassistant-stubs/components/pure_energie/sensor.pyi +0 -1
  740. homeassistant-stubs/components/purpleair/config_flow.pyi +4 -5
  741. homeassistant-stubs/components/purpleair/sensor.pyi +0 -1
  742. homeassistant-stubs/components/pushbullet/api.pyi +1 -1
  743. homeassistant-stubs/components/pvoutput/sensor.pyi +0 -1
  744. homeassistant-stubs/components/qnap_qsw/binary_sensor.pyi +0 -1
  745. homeassistant-stubs/components/qnap_qsw/button.pyi +0 -1
  746. homeassistant-stubs/components/qnap_qsw/entity.pyi +0 -2
  747. homeassistant-stubs/components/qnap_qsw/sensor.pyi +0 -1
  748. homeassistant-stubs/components/radarr/__init__.pyi +0 -1
  749. homeassistant-stubs/components/radarr/coordinator.pyi +3 -5
  750. homeassistant-stubs/components/radarr/sensor.pyi +0 -2
  751. homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
  752. homeassistant-stubs/components/rainforest_raven/sensor.pyi +0 -1
  753. homeassistant-stubs/components/rainmachine/__init__.pyi +0 -1
  754. homeassistant-stubs/components/rainmachine/binary_sensor.pyi +0 -1
  755. homeassistant-stubs/components/rainmachine/button.pyi +0 -1
  756. homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
  757. homeassistant-stubs/components/rainmachine/entity.pyi +0 -1
  758. homeassistant-stubs/components/rainmachine/select.pyi +0 -3
  759. homeassistant-stubs/components/rainmachine/sensor.pyi +2 -4
  760. homeassistant-stubs/components/rainmachine/switch.pyi +1 -4
  761. homeassistant-stubs/components/rainmachine/update.pyi +1 -2
  762. homeassistant-stubs/components/rainmachine/util.pyi +0 -1
  763. homeassistant-stubs/components/rdw/binary_sensor.pyi +0 -1
  764. homeassistant-stubs/components/rdw/sensor.pyi +0 -1
  765. homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
  766. homeassistant-stubs/components/recorder/core.pyi +26 -22
  767. homeassistant-stubs/components/recorder/executor.pyi +1 -1
  768. homeassistant-stubs/components/recorder/migration.pyi +0 -5
  769. homeassistant-stubs/components/recorder/models/database.pyi +0 -2
  770. homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
  771. homeassistant-stubs/components/recorder/models/state.pyi +12 -2
  772. homeassistant-stubs/components/recorder/statistics.pyi +1 -4
  773. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
  774. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
  775. homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
  776. homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
  777. homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
  778. homeassistant-stubs/components/recorder/tasks.pyi +0 -13
  779. homeassistant-stubs/components/remote/__init__.pyi +5 -3
  780. homeassistant-stubs/components/renault/binary_sensor.pyi +0 -1
  781. homeassistant-stubs/components/renault/button.pyi +0 -1
  782. homeassistant-stubs/components/renault/config_flow.pyi +1 -1
  783. homeassistant-stubs/components/renault/device_tracker.pyi +1 -2
  784. homeassistant-stubs/components/renault/entity.pyi +1 -3
  785. homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
  786. homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -2
  787. homeassistant-stubs/components/renault/select.pyi +0 -1
  788. homeassistant-stubs/components/renault/sensor.pyi +0 -1
  789. homeassistant-stubs/components/reolink/binary_sensor.pyi +0 -1
  790. homeassistant-stubs/components/reolink/button.pyi +0 -2
  791. homeassistant-stubs/components/reolink/camera.pyi +0 -1
  792. homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
  793. homeassistant-stubs/components/reolink/entity.pyi +0 -4
  794. homeassistant-stubs/components/reolink/host.pyi +12 -10
  795. homeassistant-stubs/components/reolink/light.pyi +0 -2
  796. homeassistant-stubs/components/reolink/number.pyi +0 -3
  797. homeassistant-stubs/components/reolink/select.pyi +0 -2
  798. homeassistant-stubs/components/reolink/sensor.pyi +0 -2
  799. homeassistant-stubs/components/reolink/siren.pyi +1 -2
  800. homeassistant-stubs/components/reolink/switch.pyi +0 -3
  801. homeassistant-stubs/components/reolink/update.pyi +5 -8
  802. homeassistant-stubs/components/reolink/util.pyi +0 -1
  803. homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
  804. homeassistant-stubs/components/rest/data.pyi +4 -4
  805. homeassistant-stubs/components/rest/switch.pyi +10 -10
  806. homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
  807. homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
  808. homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
  809. homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
  810. homeassistant-stubs/components/rfxtrx/sensor.pyi +0 -1
  811. homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
  812. homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
  813. homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
  814. homeassistant-stubs/components/ring/__init__.pyi +0 -1
  815. homeassistant-stubs/components/ring/binary_sensor.pyi +1 -2
  816. homeassistant-stubs/components/ring/camera.pyi +4 -5
  817. homeassistant-stubs/components/ring/coordinator.pyi +5 -5
  818. homeassistant-stubs/components/ring/entity.pyi +0 -2
  819. homeassistant-stubs/components/ring/event.pyi +0 -1
  820. homeassistant-stubs/components/ring/number.pyi +0 -1
  821. homeassistant-stubs/components/ring/sensor.pyi +0 -1
  822. homeassistant-stubs/components/ring/siren.pyi +0 -1
  823. homeassistant-stubs/components/ring/switch.pyi +0 -1
  824. homeassistant-stubs/components/rituals_perfume_genie/binary_sensor.pyi +0 -1
  825. homeassistant-stubs/components/rituals_perfume_genie/number.pyi +0 -1
  826. homeassistant-stubs/components/rituals_perfume_genie/select.pyi +0 -1
  827. homeassistant-stubs/components/rituals_perfume_genie/sensor.pyi +0 -1
  828. homeassistant-stubs/components/rituals_perfume_genie/switch.pyi +0 -1
  829. homeassistant-stubs/components/roborock/__init__.pyi +0 -1
  830. homeassistant-stubs/components/roborock/binary_sensor.pyi +0 -1
  831. homeassistant-stubs/components/roborock/button.pyi +0 -1
  832. homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
  833. homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
  834. homeassistant-stubs/components/roborock/models.pyi +0 -3
  835. homeassistant-stubs/components/roborock/number.pyi +0 -1
  836. homeassistant-stubs/components/roborock/select.pyi +0 -1
  837. homeassistant-stubs/components/roborock/sensor.pyi +0 -2
  838. homeassistant-stubs/components/roborock/switch.pyi +0 -1
  839. homeassistant-stubs/components/roborock/time.pyi +0 -1
  840. homeassistant-stubs/components/roku/binary_sensor.pyi +0 -1
  841. homeassistant-stubs/components/roku/select.pyi +0 -1
  842. homeassistant-stubs/components/roku/sensor.pyi +0 -1
  843. homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
  844. homeassistant-stubs/components/ruuvi_gateway/models.pyi +0 -1
  845. homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
  846. homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
  847. homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
  848. homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
  849. homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
  850. homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
  851. homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
  852. homeassistant-stubs/components/schlage/binary_sensor.pyi +0 -1
  853. homeassistant-stubs/components/schlage/coordinator.pyi +1 -3
  854. homeassistant-stubs/components/schlage/switch.pyi +0 -1
  855. homeassistant-stubs/components/script/__init__.pyi +16 -1
  856. homeassistant-stubs/components/search/__init__.pyi +2 -1
  857. homeassistant-stubs/components/select/__init__.pyi +4 -3
  858. homeassistant-stubs/components/sensibo/binary_sensor.pyi +0 -2
  859. homeassistant-stubs/components/sensibo/button.pyi +0 -1
  860. homeassistant-stubs/components/sensibo/number.pyi +0 -1
  861. homeassistant-stubs/components/sensibo/select.pyi +0 -1
  862. homeassistant-stubs/components/sensibo/sensor.pyi +0 -2
  863. homeassistant-stubs/components/sensibo/switch.pyi +0 -1
  864. homeassistant-stubs/components/sensibo/update.pyi +0 -1
  865. homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
  866. homeassistant-stubs/components/sensor/__init__.pyi +17 -11
  867. homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
  868. homeassistant-stubs/components/sfr_box/binary_sensor.pyi +0 -1
  869. homeassistant-stubs/components/sfr_box/button.pyi +0 -1
  870. homeassistant-stubs/components/sfr_box/models.pyi +0 -1
  871. homeassistant-stubs/components/sfr_box/sensor.pyi +0 -1
  872. homeassistant-stubs/components/shelly/binary_sensor.pyi +3 -8
  873. homeassistant-stubs/components/shelly/button.pyi +0 -1
  874. homeassistant-stubs/components/shelly/climate.pyi +8 -8
  875. homeassistant-stubs/components/shelly/coordinator.pyi +19 -16
  876. homeassistant-stubs/components/shelly/cover.pyi +1 -1
  877. homeassistant-stubs/components/shelly/entity.pyi +6 -9
  878. homeassistant-stubs/components/shelly/event.pyi +0 -2
  879. homeassistant-stubs/components/shelly/light.pyi +1 -1
  880. homeassistant-stubs/components/shelly/number.pyi +1 -3
  881. homeassistant-stubs/components/shelly/select.pyi +1 -2
  882. homeassistant-stubs/components/shelly/sensor.pyi +5 -10
  883. homeassistant-stubs/components/shelly/switch.pyi +4 -6
  884. homeassistant-stubs/components/shelly/text.pyi +1 -2
  885. homeassistant-stubs/components/shelly/update.pyi +2 -4
  886. homeassistant-stubs/components/shelly/valve.pyi +2 -3
  887. homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
  888. homeassistant-stubs/components/simplepush/notify.pyi +4 -4
  889. homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
  890. homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
  891. homeassistant-stubs/components/simplisafe/button.pyi +0 -1
  892. homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
  893. homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
  894. homeassistant-stubs/components/siren/__init__.pyi +4 -3
  895. homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
  896. homeassistant-stubs/components/skybell/sensor.pyi +0 -1
  897. homeassistant-stubs/components/sleepiq/button.pyi +0 -1
  898. homeassistant-stubs/components/sleepiq/coordinator.pyi +0 -1
  899. homeassistant-stubs/components/sleepiq/number.pyi +0 -1
  900. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  901. homeassistant-stubs/components/smlight/__init__.pyi +0 -1
  902. homeassistant-stubs/components/smlight/binary_sensor.pyi +0 -1
  903. homeassistant-stubs/components/smlight/button.pyi +0 -1
  904. homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
  905. homeassistant-stubs/components/smlight/coordinator.pyi +1 -3
  906. homeassistant-stubs/components/smlight/sensor.pyi +1 -3
  907. homeassistant-stubs/components/smlight/switch.pyi +0 -1
  908. homeassistant-stubs/components/smlight/update.pyi +2 -3
  909. homeassistant-stubs/components/snooz/config_flow.pyi +4 -5
  910. homeassistant-stubs/components/snooz/models.pyi +0 -1
  911. homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
  912. homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
  913. homeassistant-stubs/components/solarlog/sensor.pyi +0 -2
  914. homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
  915. homeassistant-stubs/components/sonarr/sensor.pyi +1 -3
  916. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
  917. homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
  918. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -3
  919. homeassistant-stubs/components/spotify/coordinator.pyi +2 -3
  920. homeassistant-stubs/components/spotify/models.pyi +0 -1
  921. homeassistant-stubs/components/sql/models.pyi +0 -1
  922. homeassistant-stubs/components/squeezebox/__init__.pyi +0 -1
  923. homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
  924. homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
  925. homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
  926. homeassistant-stubs/components/ssdp/__init__.pyi +13 -13
  927. homeassistant-stubs/components/starlink/binary_sensor.pyi +0 -1
  928. homeassistant-stubs/components/starlink/button.pyi +0 -1
  929. homeassistant-stubs/components/starlink/coordinator.pyi +0 -1
  930. homeassistant-stubs/components/starlink/device_tracker.pyi +0 -1
  931. homeassistant-stubs/components/starlink/sensor.pyi +0 -1
  932. homeassistant-stubs/components/starlink/switch.pyi +0 -1
  933. homeassistant-stubs/components/starlink/time.pyi +0 -1
  934. homeassistant-stubs/components/statistics/sensor.pyi +15 -15
  935. homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
  936. homeassistant-stubs/components/steamist/sensor.pyi +0 -1
  937. homeassistant-stubs/components/stookwijzer/sensor.pyi +0 -1
  938. homeassistant-stubs/components/stream/__init__.pyi +5 -4
  939. homeassistant-stubs/components/stream/core.pyi +11 -13
  940. homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
  941. homeassistant-stubs/components/stream/recorder.pyi +1 -1
  942. homeassistant-stubs/components/stream/worker.pyi +6 -4
  943. homeassistant-stubs/components/streamlabswater/coordinator.pyi +0 -1
  944. homeassistant-stubs/components/streamlabswater/sensor.pyi +0 -1
  945. homeassistant-stubs/components/stt/models.pyi +0 -2
  946. homeassistant-stubs/components/suez_water/coordinator.pyi +0 -2
  947. homeassistant-stubs/components/suez_water/sensor.pyi +0 -1
  948. homeassistant-stubs/components/sun/entity.pyi +4 -4
  949. homeassistant-stubs/components/sun/sensor.pyi +0 -1
  950. homeassistant-stubs/components/switch/__init__.pyi +3 -3
  951. homeassistant-stubs/components/switchbee/climate.pyi +1 -1
  952. homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
  953. homeassistant-stubs/components/switchbot_cloud/__init__.pyi +6 -8
  954. homeassistant-stubs/components/switcher_kis/button.pyi +0 -1
  955. homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
  956. homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
  957. homeassistant-stubs/components/synology_dsm/binary_sensor.pyi +1 -2
  958. homeassistant-stubs/components/synology_dsm/button.pyi +0 -1
  959. homeassistant-stubs/components/synology_dsm/camera.pyi +0 -1
  960. homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
  961. homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
  962. homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
  963. homeassistant-stubs/components/synology_dsm/entity.pyi +5 -6
  964. homeassistant-stubs/components/synology_dsm/models.pyi +0 -1
  965. homeassistant-stubs/components/synology_dsm/sensor.pyi +3 -5
  966. homeassistant-stubs/components/synology_dsm/switch.pyi +1 -2
  967. homeassistant-stubs/components/synology_dsm/update.pyi +1 -2
  968. homeassistant-stubs/components/system_health/__init__.pyi +0 -1
  969. homeassistant-stubs/components/system_log/__init__.pyi +1 -1
  970. homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
  971. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -2
  972. homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -3
  973. homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -4
  974. homeassistant-stubs/components/tag/__init__.pyi +1 -1
  975. homeassistant-stubs/components/tailscale/binary_sensor.pyi +0 -1
  976. homeassistant-stubs/components/tailscale/sensor.pyi +0 -1
  977. homeassistant-stubs/components/tailwind/binary_sensor.pyi +0 -1
  978. homeassistant-stubs/components/tailwind/button.pyi +0 -1
  979. homeassistant-stubs/components/tailwind/number.pyi +0 -1
  980. homeassistant-stubs/components/tami4/button.pyi +0 -2
  981. homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
  982. homeassistant-stubs/components/tautulli/sensor.pyi +0 -2
  983. homeassistant-stubs/components/tcp/entity.pyi +4 -3
  984. homeassistant-stubs/components/technove/binary_sensor.pyi +0 -1
  985. homeassistant-stubs/components/technove/number.pyi +0 -1
  986. homeassistant-stubs/components/technove/sensor.pyi +0 -1
  987. homeassistant-stubs/components/technove/switch.pyi +0 -1
  988. homeassistant-stubs/components/tedee/binary_sensor.pyi +0 -1
  989. homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
  990. homeassistant-stubs/components/tedee/sensor.pyi +0 -1
  991. homeassistant-stubs/components/text/__init__.pyi +10 -7
  992. homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
  993. homeassistant-stubs/components/tibber/sensor.pyi +5 -4
  994. homeassistant-stubs/components/tile/__init__.pyi +0 -1
  995. homeassistant-stubs/components/tile/config_flow.pyi +2 -2
  996. homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
  997. homeassistant-stubs/components/time/__init__.pyi +5 -3
  998. homeassistant-stubs/components/timer/__init__.pyi +7 -7
  999. homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
  1000. homeassistant-stubs/components/todo/__init__.pyi +2 -2
  1001. homeassistant-stubs/components/tolo/number.pyi +0 -1
  1002. homeassistant-stubs/components/tolo/select.pyi +0 -1
  1003. homeassistant-stubs/components/tolo/sensor.pyi +0 -1
  1004. homeassistant-stubs/components/tolo/switch.pyi +0 -1
  1005. homeassistant-stubs/components/tplink/binary_sensor.pyi +1 -2
  1006. homeassistant-stubs/components/tplink/button.pyi +1 -2
  1007. homeassistant-stubs/components/tplink/camera.pyi +3 -4
  1008. homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
  1009. homeassistant-stubs/components/tplink/deprecate.pyi +0 -1
  1010. homeassistant-stubs/components/tplink/entity.pyi +0 -2
  1011. homeassistant-stubs/components/tplink/models.pyi +0 -1
  1012. homeassistant-stubs/components/tplink/number.pyi +1 -2
  1013. homeassistant-stubs/components/tplink/select.pyi +1 -2
  1014. homeassistant-stubs/components/tplink/sensor.pyi +1 -2
  1015. homeassistant-stubs/components/tplink/siren.pyi +1 -1
  1016. homeassistant-stubs/components/tplink/switch.pyi +1 -2
  1017. homeassistant-stubs/components/tplink_omada/binary_sensor.pyi +0 -1
  1018. homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
  1019. homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
  1020. homeassistant-stubs/components/tplink_omada/sensor.pyi +0 -1
  1021. homeassistant-stubs/components/tplink_omada/switch.pyi +0 -4
  1022. homeassistant-stubs/components/trace/models.pyi +10 -9
  1023. homeassistant-stubs/components/tractive/__init__.pyi +2 -3
  1024. homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
  1025. homeassistant-stubs/components/tractive/sensor.pyi +0 -1
  1026. homeassistant-stubs/components/tractive/switch.pyi +0 -1
  1027. homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
  1028. homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
  1029. homeassistant-stubs/components/tradfri/entity.pyi +1 -1
  1030. homeassistant-stubs/components/tradfri/sensor.pyi +0 -1
  1031. homeassistant-stubs/components/trafikverket_camera/binary_sensor.pyi +0 -1
  1032. homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +0 -1
  1033. homeassistant-stubs/components/trafikverket_camera/sensor.pyi +0 -1
  1034. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
  1035. homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +0 -1
  1036. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -5
  1037. homeassistant-stubs/components/trafikverket_train/sensor.pyi +0 -1
  1038. homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +0 -1
  1039. homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
  1040. homeassistant-stubs/components/transmission/sensor.pyi +0 -1
  1041. homeassistant-stubs/components/transmission/switch.pyi +0 -1
  1042. homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
  1043. homeassistant-stubs/components/tts/__init__.pyi +10 -5
  1044. homeassistant-stubs/components/tts/models.pyi +0 -1
  1045. homeassistant-stubs/components/tts/notify.pyi +2 -2
  1046. homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
  1047. homeassistant-stubs/components/twentemilieu/sensor.pyi +0 -1
  1048. homeassistant-stubs/components/unifi/__init__.pyi +3 -3
  1049. homeassistant-stubs/components/unifi/button.pyi +0 -1
  1050. homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
  1051. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -1
  1052. homeassistant-stubs/components/unifi/entity.pyi +0 -1
  1053. homeassistant-stubs/components/unifi/hub/config.pyi +0 -1
  1054. homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
  1055. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
  1056. homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
  1057. homeassistant-stubs/components/unifi/image.pyi +0 -1
  1058. homeassistant-stubs/components/unifi/sensor.pyi +0 -1
  1059. homeassistant-stubs/components/unifi/switch.pyi +0 -1
  1060. homeassistant-stubs/components/unifi/update.pyi +0 -1
  1061. homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +2 -5
  1062. homeassistant-stubs/components/unifiprotect/button.pyi +0 -1
  1063. homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
  1064. homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
  1065. homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
  1066. homeassistant-stubs/components/unifiprotect/entity.pyi +0 -3
  1067. homeassistant-stubs/components/unifiprotect/event.pyi +0 -1
  1068. homeassistant-stubs/components/unifiprotect/number.pyi +0 -1
  1069. homeassistant-stubs/components/unifiprotect/select.pyi +0 -1
  1070. homeassistant-stubs/components/unifiprotect/sensor.pyi +1 -3
  1071. homeassistant-stubs/components/unifiprotect/switch.pyi +1 -2
  1072. homeassistant-stubs/components/unifiprotect/text.pyi +1 -2
  1073. homeassistant-stubs/components/upcloud/__init__.pyi +1 -2
  1074. homeassistant-stubs/components/update/__init__.pyi +15 -5
  1075. homeassistant-stubs/components/usb/__init__.pyi +7 -5
  1076. homeassistant-stubs/components/usb/models.pyi +0 -1
  1077. homeassistant-stubs/components/uvc/camera.pyi +2 -2
  1078. homeassistant-stubs/components/vacuum/__init__.pyi +9 -3
  1079. homeassistant-stubs/components/vallox/binary_sensor.pyi +0 -1
  1080. homeassistant-stubs/components/vallox/number.pyi +0 -1
  1081. homeassistant-stubs/components/vallox/sensor.pyi +0 -1
  1082. homeassistant-stubs/components/vallox/switch.pyi +0 -1
  1083. homeassistant-stubs/components/valve/__init__.pyi +0 -1
  1084. homeassistant-stubs/components/velbus/__init__.pyi +0 -1
  1085. homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
  1086. homeassistant-stubs/components/velbus/sensor.pyi +1 -1
  1087. homeassistant-stubs/components/vlc_telnet/__init__.pyi +0 -1
  1088. homeassistant-stubs/components/wake_word/models.pyi +0 -2
  1089. homeassistant-stubs/components/wallbox/number.pyi +0 -1
  1090. homeassistant-stubs/components/wallbox/sensor.pyi +0 -1
  1091. homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
  1092. homeassistant-stubs/components/waqi/sensor.pyi +0 -1
  1093. homeassistant-stubs/components/water_heater/__init__.pyi +11 -7
  1094. homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
  1095. homeassistant-stubs/components/weather/__init__.pyi +21 -4
  1096. homeassistant-stubs/components/webhook/trigger.pyi +0 -1
  1097. homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
  1098. homeassistant-stubs/components/webostv/media_player.pyi +1 -1
  1099. homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
  1100. homeassistant-stubs/components/websocket_api/http.pyi +9 -7
  1101. homeassistant-stubs/components/wemo/__init__.pyi +6 -6
  1102. homeassistant-stubs/components/wemo/coordinator.pyi +1 -2
  1103. homeassistant-stubs/components/wemo/models.pyi +0 -2
  1104. homeassistant-stubs/components/wemo/sensor.pyi +0 -1
  1105. homeassistant-stubs/components/whois/sensor.pyi +0 -1
  1106. homeassistant-stubs/components/withings/__init__.pyi +2 -3
  1107. homeassistant-stubs/components/withings/coordinator.pyi +2 -2
  1108. homeassistant-stubs/components/withings/sensor.pyi +0 -6
  1109. homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
  1110. homeassistant-stubs/components/wiz/models.pyi +0 -1
  1111. homeassistant-stubs/components/wiz/number.pyi +0 -1
  1112. homeassistant-stubs/components/wled/coordinator.pyi +1 -1
  1113. homeassistant-stubs/components/wled/number.pyi +0 -1
  1114. homeassistant-stubs/components/wled/sensor.pyi +0 -1
  1115. homeassistant-stubs/components/workday/repairs.pyi +3 -3
  1116. homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -4
  1117. homeassistant-stubs/components/xiaomi_ble/device_trigger.pyi +0 -1
  1118. homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
  1119. homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
  1120. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
  1121. homeassistant-stubs/components/yalexs_ble/models.pyi +0 -1
  1122. homeassistant-stubs/components/yalexs_ble/sensor.pyi +0 -1
  1123. homeassistant-stubs/components/youtube/sensor.pyi +0 -1
  1124. homeassistant-stubs/components/zeroconf/__init__.pyi +2 -3
  1125. homeassistant-stubs/components/zone/__init__.pyi +3 -3
  1126. homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
  1127. homeassistant-stubs/components/zwave_js/binary_sensor.pyi +0 -2
  1128. homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
  1129. homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
  1130. homeassistant-stubs/components/zwave_js/discovery.pyi +3 -7
  1131. homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +4 -14
  1132. homeassistant-stubs/components/zwave_js/event.pyi +1 -1
  1133. homeassistant-stubs/components/zwave_js/helpers.pyi +0 -2
  1134. homeassistant-stubs/components/zwave_js/humidifier.pyi +0 -1
  1135. homeassistant-stubs/components/zwave_js/light.pyi +8 -8
  1136. homeassistant-stubs/components/zwave_js/migrate.pyi +0 -1
  1137. homeassistant-stubs/components/zwave_js/number.pyi +1 -1
  1138. homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
  1139. homeassistant-stubs/components/zwave_js/sensor.pyi +0 -1
  1140. homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
  1141. homeassistant-stubs/components/zwave_js/update.pyi +8 -9
  1142. homeassistant-stubs/config.pyi +0 -3
  1143. homeassistant-stubs/config_entries.pyi +11 -8
  1144. homeassistant-stubs/core.pyi +50 -30
  1145. homeassistant-stubs/core_config.pyi +18 -18
  1146. homeassistant-stubs/data_entry_flow.pyi +6 -5
  1147. homeassistant-stubs/exceptions.pyi +0 -4
  1148. homeassistant-stubs/helpers/area_registry.pyi +7 -6
  1149. homeassistant-stubs/helpers/category_registry.pyi +5 -6
  1150. homeassistant-stubs/helpers/check_config.pyi +2 -3
  1151. homeassistant-stubs/helpers/collection.pyi +6 -8
  1152. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
  1153. homeassistant-stubs/helpers/debounce.pyi +3 -2
  1154. homeassistant-stubs/helpers/device_registry.pyi +9 -5
  1155. homeassistant-stubs/helpers/discovery_flow.pyi +1 -2
  1156. homeassistant-stubs/helpers/dispatcher.pyi +8 -8
  1157. homeassistant-stubs/helpers/entity.pyi +44 -18
  1158. homeassistant-stubs/helpers/entity_component.pyi +3 -3
  1159. homeassistant-stubs/helpers/entity_platform.pyi +12 -12
  1160. homeassistant-stubs/helpers/entity_registry.pyi +13 -6
  1161. homeassistant-stubs/helpers/entityfilter.pyi +1 -1
  1162. homeassistant-stubs/helpers/event.pyi +6 -15
  1163. homeassistant-stubs/helpers/floor_registry.pyi +0 -1
  1164. homeassistant-stubs/helpers/frame.pyi +4 -1
  1165. homeassistant-stubs/helpers/icon.pyi +2 -2
  1166. homeassistant-stubs/helpers/integration_platform.pyi +0 -1
  1167. homeassistant-stubs/helpers/intent.pyi +19 -21
  1168. homeassistant-stubs/helpers/issue_registry.pyi +1 -2
  1169. homeassistant-stubs/helpers/label_registry.pyi +0 -1
  1170. homeassistant-stubs/helpers/llm.pyi +0 -4
  1171. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +6 -8
  1172. homeassistant-stubs/helpers/ratelimit.pyi +4 -3
  1173. homeassistant-stubs/helpers/recorder.pyi +3 -4
  1174. homeassistant-stubs/helpers/restore_state.pyi +3 -3
  1175. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -3
  1176. homeassistant-stubs/helpers/script.pyi +16 -11
  1177. homeassistant-stubs/helpers/script_variables.pyi +1 -1
  1178. homeassistant-stubs/helpers/service.pyi +9 -10
  1179. homeassistant-stubs/helpers/service_info/hassio.pyi +0 -1
  1180. homeassistant-stubs/helpers/service_info/mqtt.pyi +0 -1
  1181. homeassistant-stubs/helpers/significant_change.pyi +1 -1
  1182. homeassistant-stubs/helpers/storage.pyi +12 -9
  1183. homeassistant-stubs/helpers/template.pyi +22 -18
  1184. homeassistant-stubs/helpers/trace.pyi +6 -6
  1185. homeassistant-stubs/helpers/translation.pyi +0 -1
  1186. homeassistant-stubs/helpers/trigger.pyi +3 -4
  1187. homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
  1188. homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
  1189. homeassistant-stubs/loader.pyi +23 -6
  1190. homeassistant-stubs/requirements.pyi +4 -3
  1191. homeassistant-stubs/runner.pyi +1 -2
  1192. homeassistant-stubs/util/aiohttp.pyi +2 -2
  1193. homeassistant-stubs/util/async_.pyi +1 -1
  1194. homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
  1195. homeassistant-stubs/util/language.pyi +0 -1
  1196. homeassistant-stubs/util/logging.pyi +7 -7
  1197. homeassistant-stubs/util/signal_type.pyi +1 -1
  1198. homeassistant-stubs/util/timeout.pyi +29 -30
  1199. homeassistant-stubs/util/yaml/loader.pyi +4 -1
  1200. homeassistant-stubs/util/yaml/objects.pyi +0 -1
  1201. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/METADATA +2 -2
  1202. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/RECORD +1204 -1204
  1203. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/WHEEL +0 -0
  1204. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/licenses/LICENSE +0 -0
@@ -36,13 +36,11 @@ class ConditionError(HomeAssistantError):
36
36
  def _indent(indent: int, message: str) -> str: ...
37
37
  def output(self, indent: int) -> Generator[str]: ...
38
38
  def __str__(self) -> str: ...
39
- def __init__(self, type) -> None: ...
40
39
 
41
40
  @dataclass(slots=True)
42
41
  class ConditionErrorMessage(ConditionError):
43
42
  message: str
44
43
  def output(self, indent: int) -> Generator[str]: ...
45
- def __init__(self, type, message) -> None: ...
46
44
 
47
45
  @dataclass(slots=True)
48
46
  class ConditionErrorIndex(ConditionError):
@@ -50,13 +48,11 @@ class ConditionErrorIndex(ConditionError):
50
48
  total: int
51
49
  error: ConditionError
52
50
  def output(self, indent: int) -> Generator[str]: ...
53
- def __init__(self, type, index, total, error) -> None: ...
54
51
 
55
52
  @dataclass(slots=True)
56
53
  class ConditionErrorContainer(ConditionError):
57
54
  errors: Sequence[ConditionError]
58
55
  def output(self, indent: int) -> Generator[str]: ...
59
- def __init__(self, type, errors) -> None: ...
60
56
 
61
57
  class IntegrationError(HomeAssistantError):
62
58
  def __str__(self) -> str: ...
@@ -6,11 +6,12 @@ from .storage import Store as Store
6
6
  from .typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType
7
7
  from _typeshed import Incomplete
8
8
  from collections.abc import Iterable
9
- from dataclasses import dataclass
9
+ from dataclasses import dataclass, field
10
10
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
11
11
  from homeassistant.util.dt import utc_from_timestamp as utc_from_timestamp, utcnow as utcnow
12
12
  from homeassistant.util.event_type import EventType as EventType
13
13
  from homeassistant.util.hass_dict import HassKey as HassKey
14
+ from propcache import cached_property as under_cached_property
14
15
  from typing import Any, Literal, TypedDict
15
16
 
16
17
  DATA_REGISTRY: HassKey[AreaRegistry]
@@ -43,18 +44,18 @@ class AreaEntry(NormalizedNameBaseRegistryEntry):
43
44
  floor_id: str | None
44
45
  icon: str | None
45
46
  id: str
46
- labels: set[str] = ...
47
+ labels: set[str] = field(default_factory=set)
47
48
  picture: str | None
48
- _cache: dict[str, Any] = ...
49
+ _cache: dict[str, Any] = field(default_factory=dict, compare=False, init=False)
50
+ @under_cached_property
49
51
  def json_fragment(self) -> json_fragment: ...
50
- def __init__(self, *, name, created_at=..., modified_at=..., aliases, floor_id, icon, id, labels=..., picture) -> None: ...
51
52
 
52
53
  class AreaRegistryStore(Store[AreasRegistryStoreData]):
53
54
  async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, list[dict[str, Any]]]) -> AreasRegistryStoreData: ...
54
55
 
55
56
  class AreaRegistryItems(NormalizedNameBaseRegistryItems[AreaEntry]):
56
- _labels_index: Incomplete
57
- _floors_index: Incomplete
57
+ _labels_index: RegistryIndexType
58
+ _floors_index: RegistryIndexType
58
59
  def __init__(self) -> None: ...
59
60
  def _index_entry(self, key: str, entry: AreaEntry) -> None: ...
60
61
  def _unindex_entry(self, key: str, replacement_entry: AreaEntry | None = None) -> None: ...
@@ -4,7 +4,7 @@ from .storage import Store as Store
4
4
  from .typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType
5
5
  from _typeshed import Incomplete
6
6
  from collections.abc import Iterable
7
- from dataclasses import dataclass
7
+ from dataclasses import dataclass, field
8
8
  from datetime import datetime
9
9
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
10
10
  from homeassistant.util.dt import utc_from_timestamp as utc_from_timestamp, utcnow as utcnow
@@ -37,19 +37,18 @@ type EventCategoryRegistryUpdated = Event[EventCategoryRegistryUpdatedData]
37
37
 
38
38
  @dataclass(slots=True, kw_only=True, frozen=True)
39
39
  class CategoryEntry:
40
- category_id: str = ...
41
- created_at: datetime = ...
40
+ category_id: str = field(default_factory=ulid_now)
41
+ created_at: datetime = field(default_factory=utcnow)
42
42
  icon: str | None = ...
43
- modified_at: datetime = ...
43
+ modified_at: datetime = field(default_factory=utcnow)
44
44
  name: str
45
- def __init__(self, *, category_id=..., created_at=..., icon=..., modified_at=..., name) -> None: ...
46
45
 
47
46
  class CategoryRegistryStore(Store[CategoryRegistryStoreData]):
48
47
  async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, dict[str, list[dict[str, Any]]]]) -> CategoryRegistryStoreData: ...
49
48
 
50
49
  class CategoryRegistry(BaseRegistry[CategoryRegistryStoreData]):
51
50
  hass: Incomplete
52
- categories: Incomplete
51
+ categories: dict[str, dict[str, CategoryEntry]]
53
52
  _store: Incomplete
54
53
  def __init__(self, hass: HomeAssistant) -> None: ...
55
54
  def async_get_category(self, *, scope: str, category_id: str) -> CategoryEntry | None: ...
@@ -1,5 +1,4 @@
1
1
  from .typing import ConfigType as ConfigType
2
- from _typeshed import Incomplete
3
2
  from collections import OrderedDict
4
3
  from homeassistant import loader as loader
5
4
  from homeassistant.config import CONF_PACKAGES as CONF_PACKAGES, YAML_CONFIG_FILE as YAML_CONFIG_FILE, config_per_platform as config_per_platform, extract_domain_configs as extract_domain_configs, format_homeassistant_error as format_homeassistant_error, format_schema_error as format_schema_error, load_yaml_config_file as load_yaml_config_file, merge_packages_config as merge_packages_config
@@ -15,8 +14,8 @@ class CheckConfigError(NamedTuple):
15
14
  config: ConfigType | None
16
15
 
17
16
  class HomeAssistantConfig(OrderedDict):
18
- errors: Incomplete
19
- warnings: Incomplete
17
+ errors: list[CheckConfigError]
18
+ warnings: list[CheckConfigError]
20
19
  def __init__(self) -> None: ...
21
20
  def add_error(self, message: str, domain: str | None = None, config: ConfigType | None = None) -> Self: ...
22
21
  @property
@@ -31,7 +31,6 @@ class CollectionChange:
31
31
  item_id: str
32
32
  item: Any
33
33
  item_hash: str | None = ...
34
- def __init__(self, change_type, item_id, item, item_hash=...) -> None: ...
35
34
  type ChangeListener = Callable[[str, str, dict], Awaitable[None]]
36
35
  type ChangeSetListener = Callable[[Iterable[CollectionChange]], Awaitable[None]]
37
36
 
@@ -42,7 +41,7 @@ class ItemNotFound(CollectionError):
42
41
  def __init__(self, item_id: str) -> None: ...
43
42
 
44
43
  class IDManager:
45
- collections: Incomplete
44
+ collections: list[dict[str, Any]]
46
45
  def __init__(self) -> None: ...
47
46
  def add_collection(self, collection: dict[str, Any]) -> None: ...
48
47
  def has_id(self, item_id: str) -> bool: ...
@@ -60,9 +59,9 @@ class CollectionEntity(Entity, metaclass=abc.ABCMeta):
60
59
 
61
60
  class ObservableCollection[_ItemT](ABC):
62
61
  id_manager: Incomplete
63
- data: Incomplete
64
- listeners: Incomplete
65
- change_set_listeners: Incomplete
62
+ data: dict[str, _ItemT]
63
+ listeners: list[ChangeListener]
64
+ change_set_listeners: list[ChangeSetListener]
66
65
  def __init__(self, id_manager: IDManager | None) -> None: ...
67
66
  def async_items(self) -> list[_ItemT]: ...
68
67
  def async_add_listener(self, listener: ChangeListener) -> Callable[[], None]: ...
@@ -136,7 +135,6 @@ class _CollectionLifeCycle(Generic[_EntityT]):
136
135
  async def _remove_entity(self, change_set: CollectionChange) -> None: ...
137
136
  async def _update_entity(self, change_set: CollectionChange) -> None: ...
138
137
  async def _collection_changed(self, change_set: Iterable[CollectionChange]) -> None: ...
139
- def __init__(self, domain, platform, entity_component, collection, entity_class, ent_reg, entities) -> None: ...
140
138
 
141
139
  def sync_entity_lifecycle(hass: HomeAssistant, domain: str, platform: str, entity_component: EntityComponent[_EntityT], collection: StorageCollection | YamlCollection, entity_class: type[CollectionEntity]) -> None: ...
142
140
 
@@ -146,8 +144,8 @@ class StorageCollectionWebsocket[_StorageCollectionT: StorageCollection]:
146
144
  model_name: Incomplete
147
145
  create_schema: Incomplete
148
146
  update_schema: Incomplete
149
- _remove_subscription: Incomplete
150
- _subscribers: Incomplete
147
+ _remove_subscription: CALLBACK_TYPE | None
148
+ _subscribers: set[tuple[websocket_api.ActiveConnection, int]]
151
149
  def __init__(self, storage_collection: _StorageCollectionT, api_prefix: str, model_name: str, create_schema: VolDictType, update_schema: VolDictType) -> None: ...
152
150
  @property
153
151
  def item_id_key(self) -> str: ...
@@ -63,8 +63,8 @@ class LocalOAuth2Implementation(AbstractOAuth2Implementation):
63
63
  class AbstractOAuth2FlowHandler(config_entries.ConfigFlow, metaclass=ABCMeta):
64
64
  DOMAIN: str
65
65
  VERSION: int
66
- external_data: Incomplete
67
- flow_impl: Incomplete
66
+ external_data: Any
67
+ flow_impl: AbstractOAuth2Implementation
68
68
  def __init__(self) -> None: ...
69
69
  @property
70
70
  @abstractmethod
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from _typeshed import Incomplete
2
3
  from collections.abc import Callable as Callable
3
4
  from homeassistant.core import HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
@@ -9,11 +10,11 @@ class Debouncer[_R_co]:
9
10
  _function: Incomplete
10
11
  cooldown: Incomplete
11
12
  immediate: Incomplete
12
- _timer_task: Incomplete
13
+ _timer_task: asyncio.TimerHandle | None
13
14
  _execute_at_end_of_timer: bool
14
15
  _execute_lock: Incomplete
15
16
  _background: Incomplete
16
- _job: Incomplete
17
+ _job: HassJob[[], _R_co] | None
17
18
  _shutdown_requested: bool
18
19
  def __init__(self, hass: HomeAssistant, logger: Logger, *, cooldown: float, immediate: bool, function: Callable[[], _R_co] | None = None, background: bool = False) -> None: ...
19
20
  @property
@@ -18,6 +18,7 @@ from homeassistant.util.dt import utc_from_timestamp as utc_from_timestamp, utcn
18
18
  from homeassistant.util.event_type import EventType as EventType
19
19
  from homeassistant.util.hass_dict import HassKey as HassKey
20
20
  from homeassistant.util.json import format_unserializable_data as format_unserializable_data
21
+ from propcache import cached_property as under_cached_property
21
22
  from typing import Any, Literal, TypedDict
22
23
  from yarl import URL
23
24
 
@@ -128,7 +129,9 @@ class DeviceEntry:
128
129
  def disabled(self) -> bool: ...
129
130
  @property
130
131
  def dict_repr(self) -> dict[str, Any]: ...
132
+ @under_cached_property
131
133
  def json_repr(self) -> bytes | None: ...
134
+ @under_cached_property
132
135
  def as_storage_fragment(self) -> json_fragment: ...
133
136
  def __init__(self, area_id, config_entries, configuration_url, connections, created_at, disabled_by, entry_type, hw_version, id, identifiers, labels, manufacturer, model, model_id, modified_at, name_by_user, name, primary_config_entry, serial_number, suggested_area, sw_version, via_device_id, is_new, cache) -> None: ...
134
137
  def __lt__(self, other): ...
@@ -146,6 +149,7 @@ class DeletedDeviceEntry:
146
149
  modified_at: datetime
147
150
  _cache: dict[str, Any]
148
151
  def to_device_entry(self, config_entry_id: str, connections: set[tuple[str, str]], identifiers: set[tuple[str, str]]) -> DeviceEntry: ...
152
+ @under_cached_property
149
153
  def as_storage_fragment(self) -> json_fragment: ...
150
154
  def __init__(self, config_entries, connections, identifiers, id, orphaned_timestamp, created_at, modified_at, cache) -> None: ...
151
155
  def __lt__(self, other): ...
@@ -159,17 +163,17 @@ class DeviceRegistryStore(storage.Store[dict[str, list[dict[str, Any]]]]):
159
163
  async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, list[dict[str, Any]]]) -> dict[str, Any]: ...
160
164
 
161
165
  class DeviceRegistryItems[_EntryTypeT: (DeviceEntry, DeletedDeviceEntry)](BaseRegistryItems[_EntryTypeT]):
162
- _connections: Incomplete
163
- _identifiers: Incomplete
166
+ _connections: dict[tuple[str, str], _EntryTypeT]
167
+ _identifiers: dict[tuple[str, str], _EntryTypeT]
164
168
  def __init__(self) -> None: ...
165
169
  def _index_entry(self, key: str, entry: _EntryTypeT) -> None: ...
166
170
  def _unindex_entry(self, key: str, replacement_entry: _EntryTypeT | None = None) -> None: ...
167
171
  def get_entry(self, identifiers: set[tuple[str, str]] | None, connections: set[tuple[str, str]] | None) -> _EntryTypeT | None: ...
168
172
 
169
173
  class ActiveDeviceRegistryItems(DeviceRegistryItems[DeviceEntry]):
170
- _area_id_index: Incomplete
171
- _config_entry_id_index: Incomplete
172
- _labels_index: Incomplete
174
+ _area_id_index: RegistryIndexType
175
+ _config_entry_id_index: RegistryIndexType
176
+ _labels_index: RegistryIndexType
173
177
  def __init__(self) -> None: ...
174
178
  def _index_entry(self, key: str, entry: DeviceEntry) -> None: ...
175
179
  def _unindex_entry(self, key: str, replacement_entry: DeviceEntry | None = None) -> None: ...
@@ -19,7 +19,6 @@ class DiscoveryKey:
19
19
  version: int
20
20
  @classmethod
21
21
  def from_json_dict(cls, json_dict: dict[str, Any]) -> Self: ...
22
- def __init__(self, *, domain, key, version) -> None: ...
23
22
 
24
23
  def async_create_flow(hass: HomeAssistant, domain: str, context: ConfigFlowContext, data: Any, *, discovery_key: DiscoveryKey | None = None) -> None: ...
25
24
  def _async_init_flow(hass: HomeAssistant, domain: str, context: ConfigFlowContext, data: Any) -> Coroutine[None, None, ConfigFlowResult] | None: ...
@@ -35,7 +34,7 @@ class PendingFlowValue(NamedTuple):
35
34
  class FlowDispatcher:
36
35
  hass: Incomplete
37
36
  started: bool
38
- pending_flows: Incomplete
37
+ pending_flows: dict[PendingFlowKey, list[PendingFlowValue]]
39
38
  def __init__(self, hass: HomeAssistant) -> None: ...
40
39
  def async_setup(self) -> None: ...
41
40
  async def _async_start(self, event: Event) -> None: ...
@@ -12,22 +12,22 @@ DATA_DISPATCHER: str
12
12
  type _DispatcherDataType[*_Ts] = dict[SignalType[*_Ts] | str, dict[Callable[[*_Ts], Any] | Callable[..., Any], HassJob[..., None | Coroutine[Any, Any, None]] | None]]
13
13
 
14
14
  @overload
15
- def dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[Unpack[_Ts]], target: Callable[[Unpack[_Ts]], None]) -> Callable[[], None]: ...
15
+ def dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], target: Callable[[*_Ts], None]) -> Callable[[], None]: ...
16
16
  @overload
17
17
  def dispatcher_connect(hass: HomeAssistant, signal: str, target: Callable[..., None]) -> Callable[[], None]: ...
18
- def _async_remove_dispatcher[*_Ts](dispatchers: _DispatcherDataType[Unpack[_Ts]], signal: SignalType[Unpack[_Ts]] | str, target: Callable[[Unpack[_Ts]], Any] | Callable[..., Any]) -> None: ...
18
+ def _async_remove_dispatcher[*_Ts](dispatchers: _DispatcherDataType[*_Ts], signal: SignalType[*_Ts] | str, target: Callable[[*_Ts], Any] | Callable[..., Any]) -> None: ...
19
19
  @overload
20
- def async_dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[Unpack[_Ts]], target: Callable[[Unpack[_Ts]], Any]) -> Callable[[], None]: ...
20
+ def async_dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], target: Callable[[*_Ts], Any]) -> Callable[[], None]: ...
21
21
  @overload
22
22
  def async_dispatcher_connect(hass: HomeAssistant, signal: str, target: Callable[..., Any]) -> Callable[[], None]: ...
23
23
  @overload
24
- def dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[Unpack[_Ts]], *args: Unpack[_Ts]) -> None: ...
24
+ def dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], *args: *_Ts) -> None: ...
25
25
  @overload
26
26
  def dispatcher_send(hass: HomeAssistant, signal: str, *args: Any) -> None: ...
27
- def _format_err[*_Ts](signal: SignalType[Unpack[_Ts]] | str, target: Callable[[Unpack[_Ts]], Any] | Callable[..., Any], *args: Any) -> str: ...
28
- def _generate_job[*_Ts](signal: SignalType[Unpack[_Ts]] | str, target: Callable[[Unpack[_Ts]], Any] | Callable[..., Any]) -> HassJob[..., Coroutine[Any, Any, None] | None]: ...
27
+ def _format_err[*_Ts](signal: SignalType[*_Ts] | str, target: Callable[[*_Ts], Any] | Callable[..., Any], *args: Any) -> str: ...
28
+ def _generate_job[*_Ts](signal: SignalType[*_Ts] | str, target: Callable[[*_Ts], Any] | Callable[..., Any]) -> HassJob[..., Coroutine[Any, Any, None] | None]: ...
29
29
  @overload
30
- def async_dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[Unpack[_Ts]], *args: Unpack[_Ts]) -> None: ...
30
+ def async_dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], *args: *_Ts) -> None: ...
31
31
  @overload
32
32
  def async_dispatcher_send(hass: HomeAssistant, signal: str, *args: Any) -> None: ...
33
- def async_dispatcher_send_internal[*_Ts](hass: HomeAssistant, signal: SignalType[Unpack[_Ts]] | str, *args: Unpack[_Ts]) -> None: ...
33
+ def async_dispatcher_send_internal[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts] | str, *args: *_Ts) -> None: ...
@@ -11,7 +11,7 @@ from _typeshed import Incomplete
11
11
  from abc import ABCMeta
12
12
  from collections import deque
13
13
  from collections.abc import Callable as Callable, Coroutine, Iterable, Mapping
14
- from enum import Enum
14
+ from enum import Enum, IntFlag
15
15
  from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, ATTR_ATTRIBUTION as ATTR_ATTRIBUTION, ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_ICON as ATTR_ICON, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, DEVICE_DEFAULT_NAME as DEVICE_DEFAULT_NAME, EntityCategory as EntityCategory, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
16
16
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, Event as Event, HassJobType as HassJobType, HomeAssistant as HomeAssistant, ReleaseChannel as ReleaseChannel, callback as callback, get_hassjob_callable_job_type as get_hassjob_callable_job_type, get_release_channel as get_release_channel
17
17
  from homeassistant.core_config import DATA_CUSTOMIZE as DATA_CUSTOMIZE
@@ -19,6 +19,7 @@ from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, I
19
19
  from homeassistant.loader import async_suggest_report_issue as async_suggest_report_issue, bind_hass as bind_hass
20
20
  from homeassistant.util import ensure_unique_string as ensure_unique_string, slugify as slugify
21
21
  from homeassistant.util.frozen_dataclass_compat import FrozenOrThawed as FrozenOrThawed
22
+ from propcache import cached_property
22
23
  from typing import Any, Final, Literal, NotRequired, TypedDict
23
24
 
24
25
  timer = time.time
@@ -57,26 +58,23 @@ _SENTINEL: Incomplete
57
58
 
58
59
  class EntityDescription(frozen_or_thawed=True, metaclass=FrozenOrThawed):
59
60
  key: str
60
- device_class: str | None
61
- entity_category: EntityCategory | None
62
- entity_registry_enabled_default: bool
63
- entity_registry_visible_default: bool
64
- force_update: bool
65
- icon: str | None
66
- has_entity_name: bool
67
- name: str | UndefinedType | None
68
- translation_key: str | None
69
- translation_placeholders: Mapping[str, str] | None
70
- unit_of_measurement: str | None
71
- 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: ...
72
- 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: ...
61
+ device_class: str | None = ...
62
+ entity_category: EntityCategory | None = ...
63
+ entity_registry_enabled_default: bool = ...
64
+ entity_registry_visible_default: bool = ...
65
+ force_update: bool = ...
66
+ icon: str | None = ...
67
+ has_entity_name: bool = ...
68
+ name: str | UndefinedType | None = ...
69
+ translation_key: str | None = ...
70
+ translation_placeholders: Mapping[str, str] | None = ...
71
+ unit_of_measurement: str | None = ...
73
72
 
74
73
  @dataclasses.dataclass(frozen=True, slots=True)
75
74
  class CalculatedState:
76
75
  state: str
77
76
  attributes: dict[str, Any]
78
77
  capability_attributes: Mapping[str, Any] | None
79
- def __init__(self, state, attributes, capability_attributes) -> None: ...
80
78
 
81
79
  class CachedProperties(type):
82
80
  def __new__(mcs, name: str, bases: tuple[type, ...], namespace: dict[Any, Any], cached_properties: set[str] | None = None, **kwargs: Any) -> Any: ...
@@ -140,40 +138,68 @@ class Entity(cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCached
140
138
  _attr_unit_of_measurement: str | None
141
139
  def __init_subclass__(cls, **kwargs: Any) -> None: ...
142
140
  def get_hassjob_type(self, function_name: str) -> HassJobType: ...
141
+ @cached_property
143
142
  def should_poll(self) -> bool: ...
143
+ @cached_property
144
144
  def unique_id(self) -> str | None: ...
145
+ @cached_property
145
146
  def use_device_name(self) -> bool: ...
147
+ @cached_property
146
148
  def has_entity_name(self) -> bool: ...
147
149
  def _device_class_name_helper(self, component_translations: dict[str, str]) -> str | None: ...
150
+ @cached_property
148
151
  def _object_id_device_class_name(self) -> str | None: ...
152
+ @cached_property
149
153
  def _device_class_name(self) -> str | None: ...
150
154
  def _default_to_device_class_name(self) -> bool: ...
155
+ @cached_property
151
156
  def _name_translation_key(self) -> str | None: ...
157
+ @cached_property
152
158
  def _unit_of_measurement_translation_key(self) -> str | None: ...
153
159
  def _substitute_name_placeholders(self, name: str) -> str: ...
154
160
  def _name_internal(self, device_class_name: str | None, platform_translations: dict[str, str]) -> str | UndefinedType | None: ...
155
161
  @property
156
162
  def suggested_object_id(self) -> str | None: ...
163
+ @cached_property
157
164
  def name(self) -> str | UndefinedType | None: ...
165
+ @cached_property
158
166
  def state(self) -> StateType: ...
167
+ @cached_property
159
168
  def capability_attributes(self) -> dict[str, Any] | None: ...
160
169
  def get_initial_entity_options(self) -> er.EntityOptionsType | None: ...
170
+ @cached_property
161
171
  def state_attributes(self) -> dict[str, Any] | None: ...
172
+ @cached_property
162
173
  def extra_state_attributes(self) -> Mapping[str, Any] | None: ...
174
+ @cached_property
163
175
  def device_info(self) -> DeviceInfo | None: ...
176
+ @cached_property
164
177
  def device_class(self) -> str | None: ...
178
+ @cached_property
165
179
  def unit_of_measurement(self) -> str | None: ...
180
+ @cached_property
166
181
  def icon(self) -> str | None: ...
182
+ @cached_property
167
183
  def entity_picture(self) -> str | None: ...
184
+ @cached_property
168
185
  def available(self) -> bool: ...
186
+ @cached_property
169
187
  def assumed_state(self) -> bool: ...
188
+ @cached_property
170
189
  def force_update(self) -> bool: ...
190
+ @cached_property
171
191
  def supported_features(self) -> int | None: ...
192
+ @cached_property
172
193
  def entity_registry_enabled_default(self) -> bool: ...
194
+ @cached_property
173
195
  def entity_registry_visible_default(self) -> bool: ...
196
+ @cached_property
174
197
  def attribution(self) -> str | None: ...
198
+ @cached_property
175
199
  def entity_category(self) -> EntityCategory | None: ...
200
+ @cached_property
176
201
  def translation_key(self) -> str | None: ...
202
+ @cached_property
177
203
  def translation_placeholders(self) -> Mapping[str, str]: ...
178
204
  @property
179
205
  def enabled(self) -> bool: ...
@@ -212,10 +238,9 @@ class Entity(cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCached
212
238
  def __repr__(self) -> str: ...
213
239
  async def async_request_call[_T](self, coro: Coroutine[Any, Any, _T]) -> _T: ...
214
240
  def _suggest_report_issue(self) -> str: ...
241
+ def _report_deprecated_supported_features_values(self, replacement: IntFlag) -> None: ...
215
242
 
216
- class ToggleEntityDescription(EntityDescription, frozen_or_thawed=True):
217
- 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: ...
218
- 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: ...
243
+ class ToggleEntityDescription(EntityDescription, frozen_or_thawed=True): ...
219
244
 
220
245
  TOGGLE_ENTITY_CACHED_PROPERTIES_WITH_ATTR_: Incomplete
221
246
 
@@ -225,6 +250,7 @@ class ToggleEntity(Entity, cached_properties=TOGGLE_ENTITY_CACHED_PROPERTIES_WIT
225
250
  _attr_state: None
226
251
  @property
227
252
  def state(self) -> Literal['on', 'off'] | None: ...
253
+ @cached_property
228
254
  def is_on(self) -> bool | None: ...
229
255
  def turn_on(self, **kwargs: Any) -> None: ...
230
256
  async def async_turn_on(self, **kwargs: Any) -> None: ...
@@ -26,11 +26,11 @@ class EntityComponent(Generic[_EntityT]):
26
26
  hass: Incomplete
27
27
  domain: Incomplete
28
28
  scan_interval: Incomplete
29
- config: Incomplete
30
- _platforms: Incomplete
29
+ config: ConfigType | None
30
+ _platforms: dict[str | tuple[str, timedelta | None, str | None], EntityPlatform]
31
31
  async_add_entities: Incomplete
32
32
  add_entities: Incomplete
33
- _entities: Incomplete
33
+ _entities: dict[str, entity.Entity]
34
34
  def __init__(self, logger: logging.Logger, domain: str, hass: HomeAssistant, scan_interval: timedelta = ...) -> None: ...
35
35
  @property
36
36
  def entities(self) -> Iterable[_EntityT]: ...
@@ -48,19 +48,19 @@ class EntityPlatform:
48
48
  scan_interval: Incomplete
49
49
  scan_interval_seconds: Incomplete
50
50
  entity_namespace: Incomplete
51
- config_entry: Incomplete
52
- entities: Incomplete
53
- component_translations: Incomplete
54
- platform_translations: Incomplete
55
- object_id_component_translations: Incomplete
56
- object_id_platform_translations: Incomplete
57
- default_language_platform_translations: Incomplete
58
- _tasks: Incomplete
51
+ config_entry: config_entries.ConfigEntry | None
52
+ entities: dict[str, Entity]
53
+ component_translations: dict[str, str]
54
+ platform_translations: dict[str, str]
55
+ object_id_component_translations: dict[str, str]
56
+ object_id_platform_translations: dict[str, str]
57
+ default_language_platform_translations: dict[str, str]
58
+ _tasks: list[asyncio.Task[None]]
59
59
  _setup_complete: bool
60
- _async_polling_timer: Incomplete
61
- _async_cancel_retry_setup: Incomplete
62
- _process_updates: Incomplete
63
- parallel_updates: Incomplete
60
+ _async_polling_timer: asyncio.TimerHandle | None
61
+ _async_cancel_retry_setup: CALLBACK_TYPE | None
62
+ _process_updates: asyncio.Lock | None
63
+ parallel_updates: asyncio.Semaphore | None
64
64
  _update_in_sequence: bool
65
65
  parallel_updates_created: Incomplete
66
66
  domain_entities: Incomplete
@@ -19,6 +19,7 @@ from homeassistant.util.event_type import EventType as EventType
19
19
  from homeassistant.util.hass_dict import HassKey as HassKey
20
20
  from homeassistant.util.json import format_unserializable_data as format_unserializable_data
21
21
  from homeassistant.util.read_only_dict import ReadOnlyDict as ReadOnlyDict
22
+ from propcache import cached_property as under_cached_property
22
23
  from typing import Any, Literal, NotRequired, TypedDict
23
24
 
24
25
  DATA_REGISTRY: HassKey[EntityRegistry]
@@ -99,10 +100,15 @@ class RegistryEntry:
99
100
  def hidden(self) -> bool: ...
100
101
  @property
101
102
  def _as_display_dict(self) -> dict[str, Any] | None: ...
103
+ @under_cached_property
102
104
  def display_json_repr(self) -> bytes | None: ...
105
+ @under_cached_property
103
106
  def as_partial_dict(self) -> dict[str, Any]: ...
107
+ @under_cached_property
104
108
  def extended_dict(self) -> dict[str, Any]: ...
109
+ @under_cached_property
105
110
  def partial_json_repr(self) -> bytes | None: ...
111
+ @under_cached_property
106
112
  def as_storage_fragment(self) -> json_fragment: ...
107
113
  def write_unavailable_state(self, hass: HomeAssistant) -> None: ...
108
114
  def __init__(self, entity_id, unique_id, platform, previous_unique_id, aliases, area_id, categories, capabilities, config_entry_id, created_at, device_class, device_id, domain, disabled_by, entity_category, hidden_by, icon, id, has_entity_name, labels, modified_at, name, options, original_device_class, original_icon, original_name, supported_features, translation_key, unit_of_measurement, cache) -> None: ...
@@ -123,6 +129,7 @@ class DeletedRegistryEntry:
123
129
  modified_at: datetime
124
130
  _cache: dict[str, Any]
125
131
  def _domain_default(self) -> str: ...
132
+ @under_cached_property
126
133
  def as_storage_fragment(self) -> json_fragment: ...
127
134
  def __init__(self, entity_id, unique_id, platform, config_entry_id, domain, id, orphaned_timestamp, created_at, modified_at, cache) -> None: ...
128
135
  def __lt__(self, other): ...
@@ -134,12 +141,12 @@ class EntityRegistryStore(storage.Store[dict[str, list[dict[str, Any]]]]):
134
141
  async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, list[dict[str, Any]]]) -> dict: ...
135
142
 
136
143
  class EntityRegistryItems(BaseRegistryItems[RegistryEntry]):
137
- _entry_ids: Incomplete
138
- _index: Incomplete
139
- _config_entry_id_index: Incomplete
140
- _device_id_index: Incomplete
141
- _area_id_index: Incomplete
142
- _labels_index: Incomplete
144
+ _entry_ids: dict[str, RegistryEntry]
145
+ _index: dict[tuple[str, str, str], str]
146
+ _config_entry_id_index: RegistryIndexType
147
+ _device_id_index: RegistryIndexType
148
+ _area_id_index: RegistryIndexType
149
+ _labels_index: RegistryIndexType
143
150
  def __init__(self) -> None: ...
144
151
  def _index_entry(self, key: str, entry: RegistryEntry) -> None: ...
145
152
  def _unindex_entry(self, key: str, replacement_entry: RegistryEntry | None = None) -> None: ...
@@ -13,7 +13,7 @@ CONF_EXCLUDE_ENTITIES: str
13
13
  CONF_ENTITY_GLOBS: str
14
14
 
15
15
  class EntityFilter:
16
- empty_filter: Incomplete
16
+ empty_filter: bool
17
17
  config: Incomplete
18
18
  _include_e: Incomplete
19
19
  _exclude_e: Incomplete
@@ -41,34 +41,29 @@ class _KeyedEventTracker(Generic[_TypedDictT]):
41
41
  event_type: EventType[_TypedDictT] | str
42
42
  dispatcher_callable: Callable[[HomeAssistant, dict[str, list[HassJob[[Event[_TypedDictT]], Any]]], Event[_TypedDictT]], None]
43
43
  filter_callable: Callable[[HomeAssistant, dict[str, list[HassJob[[Event[_TypedDictT]], Any]]], _TypedDictT], bool]
44
- def __init__(self, key, event_type, dispatcher_callable, filter_callable) -> None: ...
45
44
 
46
45
  @dataclass(slots=True, frozen=True)
47
46
  class _KeyedEventData(Generic[_TypedDictT]):
48
47
  listener: CALLBACK_TYPE
49
48
  callbacks: defaultdict[str, list[HassJob[[Event[_TypedDictT]], Any]]]
50
- def __init__(self, listener, callbacks) -> None: ...
51
49
 
52
50
  @dataclass(slots=True)
53
51
  class TrackStates:
54
52
  all_states: bool
55
53
  entities: set[str]
56
54
  domains: set[str]
57
- def __init__(self, all_states, entities, domains) -> None: ...
58
55
 
59
56
  @dataclass(slots=True)
60
57
  class TrackTemplate:
61
58
  template: Template
62
59
  variables: TemplateVarsType
63
60
  rate_limit: float | None = ...
64
- def __init__(self, template, variables, rate_limit=...) -> None: ...
65
61
 
66
62
  @dataclass(slots=True)
67
63
  class TrackTemplateResult:
68
64
  template: Template
69
65
  last_result: Any
70
66
  result: Any
71
- def __init__(self, template, last_result, result) -> None: ...
72
67
 
73
68
  def threaded_listener_factory[**_P](async_factory: Callable[Concatenate[HomeAssistant, _P], Any]) -> Callable[Concatenate[HomeAssistant, _P], CALLBACK_TYPE]: ...
74
69
  def async_track_state_change(hass: HomeAssistant, entity_ids: str | Iterable[str], action: Callable[[str, State | None, State | None], Coroutine[Any, Any, None] | None], from_state: str | Iterable[str] | None = None, to_state: str | Iterable[str] | None = None) -> CALLBACK_TYPE: ...
@@ -120,8 +115,8 @@ class _TrackStateChangeFiltered:
120
115
  hass: Incomplete
121
116
  _action: Incomplete
122
117
  _action_as_hassjob: Incomplete
123
- _listeners: Incomplete
124
- _last_track_states: Incomplete
118
+ _listeners: dict[str, Callable[[], None]]
119
+ _last_track_states: TrackStates
125
120
  def __init__(self, hass: HomeAssistant, track_states: TrackStates, action: Callable[[Event[EventStateChangedData]], Any]) -> None: ...
126
121
  def async_setup(self) -> None: ...
127
122
  @property
@@ -144,11 +139,11 @@ class TrackTemplateResultInfo:
144
139
  _job: Incomplete
145
140
  _track_templates: Incomplete
146
141
  _has_super_template: Incomplete
147
- _last_result: Incomplete
142
+ _last_result: dict[Template, bool | str | TemplateError]
148
143
  _rate_limit: Incomplete
149
- _info: Incomplete
150
- _track_state_changes: Incomplete
151
- _time_listeners: Incomplete
144
+ _info: dict[Template, RenderInfo]
145
+ _track_state_changes: _TrackStateChangeFiltered | None
146
+ _time_listeners: dict[Template, Callable[[], None]]
152
147
  def __init__(self, hass: HomeAssistant, track_templates: Sequence[TrackTemplate], action: TrackTemplateResultListener, has_super_template: bool = False) -> None: ...
153
148
  def __repr__(self) -> str: ...
154
149
  def async_setup(self, strict: bool = False, log_fn: Callable[[int, str], None] | None = None) -> None: ...
@@ -184,7 +179,6 @@ class _TrackPointUTCTime:
184
179
  def async_attach(self) -> None: ...
185
180
  def __call__(self) -> None: ...
186
181
  def async_cancel(self) -> None: ...
187
- def __init__(self, hass, job, utc_point_in_time, expected_fire_timestamp, _cancel_callback=...) -> None: ...
188
182
 
189
183
  def async_track_point_in_utc_time(hass: HomeAssistant, action: HassJob[[datetime], Coroutine[Any, Any, None] | None] | Callable[[datetime], Coroutine[Any, Any, None] | None], point_in_time: datetime) -> CALLBACK_TYPE: ...
190
184
 
@@ -210,7 +204,6 @@ class _TrackTimeInterval:
210
204
  def _schedule_timer(self) -> None: ...
211
205
  def _interval_listener(self, _: Any) -> None: ...
212
206
  def async_cancel(self) -> None: ...
213
- def __init__(self, hass, seconds, job_name, action, cancel_on_shutdown, _track_job=..., _run_job=..., _timer_handle=...) -> None: ...
214
207
 
215
208
  def async_track_time_interval(hass: HomeAssistant, action: Callable[[datetime], Coroutine[Any, Any, None] | None], interval: timedelta, *, name: str | None = None, cancel_on_shutdown: bool | None = None) -> CALLBACK_TYPE: ...
216
209
 
@@ -229,7 +222,6 @@ class SunListener:
229
222
  def _listen_next_sun_event(self) -> None: ...
230
223
  def _handle_sun_event(self, _now: Any) -> None: ...
231
224
  def _handle_config_event(self, _event: Any) -> None: ...
232
- def __init__(self, hass, job, event, offset, _unsub_sun=..., _unsub_config=...) -> None: ...
233
225
 
234
226
  def async_track_sunrise(hass: HomeAssistant, action: Callable[[], None], offset: timedelta | None = None) -> CALLBACK_TYPE: ...
235
227
 
@@ -255,7 +247,6 @@ class _TrackUTCTimeChange:
255
247
  def _calculate_next(self, utc_now: datetime) -> datetime: ...
256
248
  def _pattern_time_change_listener(self, _: datetime) -> None: ...
257
249
  def async_cancel(self) -> None: ...
258
- def __init__(self, hass, time_match_expression, microsecond, local, job, listener_job_name, _pattern_time_change_listener_job=..., _cancel_callback=...) -> None: ...
259
250
 
260
251
  def async_track_utc_time_change(hass: HomeAssistant, action: Callable[[datetime], Coroutine[Any, Any, None] | None], hour: Any | None = None, minute: Any | None = None, second: Any | None = None, local: bool = False) -> CALLBACK_TYPE: ...
261
252