homeassistant-stubs 2025.1.0b8__py3-none-any.whl → 2025.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (646) hide show
  1. homeassistant-stubs/auth/__init__.pyi +2 -2
  2. homeassistant-stubs/auth/auth_store.pyi +4 -4
  3. homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
  4. homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
  5. homeassistant-stubs/auth/models.pyi +3 -0
  6. homeassistant-stubs/auth/providers/__init__.pyi +4 -4
  7. homeassistant-stubs/auth/providers/command_line.pyi +1 -1
  8. homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
  9. homeassistant-stubs/bootstrap.pyi +2 -1
  10. homeassistant-stubs/components/abode/camera.pyi +2 -1
  11. homeassistant-stubs/components/abode/config_flow.pyi +3 -3
  12. homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
  13. homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
  14. homeassistant-stubs/components/acmeda/hub.pyi +4 -3
  15. homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
  16. homeassistant-stubs/components/aftership/sensor.pyi +2 -2
  17. homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
  18. homeassistant-stubs/components/airgradient/update.pyi +2 -0
  19. homeassistant-stubs/components/airq/sensor.pyi +1 -1
  20. homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
  21. homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
  22. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
  23. homeassistant-stubs/components/alert/entity.pyi +1 -1
  24. homeassistant-stubs/components/alexa/auth.pyi +3 -2
  25. homeassistant-stubs/components/alexa/config.pyi +3 -3
  26. homeassistant-stubs/components/alexa/intent.pyi +5 -5
  27. homeassistant-stubs/components/alexa/resources.pyi +5 -5
  28. homeassistant-stubs/components/alexa/state_report.pyi +6 -6
  29. homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
  30. homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
  31. homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
  32. homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
  33. homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
  34. homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
  35. homeassistant-stubs/components/amcrest/camera.pyi +9 -8
  36. homeassistant-stubs/components/analytics/analytics.pyi +1 -1
  37. homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
  38. homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
  39. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
  40. homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
  41. homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
  42. homeassistant-stubs/components/anova/coordinator.pyi +1 -1
  43. homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
  44. homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
  45. homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
  46. homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
  47. homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
  48. homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
  49. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
  50. homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
  51. homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
  52. homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
  53. homeassistant-stubs/components/asuswrt/router.pyi +8 -8
  54. homeassistant-stubs/components/auth/indieauth.pyi +1 -1
  55. homeassistant-stubs/components/automation/__init__.pyi +15 -1
  56. homeassistant-stubs/components/automation/trace.pyi +1 -2
  57. homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
  58. homeassistant-stubs/components/axis/config_flow.pyi +2 -2
  59. homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
  60. homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
  61. homeassistant-stubs/components/backup/agent.pyi +2 -0
  62. homeassistant-stubs/components/backup/backup.pyi +1 -1
  63. homeassistant-stubs/components/backup/manager.pyi +11 -11
  64. homeassistant-stubs/components/backup/store.pyi +1 -1
  65. homeassistant-stubs/components/baf/config_flow.pyi +1 -1
  66. homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
  67. homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
  68. homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
  69. homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
  70. homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
  71. homeassistant-stubs/components/blueprint/models.pyi +1 -1
  72. homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
  73. homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
  74. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
  75. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
  76. homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
  77. homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
  78. homeassistant-stubs/components/bluetooth/match.pyi +13 -11
  79. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
  80. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
  81. homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
  82. homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
  83. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
  84. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
  85. homeassistant-stubs/components/bond/config_flow.pyi +1 -1
  86. homeassistant-stubs/components/bond/entity.pyi +1 -1
  87. homeassistant-stubs/components/bond/fan.pyi +3 -3
  88. homeassistant-stubs/components/bond/utils.pyi +5 -5
  89. homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
  90. homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
  91. homeassistant-stubs/components/brother/config_flow.pyi +3 -2
  92. homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
  93. homeassistant-stubs/components/button/__init__.pyi +4 -2
  94. homeassistant-stubs/components/calendar/__init__.pyi +0 -1
  95. homeassistant-stubs/components/calendar/trigger.pyi +3 -3
  96. homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
  97. homeassistant-stubs/components/camera/__init__.pyi +24 -9
  98. homeassistant-stubs/components/camera/prefs.pyi +1 -1
  99. homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
  100. homeassistant-stubs/components/canary/camera.pyi +3 -3
  101. homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
  102. homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
  103. homeassistant-stubs/components/clickatell/notify.pyi +2 -2
  104. homeassistant-stubs/components/clicksend/notify.pyi +4 -4
  105. homeassistant-stubs/components/climate/__init__.pyi +26 -1
  106. homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
  107. homeassistant-stubs/components/cloud/backup.pyi +1 -0
  108. homeassistant-stubs/components/cloud/client.pyi +4 -4
  109. homeassistant-stubs/components/cloud/prefs.pyi +2 -2
  110. homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
  111. homeassistant-stubs/components/command_line/cover.pyi +3 -2
  112. homeassistant-stubs/components/command_line/sensor.pyi +4 -3
  113. homeassistant-stubs/components/command_line/switch.pyi +2 -1
  114. homeassistant-stubs/components/configurator/__init__.pyi +1 -1
  115. homeassistant-stubs/components/counter/__init__.pyi +2 -2
  116. homeassistant-stubs/components/cover/__init__.pyi +8 -2
  117. homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
  118. homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
  119. homeassistant-stubs/components/date/__init__.pyi +4 -1
  120. homeassistant-stubs/components/datetime/__init__.pyi +4 -1
  121. homeassistant-stubs/components/deconz/button.pyi +1 -1
  122. homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
  123. homeassistant-stubs/components/deconz/entity.pyi +1 -1
  124. homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
  125. homeassistant-stubs/components/deconz/light.pyi +2 -2
  126. homeassistant-stubs/components/demo/cover.pyi +4 -4
  127. homeassistant-stubs/components/demo/fan.pyi +4 -4
  128. homeassistant-stubs/components/demo/geo_location.pyi +1 -1
  129. homeassistant-stubs/components/demo/media_player.pyi +2 -2
  130. homeassistant-stubs/components/demo/remote.pyi +1 -1
  131. homeassistant-stubs/components/demo/vacuum.pyi +1 -1
  132. homeassistant-stubs/components/derivative/sensor.pyi +3 -2
  133. homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
  134. homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
  135. homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
  136. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
  137. homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
  138. homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
  139. homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
  140. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
  141. homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
  142. homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
  143. homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
  144. homeassistant-stubs/components/doorbird/camera.pyi +1 -1
  145. homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
  146. homeassistant-stubs/components/doorbird/device.pyi +9 -3
  147. homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
  148. homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
  149. homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
  150. homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
  151. homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
  152. homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
  153. homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
  154. homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
  155. homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
  156. homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
  157. homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
  158. homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
  159. homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
  160. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
  161. homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
  162. homeassistant-stubs/components/elkm1/entity.pyi +1 -1
  163. homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
  164. homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
  165. homeassistant-stubs/components/energy/data.pyi +2 -2
  166. homeassistant-stubs/components/energy/sensor.pyi +3 -3
  167. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
  168. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
  169. homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
  170. homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
  171. homeassistant-stubs/components/esphome/camera.pyi +2 -1
  172. homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
  173. homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
  174. homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
  175. homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
  176. homeassistant-stubs/components/esphome/entity.pyi +1 -1
  177. homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
  178. homeassistant-stubs/components/esphome/manager.pyi +3 -3
  179. homeassistant-stubs/components/esphome/select.pyi +1 -1
  180. homeassistant-stubs/components/event/__init__.pyi +5 -3
  181. homeassistant-stubs/components/evohome/__init__.pyi +7 -5
  182. homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
  183. homeassistant-stubs/components/evohome/entity.pyi +3 -3
  184. homeassistant-stubs/components/fan/__init__.pyi +8 -1
  185. homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
  186. homeassistant-stubs/components/filter/sensor.pyi +7 -6
  187. homeassistant-stubs/components/fitbit/api.pyi +1 -1
  188. homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
  189. homeassistant-stubs/components/flux_led/entity.pyi +2 -2
  190. homeassistant-stubs/components/flux_led/number.pyi +4 -2
  191. homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
  192. homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
  193. homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
  194. homeassistant-stubs/components/fritz/entity.pyi +3 -4
  195. homeassistant-stubs/components/fritz/image.pyi +1 -1
  196. homeassistant-stubs/components/fritz/switch.pyi +1 -1
  197. homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
  198. homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
  199. homeassistant-stubs/components/fritzbox/light.pyi +1 -1
  200. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
  201. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
  202. homeassistant-stubs/components/fronius/__init__.pyi +8 -8
  203. homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
  204. homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
  205. homeassistant-stubs/components/frontend/__init__.pyi +4 -1
  206. homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
  207. homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
  208. homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
  209. homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
  210. homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
  211. homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
  212. homeassistant-stubs/components/glances/coordinator.pyi +1 -1
  213. homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
  214. homeassistant-stubs/components/go2rtc/server.pyi +5 -4
  215. homeassistant-stubs/components/google/api.pyi +5 -5
  216. homeassistant-stubs/components/google/calendar.pyi +1 -1
  217. homeassistant-stubs/components/google/config_flow.pyi +1 -1
  218. homeassistant-stubs/components/google/coordinator.pyi +1 -1
  219. homeassistant-stubs/components/google/store.pyi +1 -1
  220. homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
  221. homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
  222. homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
  223. homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
  224. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
  225. homeassistant-stubs/components/group/cover.pyi +2 -2
  226. homeassistant-stubs/components/group/entity.pyi +5 -5
  227. homeassistant-stubs/components/group/fan.pyi +2 -2
  228. homeassistant-stubs/components/group/media_player.pyi +1 -1
  229. homeassistant-stubs/components/group/registry.pyi +4 -4
  230. homeassistant-stubs/components/group/sensor.pyi +4 -4
  231. homeassistant-stubs/components/guardian/__init__.pyi +2 -2
  232. homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
  233. homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
  234. homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
  235. homeassistant-stubs/components/history_stats/data.pyi +2 -2
  236. homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
  237. homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
  238. homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
  239. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
  240. homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
  241. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
  242. homeassistant-stubs/components/homekit/__init__.pyi +7 -6
  243. homeassistant-stubs/components/homekit/accessories.pyi +2 -2
  244. homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
  245. homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
  246. homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
  247. homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
  248. homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
  249. homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
  250. homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
  251. homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
  252. homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
  253. homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
  254. homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
  255. homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
  256. homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
  257. homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
  258. homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
  259. homeassistant-stubs/components/http/__init__.pyi +3 -3
  260. homeassistant-stubs/components/http/ban.pyi +1 -1
  261. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
  262. homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
  263. homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
  264. homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
  265. homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
  266. homeassistant-stubs/components/hyperion/camera.pyi +1 -1
  267. homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
  268. homeassistant-stubs/components/hyperion/light.pyi +6 -6
  269. homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
  270. homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
  271. homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
  272. homeassistant-stubs/components/image/__init__.pyi +6 -2
  273. homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
  274. homeassistant-stubs/components/imap/coordinator.pyi +8 -7
  275. homeassistant-stubs/components/integration/sensor.pyi +7 -7
  276. homeassistant-stubs/components/intent/timers.pyi +6 -3
  277. homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
  278. homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
  279. homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
  280. homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
  281. homeassistant-stubs/components/isy994/button.pyi +1 -1
  282. homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
  283. homeassistant-stubs/components/isy994/entity.pyi +5 -5
  284. homeassistant-stubs/components/isy994/light.pyi +1 -1
  285. homeassistant-stubs/components/isy994/number.pyi +2 -2
  286. homeassistant-stubs/components/isy994/select.pyi +1 -1
  287. homeassistant-stubs/components/isy994/sensor.pyi +2 -2
  288. homeassistant-stubs/components/isy994/switch.pyi +1 -1
  289. homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
  290. homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
  291. homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
  292. homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
  293. homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
  294. homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
  295. homeassistant-stubs/components/knx/__init__.pyi +7 -6
  296. homeassistant-stubs/components/knx/climate.pyi +3 -3
  297. homeassistant-stubs/components/knx/config_flow.pyi +10 -9
  298. homeassistant-stubs/components/knx/cover.pyi +1 -1
  299. homeassistant-stubs/components/knx/device.pyi +1 -1
  300. homeassistant-stubs/components/knx/expose.pyi +7 -6
  301. homeassistant-stubs/components/knx/fan.pyi +1 -1
  302. homeassistant-stubs/components/knx/light.pyi +6 -4
  303. homeassistant-stubs/components/knx/select.pyi +1 -1
  304. homeassistant-stubs/components/knx/sensor.pyi +1 -1
  305. homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
  306. homeassistant-stubs/components/knx/telegrams.pyi +3 -2
  307. homeassistant-stubs/components/kraken/__init__.pyi +2 -2
  308. homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
  309. homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
  310. homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
  311. homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
  312. homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
  313. homeassistant-stubs/components/lcn/entity.pyi +3 -3
  314. homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
  315. homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
  316. homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
  317. homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
  318. homeassistant-stubs/components/lifx/__init__.pyi +1 -1
  319. homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
  320. homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
  321. homeassistant-stubs/components/lifx/light.pyi +3 -2
  322. homeassistant-stubs/components/lifx/manager.pyi +1 -1
  323. homeassistant-stubs/components/light/__init__.pyi +19 -2
  324. homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
  325. homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
  326. homeassistant-stubs/components/lock/__init__.pyi +10 -1
  327. homeassistant-stubs/components/logbook/models.pyi +7 -0
  328. homeassistant-stubs/components/logbook/processor.pyi +3 -3
  329. homeassistant-stubs/components/logger/helpers.pyi +1 -1
  330. homeassistant-stubs/components/lookin/__init__.pyi +2 -2
  331. homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
  332. homeassistant-stubs/components/lookin/entity.pyi +2 -2
  333. homeassistant-stubs/components/lookin/media_player.pyi +1 -1
  334. homeassistant-stubs/components/madvr/sensor.pyi +1 -1
  335. homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
  336. homeassistant-stubs/components/matrix/__init__.pyi +4 -4
  337. homeassistant-stubs/components/matter/adapter.pyi +2 -2
  338. homeassistant-stubs/components/matter/climate.pyi +1 -1
  339. homeassistant-stubs/components/matter/config_flow.pyi +4 -3
  340. homeassistant-stubs/components/matter/entity.pyi +4 -2
  341. homeassistant-stubs/components/media_player/__init__.pyi +37 -3
  342. homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
  343. homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
  344. homeassistant-stubs/components/mikrotik/device.pyi +3 -3
  345. homeassistant-stubs/components/min_max/sensor.pyi +11 -11
  346. homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
  347. homeassistant-stubs/components/modbus/climate.pyi +4 -4
  348. homeassistant-stubs/components/modbus/entity.pyi +5 -5
  349. homeassistant-stubs/components/modbus/modbus.pyi +4 -3
  350. homeassistant-stubs/components/modbus/sensor.pyi +1 -1
  351. homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
  352. homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
  353. homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
  354. homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
  355. homeassistant-stubs/components/motionmount/select.pyi +1 -1
  356. homeassistant-stubs/components/mqtt/client.pyi +13 -12
  357. homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
  358. homeassistant-stubs/components/mqtt/entity.pyi +10 -10
  359. homeassistant-stubs/components/mqtt/models.pyi +3 -3
  360. homeassistant-stubs/components/mqtt/tag.pyi +1 -1
  361. homeassistant-stubs/components/mqtt/util.pyi +2 -2
  362. homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
  363. homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
  364. homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
  365. homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
  366. homeassistant-stubs/components/mysensors/entity.pyi +7 -7
  367. homeassistant-stubs/components/mysensors/light.pyi +1 -1
  368. homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
  369. homeassistant-stubs/components/neato/camera.pyi +4 -4
  370. homeassistant-stubs/components/neato/entity.pyi +1 -1
  371. homeassistant-stubs/components/neato/hub.pyi +1 -1
  372. homeassistant-stubs/components/neato/sensor.pyi +3 -2
  373. homeassistant-stubs/components/neato/switch.pyi +2 -2
  374. homeassistant-stubs/components/neato/vacuum.pyi +18 -18
  375. homeassistant-stubs/components/nest/camera.pyi +4 -4
  376. homeassistant-stubs/components/nest/config_flow.pyi +5 -5
  377. homeassistant-stubs/components/nest/media_source.pyi +2 -2
  378. homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
  379. homeassistant-stubs/components/netatmo/entity.pyi +2 -1
  380. homeassistant-stubs/components/network/network.pyi +2 -2
  381. homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
  382. homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
  383. homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
  384. homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
  385. homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
  386. homeassistant-stubs/components/notify/__init__.pyi +2 -1
  387. homeassistant-stubs/components/number/__init__.pyi +18 -11
  388. homeassistant-stubs/components/nut/__init__.pyi +3 -3
  389. homeassistant-stubs/components/nut/config_flow.pyi +4 -4
  390. homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
  391. homeassistant-stubs/components/onewire/entity.pyi +2 -2
  392. homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
  393. homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
  394. homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
  395. homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
  396. homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
  397. homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
  398. homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
  399. homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
  400. homeassistant-stubs/components/overkiz/light.pyi +1 -1
  401. homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
  402. homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
  403. homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
  404. homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
  405. homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
  406. homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
  407. homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
  408. homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
  409. homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
  410. homeassistant-stubs/components/pushbullet/api.pyi +1 -1
  411. homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
  412. homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
  413. homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
  414. homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
  415. homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
  416. homeassistant-stubs/components/recorder/core.pyi +26 -22
  417. homeassistant-stubs/components/recorder/executor.pyi +1 -1
  418. homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
  419. homeassistant-stubs/components/recorder/models/state.pyi +12 -2
  420. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
  421. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
  422. homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
  423. homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
  424. homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
  425. homeassistant-stubs/components/remote/__init__.pyi +4 -1
  426. homeassistant-stubs/components/renault/config_flow.pyi +1 -1
  427. homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
  428. homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
  429. homeassistant-stubs/components/reolink/__init__.pyi +1 -0
  430. homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
  431. homeassistant-stubs/components/reolink/host.pyi +12 -10
  432. homeassistant-stubs/components/reolink/media_source.pyi +2 -3
  433. homeassistant-stubs/components/reolink/update.pyi +3 -3
  434. homeassistant-stubs/components/reolink/util.pyi +2 -0
  435. homeassistant-stubs/components/reolink/views.pyi +21 -0
  436. homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
  437. homeassistant-stubs/components/rest/data.pyi +4 -4
  438. homeassistant-stubs/components/rest/switch.pyi +10 -10
  439. homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
  440. homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
  441. homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
  442. homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
  443. homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
  444. homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
  445. homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
  446. homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
  447. homeassistant-stubs/components/ring/camera.pyi +4 -4
  448. homeassistant-stubs/components/ring/coordinator.pyi +5 -5
  449. homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
  450. homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
  451. homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
  452. homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
  453. homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
  454. homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
  455. homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
  456. homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
  457. homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
  458. homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
  459. homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
  460. homeassistant-stubs/components/script/__init__.pyi +16 -0
  461. homeassistant-stubs/components/search/__init__.pyi +2 -1
  462. homeassistant-stubs/components/select/__init__.pyi +4 -2
  463. homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
  464. homeassistant-stubs/components/sensor/__init__.pyi +17 -9
  465. homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
  466. homeassistant-stubs/components/shelly/climate.pyi +8 -7
  467. homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
  468. homeassistant-stubs/components/shelly/cover.pyi +1 -1
  469. homeassistant-stubs/components/shelly/entity.pyi +6 -6
  470. homeassistant-stubs/components/shelly/light.pyi +1 -1
  471. homeassistant-stubs/components/shelly/number.pyi +1 -1
  472. homeassistant-stubs/components/shelly/sensor.pyi +2 -2
  473. homeassistant-stubs/components/shelly/switch.pyi +2 -2
  474. homeassistant-stubs/components/shelly/update.pyi +2 -2
  475. homeassistant-stubs/components/shelly/valve.pyi +1 -1
  476. homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
  477. homeassistant-stubs/components/simplepush/notify.pyi +4 -4
  478. homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
  479. homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
  480. homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
  481. homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
  482. homeassistant-stubs/components/siren/__init__.pyi +4 -2
  483. homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
  484. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  485. homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
  486. homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
  487. homeassistant-stubs/components/smlight/sensor.pyi +1 -1
  488. homeassistant-stubs/components/smlight/update.pyi +2 -2
  489. homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
  490. homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
  491. homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
  492. homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
  493. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
  494. homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
  495. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
  496. homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
  497. homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
  498. homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
  499. homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
  500. homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
  501. homeassistant-stubs/components/statistics/sensor.pyi +15 -15
  502. homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
  503. homeassistant-stubs/components/stream/__init__.pyi +5 -4
  504. homeassistant-stubs/components/stream/core.pyi +7 -6
  505. homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
  506. homeassistant-stubs/components/stream/recorder.pyi +1 -1
  507. homeassistant-stubs/components/stream/worker.pyi +6 -4
  508. homeassistant-stubs/components/sun/entity.pyi +4 -4
  509. homeassistant-stubs/components/switch/__init__.pyi +3 -2
  510. homeassistant-stubs/components/switchbee/climate.pyi +1 -1
  511. homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
  512. homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
  513. homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
  514. homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
  515. homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
  516. homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
  517. homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
  518. homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
  519. homeassistant-stubs/components/system_log/__init__.pyi +1 -1
  520. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
  521. homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
  522. homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
  523. homeassistant-stubs/components/tag/__init__.pyi +1 -1
  524. homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
  525. homeassistant-stubs/components/tcp/entity.pyi +4 -3
  526. homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
  527. homeassistant-stubs/components/text/__init__.pyi +10 -5
  528. homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
  529. homeassistant-stubs/components/tibber/sensor.pyi +5 -4
  530. homeassistant-stubs/components/tile/config_flow.pyi +2 -2
  531. homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
  532. homeassistant-stubs/components/time/__init__.pyi +4 -1
  533. homeassistant-stubs/components/timer/__init__.pyi +7 -7
  534. homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
  535. homeassistant-stubs/components/todo/__init__.pyi +2 -0
  536. homeassistant-stubs/components/tplink/camera.pyi +2 -2
  537. homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
  538. homeassistant-stubs/components/tplink/siren.pyi +1 -1
  539. homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
  540. homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
  541. homeassistant-stubs/components/trace/models.pyi +10 -9
  542. homeassistant-stubs/components/tractive/__init__.pyi +2 -1
  543. homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
  544. homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
  545. homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
  546. homeassistant-stubs/components/tradfri/entity.pyi +1 -1
  547. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
  548. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
  549. homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
  550. homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
  551. homeassistant-stubs/components/tts/__init__.pyi +10 -5
  552. homeassistant-stubs/components/tts/notify.pyi +2 -2
  553. homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
  554. homeassistant-stubs/components/unifi/__init__.pyi +3 -3
  555. homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
  556. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
  557. homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
  558. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
  559. homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
  560. homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
  561. homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
  562. homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
  563. homeassistant-stubs/components/update/__init__.pyi +15 -4
  564. homeassistant-stubs/components/usb/__init__.pyi +7 -4
  565. homeassistant-stubs/components/uvc/camera.pyi +2 -2
  566. homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
  567. homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
  568. homeassistant-stubs/components/velbus/sensor.pyi +1 -1
  569. homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
  570. homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
  571. homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
  572. homeassistant-stubs/components/weather/__init__.pyi +20 -2
  573. homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
  574. homeassistant-stubs/components/webostv/media_player.pyi +1 -1
  575. homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
  576. homeassistant-stubs/components/websocket_api/http.pyi +9 -7
  577. homeassistant-stubs/components/wemo/__init__.pyi +6 -6
  578. homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
  579. homeassistant-stubs/components/withings/coordinator.pyi +2 -2
  580. homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
  581. homeassistant-stubs/components/wled/coordinator.pyi +1 -1
  582. homeassistant-stubs/components/workday/repairs.pyi +3 -3
  583. homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
  584. homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
  585. homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
  586. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
  587. homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
  588. homeassistant-stubs/components/zone/__init__.pyi +3 -3
  589. homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
  590. homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
  591. homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
  592. homeassistant-stubs/components/zwave_js/event.pyi +1 -1
  593. homeassistant-stubs/components/zwave_js/light.pyi +8 -8
  594. homeassistant-stubs/components/zwave_js/number.pyi +1 -1
  595. homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
  596. homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
  597. homeassistant-stubs/components/zwave_js/update.pyi +8 -8
  598. homeassistant-stubs/config_entries.pyi +11 -8
  599. homeassistant-stubs/core.pyi +50 -28
  600. homeassistant-stubs/core_config.pyi +18 -18
  601. homeassistant-stubs/data_entry_flow.pyi +6 -5
  602. homeassistant-stubs/helpers/area_registry.pyi +4 -2
  603. homeassistant-stubs/helpers/category_registry.pyi +1 -1
  604. homeassistant-stubs/helpers/check_config.pyi +2 -3
  605. homeassistant-stubs/helpers/collection.pyi +6 -6
  606. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
  607. homeassistant-stubs/helpers/debounce.pyi +3 -2
  608. homeassistant-stubs/helpers/device_registry.pyi +9 -5
  609. homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
  610. homeassistant-stubs/helpers/dispatcher.pyi +8 -8
  611. homeassistant-stubs/helpers/entity.pyi +43 -14
  612. homeassistant-stubs/helpers/entity_component.pyi +3 -3
  613. homeassistant-stubs/helpers/entity_platform.pyi +12 -12
  614. homeassistant-stubs/helpers/entity_registry.pyi +13 -6
  615. homeassistant-stubs/helpers/entityfilter.pyi +1 -1
  616. homeassistant-stubs/helpers/event.pyi +6 -6
  617. homeassistant-stubs/helpers/frame.pyi +4 -0
  618. homeassistant-stubs/helpers/icon.pyi +2 -2
  619. homeassistant-stubs/helpers/intent.pyi +15 -12
  620. homeassistant-stubs/helpers/issue_registry.pyi +1 -1
  621. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
  622. homeassistant-stubs/helpers/ratelimit.pyi +4 -3
  623. homeassistant-stubs/helpers/restore_state.pyi +3 -3
  624. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
  625. homeassistant-stubs/helpers/script.pyi +16 -10
  626. homeassistant-stubs/helpers/script_variables.pyi +1 -1
  627. homeassistant-stubs/helpers/service.pyi +1 -1
  628. homeassistant-stubs/helpers/significant_change.pyi +1 -1
  629. homeassistant-stubs/helpers/storage.pyi +12 -9
  630. homeassistant-stubs/helpers/template.pyi +22 -18
  631. homeassistant-stubs/helpers/trace.pyi +6 -6
  632. homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
  633. homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
  634. homeassistant-stubs/loader.pyi +23 -4
  635. homeassistant-stubs/requirements.pyi +4 -3
  636. homeassistant-stubs/util/aiohttp.pyi +2 -2
  637. homeassistant-stubs/util/async_.pyi +1 -1
  638. homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
  639. homeassistant-stubs/util/logging.pyi +7 -7
  640. homeassistant-stubs/util/signal_type.pyi +1 -1
  641. homeassistant-stubs/util/timeout.pyi +29 -30
  642. homeassistant-stubs/util/yaml/loader.pyi +4 -1
  643. {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
  644. {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +646 -645
  645. {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
  646. {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -25,7 +25,7 @@ async def _async_console_is_offline(hass: HomeAssistant, entry: ConfigEntry) ->
25
25
 
26
26
  class ProtectFlowHandler(ConfigFlow, domain=DOMAIN):
27
27
  VERSION: int
28
- _discovered_device: Incomplete
28
+ _discovered_device: dict[str, str]
29
29
  def __init__(self) -> None: ...
30
30
  async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
31
31
  async def async_step_ssdp(self, discovery_info: ssdp.SsdpServiceInfo) -> ConfigFlowResult: ...
@@ -1,6 +1,7 @@
1
1
  from .const import AUTH_RETRIES as AUTH_RETRIES, CONF_DISABLE_RTSP as CONF_DISABLE_RTSP, CONF_MAX_MEDIA as CONF_MAX_MEDIA, DEFAULT_MAX_MEDIA as DEFAULT_MAX_MEDIA, DEVICES_THAT_ADOPT as DEVICES_THAT_ADOPT, DISPATCH_ADD as DISPATCH_ADD, DISPATCH_ADOPT as DISPATCH_ADOPT, DISPATCH_CHANNELS as DISPATCH_CHANNELS, DOMAIN as DOMAIN
2
2
  from .utils import async_get_devices_by_type as async_get_devices_by_type
3
3
  from _typeshed import Incomplete
4
+ from collections import defaultdict
4
5
  from collections.abc import Callable as Callable, Generator, Iterable
5
6
  from datetime import datetime, timedelta
6
7
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -23,9 +24,9 @@ class ProtectData:
23
24
  _entry: Incomplete
24
25
  _hass: Incomplete
25
26
  _update_interval: Incomplete
26
- _subscriptions: Incomplete
27
- _pending_camera_ids: Incomplete
28
- _unsubs: Incomplete
27
+ _subscriptions: defaultdict[str, set[Callable[[ProtectDeviceType], None]]]
28
+ _pending_camera_ids: set[str]
29
+ _unsubs: list[CALLBACK_TYPE]
29
30
  _auth_failures: int
30
31
  last_update_success: bool
31
32
  api: Incomplete
@@ -4,6 +4,7 @@ from enum import StrEnum
4
4
  from homeassistant.const import EntityCategory
5
5
  from homeassistant.helpers.entity import ABCCachedProperties, EntityDescription
6
6
  from homeassistant.helpers.restore_state import RestoreEntity
7
+ from propcache import cached_property
7
8
  from typing import Any
8
9
 
9
10
  __all__ = ['ATTR_BACKUP', 'ATTR_INSTALLED_VERSION', 'ATTR_LATEST_VERSION', 'ATTR_VERSION', 'DEVICE_CLASSES_SCHEMA', 'DOMAIN', 'PLATFORM_SCHEMA_BASE', 'PLATFORM_SCHEMA', 'SERVICE_INSTALL', 'SERVICE_SKIP', 'UpdateDeviceClass', 'UpdateEntity', 'UpdateEntityDescription', 'UpdateEntityFeature']
@@ -17,11 +18,10 @@ class UpdateDeviceClass(StrEnum):
17
18
  DEVICE_CLASSES_SCHEMA: Incomplete
18
19
 
19
20
  class UpdateEntityDescription(EntityDescription, frozen_or_thawed=True):
20
- device_class: UpdateDeviceClass | None
21
- display_precision: int
22
- entity_category: EntityCategory | None
21
+ device_class: UpdateDeviceClass | None = ...
22
+ display_precision: int = ...
23
+ entity_category: EntityCategory | None = ...
23
24
  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=..., display_precision=...) -> None: ...
24
- def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., display_precision=...) -> None: ...
25
25
 
26
26
  class UpdateEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCachedProperties):
27
27
  _entity_component_unrecorded_attributes: Incomplete
@@ -40,21 +40,32 @@ class UpdateEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_
40
40
  _attr_update_percentage: int | float | None
41
41
  __skipped_version: str | None
42
42
  __in_progress: bool
43
+ @cached_property
43
44
  def auto_update(self) -> bool: ...
45
+ @cached_property
44
46
  def installed_version(self) -> str | None: ...
45
47
  def _default_to_device_class_name(self) -> bool: ...
48
+ @cached_property
46
49
  def device_class(self) -> UpdateDeviceClass | None: ...
50
+ @cached_property
47
51
  def display_precision(self) -> int: ...
48
52
  @property
49
53
  def entity_category(self) -> EntityCategory | None: ...
50
54
  @property
51
55
  def entity_picture(self) -> str | None: ...
56
+ @cached_property
52
57
  def in_progress(self) -> bool | int | None: ...
58
+ @cached_property
53
59
  def latest_version(self) -> str | None: ...
60
+ @cached_property
54
61
  def release_summary(self) -> str | None: ...
62
+ @cached_property
55
63
  def release_url(self) -> str | None: ...
64
+ @cached_property
56
65
  def supported_features(self) -> UpdateEntityFeature: ...
66
+ @cached_property
57
67
  def title(self) -> str | None: ...
68
+ @cached_property
58
69
  def update_percentage(self) -> int | float | None: ...
59
70
  async def async_skip(self) -> None: ...
60
71
  async def async_clear_skipped(self) -> None: ...
@@ -1,11 +1,14 @@
1
1
  import dataclasses
2
2
  from .models import USBDevice
3
3
  from _typeshed import Incomplete
4
+ from collections.abc import Coroutine
4
5
  from homeassistant.core import CALLBACK_TYPE, Event, HomeAssistant
5
6
  from homeassistant.data_entry_flow import BaseServiceInfo
7
+ from homeassistant.helpers.debounce import Debouncer
6
8
  from homeassistant.loader import USBMatcher
7
9
  from pyudev import Device, MonitorObserver
8
10
  from serial.tools.list_ports_common import ListPortInfo
11
+ from typing import Any
9
12
 
10
13
  __all__ = ['async_is_plugged_in', 'async_register_scan_request_callback', 'USBCallbackMatcher', 'UsbServiceInfo']
11
14
 
@@ -27,12 +30,12 @@ class UsbServiceInfo(BaseServiceInfo):
27
30
  class USBDiscovery:
28
31
  hass: Incomplete
29
32
  usb: Incomplete
30
- seen: Incomplete
33
+ seen: set[tuple[str, ...]]
31
34
  observer_active: bool
32
- _request_debouncer: Incomplete
33
- _request_callbacks: Incomplete
35
+ _request_debouncer: Debouncer[Coroutine[Any, Any, None]] | None
36
+ _request_callbacks: list[CALLBACK_TYPE]
34
37
  initial_scan_done: bool
35
- _initial_scan_callbacks: Incomplete
38
+ _initial_scan_callbacks: list[CALLBACK_TYPE]
36
39
  def __init__(self, hass: HomeAssistant, usb: list[USBMatcher]) -> None: ...
37
40
  async def async_setup(self) -> None: ...
38
41
  async def async_start(self, event: Event) -> None: ...
@@ -30,8 +30,8 @@ class UnifiVideoCamera(Camera):
30
30
  _uuid: Incomplete
31
31
  _attr_name: Incomplete
32
32
  _password: Incomplete
33
- _connect_addr: Incomplete
34
- _camera: Incomplete
33
+ _connect_addr: str | None
34
+ _camera: UVCCameraClient | None
35
35
  def __init__(self, camera: UVCRemote, uuid: str, name: str, password: str) -> None: ...
36
36
  @property
37
37
  def supported_features(self) -> CameraEntityFeature: ...
@@ -14,6 +14,7 @@ from homeassistant.helpers.icon import icon_for_battery_level as icon_for_batter
14
14
  from homeassistant.helpers.typing import ConfigType as ConfigType
15
15
  from homeassistant.loader import bind_hass as bind_hass
16
16
  from homeassistant.util.hass_dict import HassKey as HassKey
17
+ from propcache import cached_property
17
18
  from typing import Any
18
19
 
19
20
  _LOGGER: Incomplete
@@ -79,7 +80,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
79
80
 
80
81
  class StateVacuumEntityDescription(EntityDescription, frozen_or_thawed=True):
81
82
  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: ...
82
- 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: ...
83
83
 
84
84
  STATE_VACUUM_CACHED_PROPERTIES_WITH_ATTR_: Incomplete
85
85
 
@@ -97,19 +97,26 @@ class StateVacuumEntity(Entity, cached_properties=STATE_VACUUM_CACHED_PROPERTIES
97
97
  def __setattr__(self, name: str, value: Any) -> None: ...
98
98
  def add_to_platform_start(self, hass: HomeAssistant, platform: EntityPlatform, parallel_updates: asyncio.Semaphore | None) -> None: ...
99
99
  def _report_deprecated_activity_handling(self) -> None: ...
100
+ @cached_property
100
101
  def battery_level(self) -> int | None: ...
101
102
  @property
102
103
  def battery_icon(self) -> str: ...
103
104
  @property
104
105
  def capability_attributes(self) -> dict[str, Any] | None: ...
106
+ @cached_property
105
107
  def fan_speed(self) -> str | None: ...
108
+ @cached_property
106
109
  def fan_speed_list(self) -> list[str]: ...
107
110
  @property
108
111
  def state_attributes(self) -> dict[str, Any]: ...
109
112
  @property
110
113
  def state(self) -> str | None: ...
114
+ @cached_property
111
115
  def activity(self) -> VacuumActivity | None: ...
116
+ @cached_property
112
117
  def supported_features(self) -> VacuumEntityFeature: ...
118
+ @property
119
+ def supported_features_compat(self) -> VacuumEntityFeature: ...
113
120
  def stop(self, **kwargs: Any) -> None: ...
114
121
  async def async_stop(self, **kwargs: Any) -> None: ...
115
122
  def return_to_base(self, **kwargs: Any) -> None: ...
@@ -1,5 +1,4 @@
1
1
  from .const import DOMAIN as DOMAIN
2
- from _typeshed import Incomplete
3
2
  from homeassistant.components import usb as usb
4
3
  from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
5
4
  from homeassistant.const import CONF_NAME as CONF_NAME, CONF_PORT as CONF_PORT
@@ -8,7 +7,7 @@ from typing import Any
8
7
 
9
8
  class VelbusConfigFlow(ConfigFlow, domain=DOMAIN):
10
9
  VERSION: int
11
- _errors: Incomplete
10
+ _errors: dict[str, str]
12
11
  _device: str
13
12
  _title: str
14
13
  def __init__(self) -> None: ...
@@ -12,7 +12,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async
12
12
 
13
13
  class VelbusSensor(VelbusEntity, SensorEntity):
14
14
  _channel: ButtonCounter | Temperature | LightSensor | SensorNumber
15
- _is_counter: Incomplete
15
+ _is_counter: bool
16
16
  _attr_device_class: Incomplete
17
17
  _attr_icon: str
18
18
  _attr_name: Incomplete
@@ -14,7 +14,7 @@ async def get_by_station_number(client: WAQIClient, station_number: int) -> tupl
14
14
 
15
15
  class WAQIConfigFlow(ConfigFlow, domain=DOMAIN):
16
16
  VERSION: int
17
- data: Incomplete
17
+ data: dict[str, Any]
18
18
  def __init__(self) -> None: ...
19
19
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
20
20
  async def async_step_map(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -11,6 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
11
11
  from homeassistant.helpers.typing import ConfigType as ConfigType, VolDictType as VolDictType
12
12
  from homeassistant.util.hass_dict import HassKey as HassKey
13
13
  from homeassistant.util.unit_conversion import TemperatureConverter as TemperatureConverter
14
+ from propcache import cached_property
14
15
  from typing import Any
15
16
 
16
17
  DATA_COMPONENT: HassKey[EntityComponent[WaterHeaterEntity]]
@@ -56,11 +57,9 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
56
57
 
57
58
  class WaterHeaterEntityDescription(EntityDescription, frozen_or_thawed=True):
58
59
  def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
59
- def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
60
60
 
61
61
  class WaterHeaterEntityEntityDescription(WaterHeaterEntityDescription, frozen_or_thawed=True):
62
62
  def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
63
- def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
64
63
 
65
64
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
66
65
 
@@ -88,13 +87,21 @@ class WaterHeaterEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
88
87
  def capability_attributes(self) -> dict[str, Any]: ...
89
88
  @property
90
89
  def state_attributes(self) -> dict[str, Any]: ...
90
+ @cached_property
91
91
  def temperature_unit(self) -> str: ...
92
+ @cached_property
92
93
  def current_operation(self) -> str | None: ...
94
+ @cached_property
93
95
  def operation_list(self) -> list[str] | None: ...
96
+ @cached_property
94
97
  def current_temperature(self) -> float | None: ...
98
+ @cached_property
95
99
  def target_temperature(self) -> float | None: ...
100
+ @cached_property
96
101
  def target_temperature_high(self) -> float | None: ...
102
+ @cached_property
97
103
  def target_temperature_low(self) -> float | None: ...
104
+ @cached_property
98
105
  def is_away_mode_on(self) -> bool | None: ...
99
106
  def set_temperature(self, **kwargs: Any) -> None: ...
100
107
  async def async_set_temperature(self, **kwargs: Any) -> None: ...
@@ -1,6 +1,7 @@
1
1
  import voluptuous as vol
2
2
  from .const import CONF_BALANCING_AUTHORITY as CONF_BALANCING_AUTHORITY, CONF_BALANCING_AUTHORITY_ABBREV as CONF_BALANCING_AUTHORITY_ABBREV, DOMAIN as DOMAIN, LOGGER as LOGGER
3
3
  from _typeshed import Incomplete
4
+ from aiowatttime import Client
4
5
  from collections.abc import Mapping
5
6
  from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
6
7
  from homeassistant.const import CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_PASSWORD as CONF_PASSWORD, CONF_SHOW_ON_MAP as CONF_SHOW_ON_MAP, CONF_USERNAME as CONF_USERNAME
@@ -20,8 +21,8 @@ def get_unique_id(data: dict[str, Any]) -> str: ...
20
21
 
21
22
  class WattTimeConfigFlow(ConfigFlow, domain=DOMAIN):
22
23
  VERSION: int
23
- _client: Incomplete
24
- _data: Incomplete
24
+ _client: Client | None
25
+ _data: dict[str, Any]
25
26
  def __init__(self) -> None: ...
26
27
  async def _async_validate_credentials(self, username: str, password: str, error_step_id: str, error_schema: vol.Schema) -> ConfigFlowResult: ...
27
28
  @staticmethod
@@ -14,6 +14,7 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity as Coordi
14
14
  from homeassistant.util.dt import utcnow as utcnow
15
15
  from homeassistant.util.json import JsonValueType as JsonValueType
16
16
  from homeassistant.util.unit_system import US_CUSTOMARY_SYSTEM as US_CUSTOMARY_SYSTEM
17
+ from propcache import cached_property
17
18
  from typing import Any, Final, Generic, Literal, Required, TypedDict
18
19
  from typing_extensions import TypeVar
19
20
 
@@ -100,7 +101,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
100
101
 
101
102
  class WeatherEntityDescription(EntityDescription, frozen_or_thawed=True):
102
103
  def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
103
- def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
104
104
 
105
105
  class PostInitMeta(ABCCachedProperties):
106
106
  def __call__(cls, *args: Any, **kwargs: Any) -> Any: ...
@@ -141,33 +141,49 @@ class WeatherEntity(Entity, PostInit, cached_properties=CACHED_PROPERTIES_WITH_A
141
141
  _weather_option_wind_speed_unit: str | None
142
142
  def __post_init__(self, *args: Any, **kwargs: Any) -> None: ...
143
143
  async def async_internal_added_to_hass(self) -> None: ...
144
+ @cached_property
144
145
  def native_apparent_temperature(self) -> float | None: ...
146
+ @cached_property
145
147
  def native_temperature(self) -> float | None: ...
148
+ @cached_property
146
149
  def native_temperature_unit(self) -> str | None: ...
150
+ @cached_property
147
151
  def native_dew_point(self) -> float | None: ...
148
152
  @property
149
153
  def _default_temperature_unit(self) -> str: ...
150
154
  @property
151
155
  def _temperature_unit(self) -> str: ...
156
+ @cached_property
152
157
  def native_pressure(self) -> float | None: ...
158
+ @cached_property
153
159
  def native_pressure_unit(self) -> str | None: ...
154
160
  @property
155
161
  def _default_pressure_unit(self) -> str: ...
156
162
  @property
157
163
  def _pressure_unit(self) -> str: ...
164
+ @cached_property
158
165
  def humidity(self) -> float | None: ...
166
+ @cached_property
159
167
  def native_wind_gust_speed(self) -> float | None: ...
168
+ @cached_property
160
169
  def native_wind_speed(self) -> float | None: ...
170
+ @cached_property
161
171
  def native_wind_speed_unit(self) -> str | None: ...
162
172
  @property
163
173
  def _default_wind_speed_unit(self) -> str: ...
164
174
  @property
165
175
  def _wind_speed_unit(self) -> str: ...
176
+ @cached_property
166
177
  def wind_bearing(self) -> float | str | None: ...
178
+ @cached_property
167
179
  def ozone(self) -> float | None: ...
180
+ @cached_property
168
181
  def cloud_coverage(self) -> float | None: ...
182
+ @cached_property
169
183
  def uv_index(self) -> float | None: ...
184
+ @cached_property
170
185
  def native_visibility(self) -> float | None: ...
186
+ @cached_property
171
187
  def native_visibility_unit(self) -> str | None: ...
172
188
  @property
173
189
  def _default_visibility_unit(self) -> str: ...
@@ -176,6 +192,7 @@ class WeatherEntity(Entity, PostInit, cached_properties=CACHED_PROPERTIES_WITH_A
176
192
  async def async_forecast_daily(self) -> list[Forecast] | None: ...
177
193
  async def async_forecast_twice_daily(self) -> list[Forecast] | None: ...
178
194
  async def async_forecast_hourly(self) -> list[Forecast] | None: ...
195
+ @cached_property
179
196
  def native_precipitation_unit(self) -> str | None: ...
180
197
  @property
181
198
  def _default_precipitation_unit(self) -> str: ...
@@ -188,6 +205,7 @@ class WeatherEntity(Entity, PostInit, cached_properties=CACHED_PROPERTIES_WITH_A
188
205
  def _convert_forecast(self, native_forecast_list: list[Forecast]) -> list[JsonValueType]: ...
189
206
  @property
190
207
  def state(self) -> str | None: ...
208
+ @cached_property
191
209
  def condition(self) -> str | None: ...
192
210
  def async_registry_entry_updated(self) -> None: ...
193
211
  def _async_subscription_started(self, forecast_type: Literal['daily', 'hourly', 'twice_daily']) -> None: ...
@@ -201,7 +219,7 @@ async def async_get_forecasts_service(weather: WeatherEntity, service_call: Serv
201
219
  class CoordinatorWeatherEntity(CoordinatorEntity[_ObservationUpdateCoordinatorT], WeatherEntity, Generic[_ObservationUpdateCoordinatorT, _DailyForecastUpdateCoordinatorT, _HourlyForecastUpdateCoordinatorT, _TwiceDailyForecastUpdateCoordinatorT]):
202
220
  forecast_coordinators: Incomplete
203
221
  forecast_valid: Incomplete
204
- unsub_forecast: Incomplete
222
+ unsub_forecast: dict[str, Callable[[], None] | None]
205
223
  def __init__(self, observation_coordinator: _ObservationUpdateCoordinatorT, *, context: Any = None, daily_coordinator: _DailyForecastUpdateCoordinatorT | None = None, hourly_coordinator: _HourlyForecastUpdateCoordinatorT | None = None, twice_daily_coordinator: _TwiceDailyForecastUpdateCoordinatorT | None = None, daily_forecast_valid: timedelta | None = None, hourly_forecast_valid: timedelta | None = None, twice_daily_forecast_valid: timedelta | None = None) -> None: ...
206
224
  async def async_added_to_hass(self) -> None: ...
207
225
  def _remove_forecast_listener(self, forecast_type: Literal['daily', 'hourly', 'twice_daily']) -> None: ...
@@ -17,7 +17,7 @@ class FlowHandler(ConfigFlow, domain=DOMAIN):
17
17
  VERSION: int
18
18
  _host: str
19
19
  _name: str
20
- _uuid: Incomplete
20
+ _uuid: str | None
21
21
  def __init__(self) -> None: ...
22
22
  @staticmethod
23
23
  def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
@@ -41,7 +41,7 @@ class LgWebOSMediaPlayerEntity(RestoreEntity, MediaPlayerEntity):
41
41
  _paused: bool
42
42
  _turn_on: Incomplete
43
43
  _current_source: Incomplete
44
- _source_list: Incomplete
44
+ _source_list: dict
45
45
  _supported_features: Incomplete
46
46
  def __init__(self, entry: ConfigEntry, client: WebOsClient) -> None: ...
47
47
  async def async_added_to_hass(self) -> None: ...
@@ -1,16 +1,17 @@
1
+ import voluptuous as vol
1
2
  from . import const as const, messages as messages
2
3
  from .http import WebSocketAdapter as WebSocketAdapter
3
4
  from .messages import error_message as error_message, event_message as event_message, message_to_json_bytes as message_to_json_bytes, result_message as result_message
4
5
  from .util import describe_request as describe_request
5
6
  from _typeshed import Incomplete
6
7
  from aiohttp import web as web
7
- from collections.abc import Callable
8
+ from collections.abc import Callable, Hashable
8
9
  from homeassistant.auth.models import RefreshToken as RefreshToken, User as User
9
10
  from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, callback as callback
10
11
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, Unauthorized as Unauthorized
11
12
  from homeassistant.helpers.http import current_request as current_request
12
13
  from homeassistant.util.json import JsonValueType as JsonValueType
13
- from typing import Any
14
+ from typing import Any, Literal
14
15
 
15
16
  current_connection: Incomplete
16
17
  type MessageHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], None]
@@ -23,12 +24,12 @@ class ActiveConnection:
23
24
  send_message: Incomplete
24
25
  user: Incomplete
25
26
  refresh_token_id: Incomplete
26
- subscriptions: Incomplete
27
+ subscriptions: dict[Hashable, Callable[[], Any]]
27
28
  last_id: int
28
29
  can_coalesce: bool
29
- supported_features: Incomplete
30
- handlers: Incomplete
31
- binary_handlers: Incomplete
30
+ supported_features: dict[str, float]
31
+ handlers: dict[str, tuple[MessageHandler, vol.Schema | Literal[False]]]
32
+ binary_handlers: list[BinaryHandler | None]
32
33
  def __init__(self, logger: WebSocketAdapter, hass: HomeAssistant, send_message: Callable[[bytes | str | dict[str, Any]], None], user: User, refresh_token: RefreshToken) -> None: ...
33
34
  def __repr__(self) -> str: ...
34
35
  def set_supported_features(self, features: dict[str, float]) -> None: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  import datetime as dt
2
3
  import logging
3
4
  from .auth import AUTH_REQUIRED_MESSAGE as AUTH_REQUIRED_MESSAGE, AuthPhase as AuthPhase
@@ -9,6 +10,7 @@ from .util import describe_request as describe_request
9
10
  from _typeshed import Incomplete
10
11
  from aiohttp import web
11
12
  from aiohttp.http_websocket import WebSocketWriter as WebSocketWriter
13
+ from collections import deque
12
14
  from collections.abc import Callable as Callable, Coroutine
13
15
  from homeassistant.components.http import HomeAssistantView as HomeAssistantView, KEY_HASS as KEY_HASS
14
16
  from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
@@ -35,17 +37,17 @@ class WebSocketHandler:
35
37
  __slots__: Incomplete
36
38
  _hass: Incomplete
37
39
  _loop: Incomplete
38
- _request: Incomplete
40
+ _request: web.Request
39
41
  _wsock: Incomplete
40
- _handle_task: Incomplete
41
- _writer_task: Incomplete
42
+ _handle_task: asyncio.Task | None
43
+ _writer_task: asyncio.Task | None
42
44
  _closing: bool
43
45
  _authenticated: bool
44
46
  _logger: Incomplete
45
- _peak_checker_unsub: Incomplete
46
- _connection: Incomplete
47
- _message_queue: Incomplete
48
- _ready_future: Incomplete
47
+ _peak_checker_unsub: Callable[[], None] | None
48
+ _connection: ActiveConnection | None
49
+ _message_queue: deque[bytes]
50
+ _ready_future: asyncio.Future[int] | None
49
51
  _release_ready_queue_size: int
50
52
  def __init__(self, hass: HomeAssistant, request: web.Request) -> None: ...
51
53
  def __repr__(self) -> str: ...
@@ -33,10 +33,10 @@ async def async_wemo_dispatcher_connect(hass: HomeAssistant, dispatch: DispatchC
33
33
 
34
34
  class WemoDispatcher:
35
35
  _config_entry: Incomplete
36
- _added_serial_numbers: Incomplete
37
- _failed_serial_numbers: Incomplete
38
- _dispatch_backlog: Incomplete
39
- _dispatch_callbacks: Incomplete
36
+ _added_serial_numbers: set[str]
37
+ _failed_serial_numbers: set[str]
38
+ _dispatch_backlog: dict[Platform, list[DeviceCoordinator]]
39
+ _dispatch_callbacks: dict[Platform, DispatchCallback]
40
40
  def __init__(self, config_entry: ConfigEntry) -> None: ...
41
41
  async def async_add_unique_device(self, hass: HomeAssistant, wemo: pywemo.WeMoDevice) -> None: ...
42
42
  async def async_connect_platform(self, platform: Platform, dispatch: DispatchCallback) -> None: ...
@@ -47,10 +47,10 @@ class WemoDiscovery:
47
47
  MAX_SECONDS_BETWEEN_SCANS: int
48
48
  _hass: Incomplete
49
49
  _wemo_dispatcher: Incomplete
50
- _stop: Incomplete
50
+ _stop: CALLBACK_TYPE | None
51
51
  _scan_delay: int
52
52
  _static_config: Incomplete
53
- _discover_job: Incomplete
53
+ _discover_job: HassJob[[datetime], None] | None
54
54
  _entry: Incomplete
55
55
  def __init__(self, hass: HomeAssistant, wemo_dispatcher: WemoDispatcher, static_config: Sequence[HostPortTuple], entry: ConfigEntry) -> None: ...
56
56
  async def async_discover_and_schedule(self, event_time: datetime | None = None) -> None: ...
@@ -31,7 +31,7 @@ class DeviceCoordinator(DataUpdateCoordinator[None]):
31
31
  options: Options | None
32
32
  hass: Incomplete
33
33
  wemo: Incomplete
34
- device_id: Incomplete
34
+ device_id: str | None
35
35
  device_info: Incomplete
36
36
  supports_long_press: Incomplete
37
37
  update_lock: Incomplete
@@ -19,7 +19,7 @@ class WithingsDataUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT], metac
19
19
  coordinator_name: str
20
20
  name: Incomplete
21
21
  _client: Incomplete
22
- notification_categories: Incomplete
22
+ notification_categories: set[NotificationCategory]
23
23
  def __init__(self, hass: HomeAssistant, client: WithingsClient) -> None: ...
24
24
  update_interval: Incomplete
25
25
  def webhook_subscription_listener(self, connected: bool) -> None: ...
@@ -31,7 +31,7 @@ class WithingsDataUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT], metac
31
31
  class WithingsMeasurementDataUpdateCoordinator(WithingsDataUpdateCoordinator[dict[tuple[MeasurementType, MeasurementPosition | None], float]]):
32
32
  coordinator_name: str
33
33
  notification_categories: Incomplete
34
- _previous_data: Incomplete
34
+ _previous_data: dict[tuple[MeasurementType, MeasurementPosition | None], float]
35
35
  def __init__(self, hass: HomeAssistant, client: WithingsClient) -> None: ...
36
36
  _last_valid_update: Incomplete
37
37
  async def _internal_update_data(self) -> dict[tuple[MeasurementType, MeasurementPosition | None], float]: ...
@@ -17,7 +17,7 @@ class WizConfigFlow(ConfigFlow, domain=DOMAIN):
17
17
  VERSION: int
18
18
  _discovered_device: DiscoveredBulb
19
19
  _name: str
20
- _discovered_devices: Incomplete
20
+ _discovered_devices: dict[str, DiscoveredBulb]
21
21
  def __init__(self) -> None: ...
22
22
  async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
23
23
  async def async_step_integration_discovery(self, discovery_info: dict[str, str]) -> ConfigFlowResult: ...
@@ -11,7 +11,7 @@ class WLEDDataUpdateCoordinator(DataUpdateCoordinator[WLEDDevice]):
11
11
  keep_main_light: bool
12
12
  config_entry: ConfigEntry
13
13
  wled: Incomplete
14
- unsub: Incomplete
14
+ unsub: CALLBACK_TYPE | None
15
15
  def __init__(self, hass: HomeAssistant, *, entry: ConfigEntry) -> None: ...
16
16
  @property
17
17
  def has_main_light(self) -> bool: ...
@@ -11,7 +11,7 @@ from typing import Any
11
11
 
12
12
  class CountryFixFlow(RepairsFlow):
13
13
  entry: Incomplete
14
- country: Incomplete
14
+ country: str | None
15
15
  def __init__(self, entry: ConfigEntry, country: str | None) -> None: ...
16
16
  async def async_step_init(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
17
17
  async def async_step_country(self, user_input: dict[str, Any] | None = None) -> data_entry_flow.FlowResult: ...
@@ -19,8 +19,8 @@ class CountryFixFlow(RepairsFlow):
19
19
 
20
20
  class HolidayFixFlow(RepairsFlow):
21
21
  entry: Incomplete
22
- country: Incomplete
23
- named_holiday: Incomplete
22
+ country: str | None
23
+ named_holiday: str
24
24
  def __init__(self, entry: ConfigEntry, country: str | None, named_holiday: str) -> None: ...
25
25
  async def async_step_init(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
26
26
  async def async_step_fix_remove_holiday(self, user_input: dict[str, Any] | None = None) -> data_entry_flow.FlowResult: ...
@@ -25,9 +25,9 @@ def _title(discovery_info: BluetoothServiceInfo, device: DeviceData) -> str: ...
25
25
 
26
26
  class XiaomiConfigFlow(ConfigFlow, domain=DOMAIN):
27
27
  VERSION: int
28
- _discovery_info: Incomplete
29
- _discovered_device: Incomplete
30
- _discovered_devices: Incomplete
28
+ _discovery_info: BluetoothServiceInfo | None
29
+ _discovered_device: DeviceData | None
30
+ _discovered_devices: dict[str, Discovery]
31
31
  def __init__(self) -> None: ...
32
32
  async def _async_wait_for_full_advertisement(self, discovery_info: BluetoothServiceInfo, device: DeviceData) -> BluetoothServiceInfo: ...
33
33
  async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfo) -> ConfigFlowResult: ...
@@ -1,17 +1,17 @@
1
1
  from . import YaleConfigEntry as YaleConfigEntry
2
2
  from .const import DEFAULT_SCAN_INTERVAL as DEFAULT_SCAN_INTERVAL, DOMAIN as DOMAIN, LOGGER as LOGGER, YALE_BASE_ERRORS as YALE_BASE_ERRORS
3
- from _typeshed import Incomplete
4
3
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
5
4
  from homeassistant.core import HomeAssistant as HomeAssistant
6
5
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
7
6
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
8
7
  from typing import Any
8
+ from yalesmartalarmclient import YaleLock
9
9
  from yalesmartalarmclient.client import YaleSmartAlarmClient
10
10
 
11
11
  class YaleDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
12
12
  yale: YaleSmartAlarmClient
13
13
  config_entry: YaleConfigEntry
14
- locks: Incomplete
14
+ locks: list[YaleLock]
15
15
  def __init__(self, hass: HomeAssistant, config_entry: YaleConfigEntry) -> None: ...
16
16
  async def _async_setup(self) -> None: ...
17
17
  async def _async_update_data(self) -> dict[str, Any]: ...
@@ -9,13 +9,13 @@ from yalesmartalarmclient import YaleLock as YaleLock
9
9
 
10
10
  class YaleEntity(CoordinatorEntity[YaleDataUpdateCoordinator]):
11
11
  _attr_has_entity_name: bool
12
- _attr_unique_id: Incomplete
13
- _attr_device_info: Incomplete
12
+ _attr_unique_id: str
13
+ _attr_device_info: DeviceInfo
14
14
  def __init__(self, coordinator: YaleDataUpdateCoordinator, data: dict) -> None: ...
15
15
 
16
16
  class YaleLockEntity(CoordinatorEntity[YaleDataUpdateCoordinator]):
17
17
  _attr_has_entity_name: bool
18
- _attr_unique_id: Incomplete
18
+ _attr_unique_id: str
19
19
  _attr_device_info: Incomplete
20
20
  lock_data: Incomplete
21
21
  def __init__(self, coordinator: YaleDataUpdateCoordinator, lock: YaleLock) -> None: ...
@@ -10,6 +10,7 @@ from homeassistant.core import callback as callback
10
10
  from homeassistant.data_entry_flow import AbortFlow as AbortFlow
11
11
  from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
12
12
  from typing import Any, Self
13
+ from yalexs_ble import ValidatedLockConfig
13
14
 
14
15
  _LOGGER: Incomplete
15
16
 
@@ -21,9 +22,9 @@ class YalexsConfigFlow(ConfigFlow, domain=DOMAIN):
21
22
  _local_name_is_unique: bool
22
23
  active: bool
23
24
  local_name: str | None
24
- _discovery_info: Incomplete
25
- _discovered_devices: Incomplete
26
- _lock_cfg: Incomplete
25
+ _discovery_info: BluetoothServiceInfoBleak | None
26
+ _discovered_devices: dict[str, BluetoothServiceInfoBleak]
27
+ _lock_cfg: ValidatedLockConfig | None
27
28
  def __init__(self) -> None: ...
28
29
  async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfoBleak) -> ConfigFlowResult: ...
29
30
  async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...