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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (641) hide show
  1. homeassistant-stubs/auth/__init__.pyi +2 -2
  2. homeassistant-stubs/auth/auth_store.pyi +4 -4
  3. homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
  4. homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
  5. homeassistant-stubs/auth/models.pyi +3 -0
  6. homeassistant-stubs/auth/providers/__init__.pyi +4 -4
  7. homeassistant-stubs/auth/providers/command_line.pyi +1 -1
  8. homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
  9. homeassistant-stubs/bootstrap.pyi +2 -1
  10. homeassistant-stubs/components/abode/camera.pyi +2 -1
  11. homeassistant-stubs/components/abode/config_flow.pyi +3 -3
  12. homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
  13. homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
  14. homeassistant-stubs/components/acmeda/hub.pyi +4 -3
  15. homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
  16. homeassistant-stubs/components/aftership/sensor.pyi +2 -2
  17. homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
  18. homeassistant-stubs/components/airgradient/update.pyi +2 -0
  19. homeassistant-stubs/components/airq/sensor.pyi +1 -1
  20. homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
  21. homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
  22. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
  23. homeassistant-stubs/components/alert/entity.pyi +1 -1
  24. homeassistant-stubs/components/alexa/auth.pyi +3 -2
  25. homeassistant-stubs/components/alexa/config.pyi +3 -3
  26. homeassistant-stubs/components/alexa/intent.pyi +5 -5
  27. homeassistant-stubs/components/alexa/resources.pyi +5 -5
  28. homeassistant-stubs/components/alexa/state_report.pyi +6 -6
  29. homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
  30. homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
  31. homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
  32. homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
  33. homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
  34. homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
  35. homeassistant-stubs/components/amcrest/camera.pyi +9 -8
  36. homeassistant-stubs/components/analytics/analytics.pyi +1 -1
  37. homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
  38. homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
  39. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
  40. homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
  41. homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
  42. homeassistant-stubs/components/anova/coordinator.pyi +1 -1
  43. homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
  44. homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
  45. homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
  46. homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
  47. homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
  48. homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
  49. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
  50. homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
  51. homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
  52. homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
  53. homeassistant-stubs/components/asuswrt/router.pyi +8 -8
  54. homeassistant-stubs/components/auth/indieauth.pyi +1 -1
  55. homeassistant-stubs/components/automation/__init__.pyi +15 -1
  56. homeassistant-stubs/components/automation/trace.pyi +1 -2
  57. homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
  58. homeassistant-stubs/components/axis/config_flow.pyi +2 -2
  59. homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
  60. homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
  61. homeassistant-stubs/components/backup/agent.pyi +2 -0
  62. homeassistant-stubs/components/backup/backup.pyi +1 -1
  63. homeassistant-stubs/components/backup/manager.pyi +11 -11
  64. homeassistant-stubs/components/backup/store.pyi +1 -1
  65. homeassistant-stubs/components/baf/config_flow.pyi +1 -1
  66. homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
  67. homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
  68. homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
  69. homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
  70. homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
  71. homeassistant-stubs/components/blueprint/models.pyi +1 -1
  72. homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
  73. homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
  74. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
  75. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
  76. homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
  77. homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
  78. homeassistant-stubs/components/bluetooth/match.pyi +13 -11
  79. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
  80. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
  81. homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
  82. homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
  83. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
  84. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
  85. homeassistant-stubs/components/bond/config_flow.pyi +1 -1
  86. homeassistant-stubs/components/bond/entity.pyi +1 -1
  87. homeassistant-stubs/components/bond/fan.pyi +3 -3
  88. homeassistant-stubs/components/bond/utils.pyi +5 -5
  89. homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
  90. homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
  91. homeassistant-stubs/components/brother/config_flow.pyi +3 -2
  92. homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
  93. homeassistant-stubs/components/button/__init__.pyi +4 -2
  94. homeassistant-stubs/components/calendar/__init__.pyi +0 -1
  95. homeassistant-stubs/components/calendar/trigger.pyi +3 -3
  96. homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
  97. homeassistant-stubs/components/camera/__init__.pyi +24 -9
  98. homeassistant-stubs/components/camera/prefs.pyi +1 -1
  99. homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
  100. homeassistant-stubs/components/canary/camera.pyi +3 -3
  101. homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
  102. homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
  103. homeassistant-stubs/components/clickatell/notify.pyi +2 -2
  104. homeassistant-stubs/components/clicksend/notify.pyi +4 -4
  105. homeassistant-stubs/components/climate/__init__.pyi +26 -1
  106. homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
  107. homeassistant-stubs/components/cloud/client.pyi +4 -4
  108. homeassistant-stubs/components/cloud/prefs.pyi +2 -2
  109. homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
  110. homeassistant-stubs/components/command_line/cover.pyi +3 -2
  111. homeassistant-stubs/components/command_line/sensor.pyi +4 -3
  112. homeassistant-stubs/components/command_line/switch.pyi +2 -1
  113. homeassistant-stubs/components/configurator/__init__.pyi +1 -1
  114. homeassistant-stubs/components/counter/__init__.pyi +2 -2
  115. homeassistant-stubs/components/cover/__init__.pyi +8 -2
  116. homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
  117. homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
  118. homeassistant-stubs/components/date/__init__.pyi +4 -1
  119. homeassistant-stubs/components/datetime/__init__.pyi +4 -1
  120. homeassistant-stubs/components/deconz/button.pyi +1 -1
  121. homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
  122. homeassistant-stubs/components/deconz/entity.pyi +1 -1
  123. homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
  124. homeassistant-stubs/components/deconz/light.pyi +2 -2
  125. homeassistant-stubs/components/demo/cover.pyi +4 -4
  126. homeassistant-stubs/components/demo/fan.pyi +4 -4
  127. homeassistant-stubs/components/demo/geo_location.pyi +1 -1
  128. homeassistant-stubs/components/demo/media_player.pyi +2 -2
  129. homeassistant-stubs/components/demo/remote.pyi +1 -1
  130. homeassistant-stubs/components/demo/vacuum.pyi +1 -1
  131. homeassistant-stubs/components/derivative/sensor.pyi +3 -2
  132. homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
  133. homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
  134. homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
  135. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
  136. homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
  137. homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
  138. homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
  139. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
  140. homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
  141. homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
  142. homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
  143. homeassistant-stubs/components/doorbird/camera.pyi +1 -1
  144. homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
  145. homeassistant-stubs/components/doorbird/device.pyi +9 -3
  146. homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
  147. homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
  148. homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
  149. homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
  150. homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
  151. homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
  152. homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
  153. homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
  154. homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
  155. homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
  156. homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
  157. homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
  158. homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
  159. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
  160. homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
  161. homeassistant-stubs/components/elkm1/entity.pyi +1 -1
  162. homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
  163. homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
  164. homeassistant-stubs/components/energy/data.pyi +2 -2
  165. homeassistant-stubs/components/energy/sensor.pyi +3 -3
  166. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
  167. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
  168. homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
  169. homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
  170. homeassistant-stubs/components/esphome/camera.pyi +2 -1
  171. homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
  172. homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
  173. homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
  174. homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
  175. homeassistant-stubs/components/esphome/entity.pyi +1 -1
  176. homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
  177. homeassistant-stubs/components/esphome/manager.pyi +3 -3
  178. homeassistant-stubs/components/esphome/select.pyi +1 -1
  179. homeassistant-stubs/components/event/__init__.pyi +5 -3
  180. homeassistant-stubs/components/evohome/__init__.pyi +7 -5
  181. homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
  182. homeassistant-stubs/components/evohome/entity.pyi +3 -3
  183. homeassistant-stubs/components/fan/__init__.pyi +8 -1
  184. homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
  185. homeassistant-stubs/components/filter/sensor.pyi +7 -6
  186. homeassistant-stubs/components/fitbit/api.pyi +1 -1
  187. homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
  188. homeassistant-stubs/components/flux_led/entity.pyi +2 -2
  189. homeassistant-stubs/components/flux_led/number.pyi +4 -2
  190. homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
  191. homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
  192. homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
  193. homeassistant-stubs/components/fritz/entity.pyi +3 -4
  194. homeassistant-stubs/components/fritz/image.pyi +1 -1
  195. homeassistant-stubs/components/fritz/switch.pyi +1 -1
  196. homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
  197. homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
  198. homeassistant-stubs/components/fritzbox/light.pyi +1 -1
  199. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
  200. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
  201. homeassistant-stubs/components/fronius/__init__.pyi +8 -8
  202. homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
  203. homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
  204. homeassistant-stubs/components/frontend/__init__.pyi +4 -1
  205. homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
  206. homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
  207. homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
  208. homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
  209. homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
  210. homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
  211. homeassistant-stubs/components/glances/coordinator.pyi +1 -1
  212. homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
  213. homeassistant-stubs/components/go2rtc/server.pyi +5 -4
  214. homeassistant-stubs/components/google/api.pyi +5 -5
  215. homeassistant-stubs/components/google/calendar.pyi +1 -1
  216. homeassistant-stubs/components/google/config_flow.pyi +1 -1
  217. homeassistant-stubs/components/google/coordinator.pyi +1 -1
  218. homeassistant-stubs/components/google/store.pyi +1 -1
  219. homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
  220. homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
  221. homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
  222. homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
  223. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
  224. homeassistant-stubs/components/group/cover.pyi +2 -2
  225. homeassistant-stubs/components/group/entity.pyi +5 -5
  226. homeassistant-stubs/components/group/fan.pyi +2 -2
  227. homeassistant-stubs/components/group/media_player.pyi +1 -1
  228. homeassistant-stubs/components/group/registry.pyi +4 -4
  229. homeassistant-stubs/components/group/sensor.pyi +4 -4
  230. homeassistant-stubs/components/guardian/__init__.pyi +2 -2
  231. homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
  232. homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
  233. homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
  234. homeassistant-stubs/components/history_stats/data.pyi +2 -2
  235. homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
  236. homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
  237. homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
  238. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
  239. homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
  240. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
  241. homeassistant-stubs/components/homekit/__init__.pyi +7 -6
  242. homeassistant-stubs/components/homekit/accessories.pyi +2 -2
  243. homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
  244. homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
  245. homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
  246. homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
  247. homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
  248. homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
  249. homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
  250. homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
  251. homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
  252. homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
  253. homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
  254. homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
  255. homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
  256. homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
  257. homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
  258. homeassistant-stubs/components/http/__init__.pyi +3 -3
  259. homeassistant-stubs/components/http/ban.pyi +1 -1
  260. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
  261. homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
  262. homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
  263. homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
  264. homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
  265. homeassistant-stubs/components/hyperion/camera.pyi +1 -1
  266. homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
  267. homeassistant-stubs/components/hyperion/light.pyi +6 -6
  268. homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
  269. homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
  270. homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
  271. homeassistant-stubs/components/image/__init__.pyi +6 -2
  272. homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
  273. homeassistant-stubs/components/imap/coordinator.pyi +8 -7
  274. homeassistant-stubs/components/integration/sensor.pyi +7 -7
  275. homeassistant-stubs/components/intent/timers.pyi +6 -3
  276. homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
  277. homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
  278. homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
  279. homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
  280. homeassistant-stubs/components/isy994/button.pyi +1 -1
  281. homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
  282. homeassistant-stubs/components/isy994/entity.pyi +5 -5
  283. homeassistant-stubs/components/isy994/light.pyi +1 -1
  284. homeassistant-stubs/components/isy994/number.pyi +2 -2
  285. homeassistant-stubs/components/isy994/select.pyi +1 -1
  286. homeassistant-stubs/components/isy994/sensor.pyi +2 -2
  287. homeassistant-stubs/components/isy994/switch.pyi +1 -1
  288. homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
  289. homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
  290. homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
  291. homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
  292. homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
  293. homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
  294. homeassistant-stubs/components/knx/__init__.pyi +7 -6
  295. homeassistant-stubs/components/knx/climate.pyi +3 -3
  296. homeassistant-stubs/components/knx/config_flow.pyi +10 -9
  297. homeassistant-stubs/components/knx/cover.pyi +1 -1
  298. homeassistant-stubs/components/knx/device.pyi +1 -1
  299. homeassistant-stubs/components/knx/expose.pyi +7 -6
  300. homeassistant-stubs/components/knx/fan.pyi +1 -1
  301. homeassistant-stubs/components/knx/light.pyi +6 -4
  302. homeassistant-stubs/components/knx/select.pyi +1 -1
  303. homeassistant-stubs/components/knx/sensor.pyi +1 -1
  304. homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
  305. homeassistant-stubs/components/knx/telegrams.pyi +3 -2
  306. homeassistant-stubs/components/kraken/__init__.pyi +2 -2
  307. homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
  308. homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
  309. homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
  310. homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
  311. homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
  312. homeassistant-stubs/components/lcn/entity.pyi +3 -3
  313. homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
  314. homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
  315. homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
  316. homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
  317. homeassistant-stubs/components/lifx/__init__.pyi +1 -1
  318. homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
  319. homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
  320. homeassistant-stubs/components/lifx/light.pyi +3 -2
  321. homeassistant-stubs/components/lifx/manager.pyi +1 -1
  322. homeassistant-stubs/components/light/__init__.pyi +19 -2
  323. homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
  324. homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
  325. homeassistant-stubs/components/lock/__init__.pyi +10 -1
  326. homeassistant-stubs/components/logbook/models.pyi +7 -0
  327. homeassistant-stubs/components/logbook/processor.pyi +3 -3
  328. homeassistant-stubs/components/logger/helpers.pyi +1 -1
  329. homeassistant-stubs/components/lookin/__init__.pyi +2 -2
  330. homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
  331. homeassistant-stubs/components/lookin/entity.pyi +2 -2
  332. homeassistant-stubs/components/lookin/media_player.pyi +1 -1
  333. homeassistant-stubs/components/madvr/sensor.pyi +1 -1
  334. homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
  335. homeassistant-stubs/components/matrix/__init__.pyi +4 -4
  336. homeassistant-stubs/components/matter/adapter.pyi +2 -2
  337. homeassistant-stubs/components/matter/climate.pyi +1 -1
  338. homeassistant-stubs/components/matter/config_flow.pyi +4 -3
  339. homeassistant-stubs/components/matter/entity.pyi +4 -2
  340. homeassistant-stubs/components/media_player/__init__.pyi +37 -3
  341. homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
  342. homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
  343. homeassistant-stubs/components/mikrotik/device.pyi +3 -3
  344. homeassistant-stubs/components/min_max/sensor.pyi +11 -11
  345. homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
  346. homeassistant-stubs/components/modbus/climate.pyi +4 -4
  347. homeassistant-stubs/components/modbus/entity.pyi +5 -5
  348. homeassistant-stubs/components/modbus/modbus.pyi +4 -3
  349. homeassistant-stubs/components/modbus/sensor.pyi +1 -1
  350. homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
  351. homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
  352. homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
  353. homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
  354. homeassistant-stubs/components/motionmount/select.pyi +1 -1
  355. homeassistant-stubs/components/mqtt/client.pyi +13 -12
  356. homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
  357. homeassistant-stubs/components/mqtt/entity.pyi +10 -10
  358. homeassistant-stubs/components/mqtt/models.pyi +3 -3
  359. homeassistant-stubs/components/mqtt/tag.pyi +1 -1
  360. homeassistant-stubs/components/mqtt/util.pyi +2 -2
  361. homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
  362. homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
  363. homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
  364. homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
  365. homeassistant-stubs/components/mysensors/entity.pyi +7 -7
  366. homeassistant-stubs/components/mysensors/light.pyi +1 -1
  367. homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
  368. homeassistant-stubs/components/neato/camera.pyi +4 -4
  369. homeassistant-stubs/components/neato/entity.pyi +1 -1
  370. homeassistant-stubs/components/neato/hub.pyi +1 -1
  371. homeassistant-stubs/components/neato/sensor.pyi +3 -2
  372. homeassistant-stubs/components/neato/switch.pyi +2 -2
  373. homeassistant-stubs/components/neato/vacuum.pyi +18 -18
  374. homeassistant-stubs/components/nest/camera.pyi +4 -4
  375. homeassistant-stubs/components/nest/config_flow.pyi +5 -5
  376. homeassistant-stubs/components/nest/media_source.pyi +2 -2
  377. homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
  378. homeassistant-stubs/components/netatmo/entity.pyi +2 -1
  379. homeassistant-stubs/components/network/network.pyi +2 -2
  380. homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
  381. homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
  382. homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
  383. homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
  384. homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
  385. homeassistant-stubs/components/notify/__init__.pyi +2 -1
  386. homeassistant-stubs/components/number/__init__.pyi +18 -11
  387. homeassistant-stubs/components/nut/__init__.pyi +3 -3
  388. homeassistant-stubs/components/nut/config_flow.pyi +4 -4
  389. homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
  390. homeassistant-stubs/components/onewire/entity.pyi +2 -2
  391. homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
  392. homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
  393. homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
  394. homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
  395. homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
  396. homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
  397. homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
  398. homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
  399. homeassistant-stubs/components/overkiz/light.pyi +1 -1
  400. homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
  401. homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
  402. homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
  403. homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
  404. homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
  405. homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
  406. homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
  407. homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
  408. homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
  409. homeassistant-stubs/components/pushbullet/api.pyi +1 -1
  410. homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
  411. homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
  412. homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
  413. homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
  414. homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
  415. homeassistant-stubs/components/recorder/core.pyi +26 -22
  416. homeassistant-stubs/components/recorder/executor.pyi +1 -1
  417. homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
  418. homeassistant-stubs/components/recorder/models/state.pyi +12 -2
  419. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
  420. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
  421. homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
  422. homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
  423. homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
  424. homeassistant-stubs/components/remote/__init__.pyi +4 -1
  425. homeassistant-stubs/components/renault/config_flow.pyi +1 -1
  426. homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
  427. homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
  428. homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
  429. homeassistant-stubs/components/reolink/host.pyi +12 -10
  430. homeassistant-stubs/components/reolink/update.pyi +3 -3
  431. homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
  432. homeassistant-stubs/components/rest/data.pyi +4 -4
  433. homeassistant-stubs/components/rest/switch.pyi +10 -10
  434. homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
  435. homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
  436. homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
  437. homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
  438. homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
  439. homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
  440. homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
  441. homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
  442. homeassistant-stubs/components/ring/camera.pyi +4 -4
  443. homeassistant-stubs/components/ring/coordinator.pyi +5 -5
  444. homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
  445. homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
  446. homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
  447. homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
  448. homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
  449. homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
  450. homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
  451. homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
  452. homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
  453. homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
  454. homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
  455. homeassistant-stubs/components/script/__init__.pyi +16 -0
  456. homeassistant-stubs/components/search/__init__.pyi +2 -1
  457. homeassistant-stubs/components/select/__init__.pyi +4 -2
  458. homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
  459. homeassistant-stubs/components/sensor/__init__.pyi +17 -9
  460. homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
  461. homeassistant-stubs/components/shelly/climate.pyi +8 -7
  462. homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
  463. homeassistant-stubs/components/shelly/cover.pyi +1 -1
  464. homeassistant-stubs/components/shelly/entity.pyi +6 -6
  465. homeassistant-stubs/components/shelly/light.pyi +1 -1
  466. homeassistant-stubs/components/shelly/number.pyi +1 -1
  467. homeassistant-stubs/components/shelly/sensor.pyi +2 -2
  468. homeassistant-stubs/components/shelly/switch.pyi +2 -2
  469. homeassistant-stubs/components/shelly/update.pyi +2 -2
  470. homeassistant-stubs/components/shelly/valve.pyi +1 -1
  471. homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
  472. homeassistant-stubs/components/simplepush/notify.pyi +4 -4
  473. homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
  474. homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
  475. homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
  476. homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
  477. homeassistant-stubs/components/siren/__init__.pyi +4 -2
  478. homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
  479. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  480. homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
  481. homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
  482. homeassistant-stubs/components/smlight/sensor.pyi +1 -1
  483. homeassistant-stubs/components/smlight/update.pyi +2 -2
  484. homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
  485. homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
  486. homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
  487. homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
  488. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
  489. homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
  490. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
  491. homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
  492. homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
  493. homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
  494. homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
  495. homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
  496. homeassistant-stubs/components/statistics/sensor.pyi +15 -15
  497. homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
  498. homeassistant-stubs/components/stream/__init__.pyi +5 -4
  499. homeassistant-stubs/components/stream/core.pyi +7 -6
  500. homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
  501. homeassistant-stubs/components/stream/recorder.pyi +1 -1
  502. homeassistant-stubs/components/stream/worker.pyi +6 -4
  503. homeassistant-stubs/components/sun/entity.pyi +4 -4
  504. homeassistant-stubs/components/switch/__init__.pyi +3 -2
  505. homeassistant-stubs/components/switchbee/climate.pyi +1 -1
  506. homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
  507. homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
  508. homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
  509. homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
  510. homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
  511. homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
  512. homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
  513. homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
  514. homeassistant-stubs/components/system_log/__init__.pyi +1 -1
  515. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
  516. homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
  517. homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
  518. homeassistant-stubs/components/tag/__init__.pyi +1 -1
  519. homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
  520. homeassistant-stubs/components/tcp/entity.pyi +4 -3
  521. homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
  522. homeassistant-stubs/components/text/__init__.pyi +10 -5
  523. homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
  524. homeassistant-stubs/components/tibber/sensor.pyi +5 -4
  525. homeassistant-stubs/components/tile/config_flow.pyi +2 -2
  526. homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
  527. homeassistant-stubs/components/time/__init__.pyi +4 -1
  528. homeassistant-stubs/components/timer/__init__.pyi +7 -7
  529. homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
  530. homeassistant-stubs/components/todo/__init__.pyi +2 -0
  531. homeassistant-stubs/components/tplink/camera.pyi +2 -2
  532. homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
  533. homeassistant-stubs/components/tplink/siren.pyi +1 -1
  534. homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
  535. homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
  536. homeassistant-stubs/components/trace/models.pyi +10 -9
  537. homeassistant-stubs/components/tractive/__init__.pyi +2 -1
  538. homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
  539. homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
  540. homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
  541. homeassistant-stubs/components/tradfri/entity.pyi +1 -1
  542. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
  543. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
  544. homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
  545. homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
  546. homeassistant-stubs/components/tts/__init__.pyi +10 -5
  547. homeassistant-stubs/components/tts/notify.pyi +2 -2
  548. homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
  549. homeassistant-stubs/components/unifi/__init__.pyi +3 -3
  550. homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
  551. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
  552. homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
  553. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
  554. homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
  555. homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
  556. homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
  557. homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
  558. homeassistant-stubs/components/update/__init__.pyi +15 -4
  559. homeassistant-stubs/components/usb/__init__.pyi +7 -4
  560. homeassistant-stubs/components/uvc/camera.pyi +2 -2
  561. homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
  562. homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
  563. homeassistant-stubs/components/velbus/sensor.pyi +1 -1
  564. homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
  565. homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
  566. homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
  567. homeassistant-stubs/components/weather/__init__.pyi +20 -2
  568. homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
  569. homeassistant-stubs/components/webostv/media_player.pyi +1 -1
  570. homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
  571. homeassistant-stubs/components/websocket_api/http.pyi +9 -7
  572. homeassistant-stubs/components/wemo/__init__.pyi +6 -6
  573. homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
  574. homeassistant-stubs/components/withings/coordinator.pyi +2 -2
  575. homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
  576. homeassistant-stubs/components/wled/coordinator.pyi +1 -1
  577. homeassistant-stubs/components/workday/repairs.pyi +3 -3
  578. homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
  579. homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
  580. homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
  581. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
  582. homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
  583. homeassistant-stubs/components/zone/__init__.pyi +3 -3
  584. homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
  585. homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
  586. homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
  587. homeassistant-stubs/components/zwave_js/event.pyi +1 -1
  588. homeassistant-stubs/components/zwave_js/light.pyi +8 -8
  589. homeassistant-stubs/components/zwave_js/number.pyi +1 -1
  590. homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
  591. homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
  592. homeassistant-stubs/components/zwave_js/update.pyi +8 -8
  593. homeassistant-stubs/config_entries.pyi +11 -8
  594. homeassistant-stubs/core.pyi +50 -28
  595. homeassistant-stubs/core_config.pyi +18 -18
  596. homeassistant-stubs/data_entry_flow.pyi +6 -5
  597. homeassistant-stubs/helpers/area_registry.pyi +4 -2
  598. homeassistant-stubs/helpers/category_registry.pyi +1 -1
  599. homeassistant-stubs/helpers/check_config.pyi +2 -3
  600. homeassistant-stubs/helpers/collection.pyi +6 -6
  601. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
  602. homeassistant-stubs/helpers/debounce.pyi +3 -2
  603. homeassistant-stubs/helpers/device_registry.pyi +9 -5
  604. homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
  605. homeassistant-stubs/helpers/dispatcher.pyi +8 -8
  606. homeassistant-stubs/helpers/entity.pyi +43 -14
  607. homeassistant-stubs/helpers/entity_component.pyi +3 -3
  608. homeassistant-stubs/helpers/entity_platform.pyi +12 -12
  609. homeassistant-stubs/helpers/entity_registry.pyi +13 -6
  610. homeassistant-stubs/helpers/entityfilter.pyi +1 -1
  611. homeassistant-stubs/helpers/event.pyi +6 -6
  612. homeassistant-stubs/helpers/frame.pyi +4 -0
  613. homeassistant-stubs/helpers/icon.pyi +2 -2
  614. homeassistant-stubs/helpers/intent.pyi +15 -12
  615. homeassistant-stubs/helpers/issue_registry.pyi +1 -1
  616. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
  617. homeassistant-stubs/helpers/ratelimit.pyi +4 -3
  618. homeassistant-stubs/helpers/restore_state.pyi +3 -3
  619. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
  620. homeassistant-stubs/helpers/script.pyi +16 -10
  621. homeassistant-stubs/helpers/script_variables.pyi +1 -1
  622. homeassistant-stubs/helpers/service.pyi +1 -1
  623. homeassistant-stubs/helpers/significant_change.pyi +1 -1
  624. homeassistant-stubs/helpers/storage.pyi +12 -9
  625. homeassistant-stubs/helpers/template.pyi +22 -18
  626. homeassistant-stubs/helpers/trace.pyi +6 -6
  627. homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
  628. homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
  629. homeassistant-stubs/loader.pyi +23 -4
  630. homeassistant-stubs/requirements.pyi +4 -3
  631. homeassistant-stubs/util/aiohttp.pyi +2 -2
  632. homeassistant-stubs/util/async_.pyi +1 -1
  633. homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
  634. homeassistant-stubs/util/logging.pyi +7 -7
  635. homeassistant-stubs/util/signal_type.pyi +1 -1
  636. homeassistant-stubs/util/timeout.pyi +29 -30
  637. homeassistant-stubs/util/yaml/loader.pyi +4 -1
  638. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
  639. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +641 -641
  640. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
  641. {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -3,6 +3,7 @@ from .const import CONF_APPS as CONF_APPS, CONF_EXCLUDE_UNNAMED_APPS as CONF_EXC
3
3
  from .entity import AndroidTVEntity as AndroidTVEntity, adb_decorator as adb_decorator
4
4
  from _typeshed import Incomplete
5
5
  from androidtv.setup_async import AndroidTVAsync as AndroidTVAsync, FireTVAsync as FireTVAsync
6
+ from datetime import datetime, timedelta
6
7
  from homeassistant.components import persistent_notification as persistent_notification
7
8
  from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState
8
9
  from homeassistant.const import ATTR_COMMAND as ATTR_COMMAND
@@ -29,16 +30,16 @@ class ADBDevice(AndroidTVEntity, MediaPlayerEntity):
29
30
  _attr_device_class: Incomplete
30
31
  _attr_name: Incomplete
31
32
  _entry_id: Incomplete
32
- _media_image: Incomplete
33
+ _media_image: tuple[bytes | None, str | None]
33
34
  _attr_media_image_hash: Incomplete
34
- _app_id_to_name: Incomplete
35
- _app_name_to_id: Incomplete
35
+ _app_id_to_name: dict[str, str]
36
+ _app_name_to_id: dict[str, str]
36
37
  _get_sources: Incomplete
37
38
  _exclude_unnamed_apps: Incomplete
38
- _screencap_delta: Incomplete
39
- _last_screencap: Incomplete
40
- turn_on_command: Incomplete
41
- turn_off_command: Incomplete
39
+ _screencap_delta: timedelta | None
40
+ _last_screencap: datetime | None
41
+ turn_on_command: str | None
42
+ turn_off_command: str | None
42
43
  _attr_extra_state_attributes: Incomplete
43
44
  _failed_connect_count: int
44
45
  def __init__(self, entry: AndroidTVConfigEntry) -> None: ...
@@ -35,8 +35,8 @@ class AndroidTVRemoteConfigFlow(ConfigFlow, domain=DOMAIN):
35
35
  def async_get_options_flow(config_entry: ConfigEntry) -> AndroidTVRemoteOptionsFlowHandler: ...
36
36
 
37
37
  class AndroidTVRemoteOptionsFlowHandler(OptionsFlow):
38
- _apps: Incomplete
39
- _conf_app_id: Incomplete
38
+ _apps: dict[str, Any]
39
+ _conf_app_id: str | None
40
40
  def __init__(self, config_entry: ConfigEntry) -> None: ...
41
41
  def _save_config(self, data: dict[str, Any]) -> ConfigFlowResult: ...
42
42
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -7,6 +7,7 @@ from homeassistant.core import callback as callback
7
7
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
8
8
  from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
9
9
  from homeassistant.helpers.entity import Entity as Entity
10
+ from typing import Any
10
11
 
11
12
  class AndroidTVRemoteBaseEntity(Entity):
12
13
  _attr_name: Incomplete
@@ -15,7 +16,7 @@ class AndroidTVRemoteBaseEntity(Entity):
15
16
  _api: Incomplete
16
17
  _host: Incomplete
17
18
  _name: Incomplete
18
- _apps: Incomplete
19
+ _apps: dict[str, Any]
19
20
  _attr_unique_id: Incomplete
20
21
  _attr_is_on: Incomplete
21
22
  _attr_device_info: Incomplete
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
2
3
  from .const import CONF_APP_ICON as CONF_APP_ICON, CONF_APP_NAME as CONF_APP_NAME
3
4
  from .entity import AndroidTVRemoteBaseEntity as AndroidTVRemoteBaseEntity
@@ -17,7 +18,7 @@ class AndroidTVRemoteMediaPlayerEntity(AndroidTVRemoteBaseEntity, MediaPlayerEnt
17
18
  _attr_assumed_state: bool
18
19
  _attr_device_class: Incomplete
19
20
  _attr_supported_features: Incomplete
20
- _channel_set_task: Incomplete
21
+ _channel_set_task: asyncio.Task | None
21
22
  def __init__(self, api: AndroidTVRemote, config_entry: AndroidTVRemoteConfigEntry) -> None: ...
22
23
  _attr_app_id: Incomplete
23
24
  _attr_app_name: Incomplete
@@ -12,6 +12,6 @@ class AnovaCoordinator(DataUpdateCoordinator[APCUpdate]):
12
12
  config_entry: ConfigEntry
13
13
  device_unique_id: Incomplete
14
14
  anova_device: Incomplete
15
- device_info: Incomplete
15
+ device_info: DeviceInfo | None
16
16
  sensor_data_set: bool
17
17
  def __init__(self, hass: HomeAssistant, anova_device: APCWifiDevice) -> None: ...
@@ -37,8 +37,8 @@ class AppleTVConfigFlow(ConfigFlow, domain=DOMAIN):
37
37
  protocols_to_pair: deque[Protocol] | None
38
38
  @staticmethod
39
39
  def async_get_options_flow(config_entry: ConfigEntry) -> SchemaOptionsFlowHandler: ...
40
- credentials: Incomplete
41
- all_identifiers: Incomplete
40
+ credentials: dict[int, str | None]
41
+ all_identifiers: set[str]
42
42
  def __init__(self) -> None: ...
43
43
  @property
44
44
  def device_identifier(self) -> str | None: ...
@@ -22,8 +22,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: AppleTvConfigEntr
22
22
 
23
23
  class AppleTvMediaPlayer(AppleTVEntity, MediaPlayerEntity, PowerListener, AudioListener, PushListener):
24
24
  _attr_supported_features = SUPPORT_APPLE_TV
25
- _playing: Incomplete
26
- _app_list: Incomplete
25
+ _playing: Playing | None
26
+ _app_list: dict[str, str]
27
27
  def __init__(self, name: str, identifier: str, manager: AppleTVManager) -> None: ...
28
28
  def async_device_connected(self, atv: AppleTV) -> None: ...
29
29
  async def _update_app_list(self) -> None: ...
@@ -13,9 +13,9 @@ def _title(discovery_info: BluetoothServiceInfoBleak) -> str: ...
13
13
 
14
14
  class AranetConfigFlow(ConfigFlow, domain=DOMAIN):
15
15
  VERSION: int
16
- _discovery_info: Incomplete
17
- _discovered_device: Incomplete
18
- _discovered_devices: Incomplete
16
+ _discovery_info: BluetoothServiceInfoBleak | None
17
+ _discovered_device: Aranet4Advertisement | None
18
+ _discovered_devices: dict[str, tuple[str, Aranet4Advertisement]]
19
19
  def __init__(self) -> None: ...
20
20
  def _raise_for_advertisement_errors(self, adv: Aranet4Advertisement) -> None: ...
21
21
  async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfoBleak) -> ConfigFlowResult: ...
@@ -13,7 +13,7 @@ async def async_get_scanner(hass: HomeAssistant, config: ConfigType) -> ArrisDev
13
13
 
14
14
  class ArrisDeviceScanner(DeviceScanner):
15
15
  connect_box: Incomplete
16
- last_results: Incomplete
16
+ last_results: list[Device]
17
17
  def __init__(self, connect_box: ConnectBox) -> None: ...
18
18
  async def async_scan_devices(self) -> list[str]: ...
19
19
  async def async_get_device_name(self, device: str) -> str | None: ...
@@ -12,10 +12,10 @@ PLATFORM_SCHEMA: Incomplete
12
12
  def get_scanner(hass: HomeAssistant, config: ConfigType) -> ArubaDeviceScanner | None: ...
13
13
 
14
14
  class ArubaDeviceScanner(DeviceScanner):
15
- host: Incomplete
16
- username: Incomplete
17
- password: Incomplete
18
- last_results: Incomplete
15
+ host: str
16
+ username: str
17
+ password: str
18
+ last_results: dict[str, dict[str, str]]
19
19
  success_init: Incomplete
20
20
  def __init__(self, config: dict[str, Any]) -> None: ...
21
21
  def scan_devices(self) -> list[str]: ...
@@ -3,6 +3,8 @@ from .const import BYTES_PER_CHUNK as BYTES_PER_CHUNK
3
3
  from _typeshed import Incomplete
4
4
  from abc import ABC, abstractmethod
5
5
  from dataclasses import dataclass
6
+ from pymicro_vad import MicroVad
7
+ from pyspeex_noise import AudioProcessor
6
8
 
7
9
  _LOGGER: Incomplete
8
10
 
@@ -22,9 +24,9 @@ class AudioEnhancer(ABC, metaclass=abc.ABCMeta):
22
24
  def enhance_chunk(self, audio: bytes, timestamp_ms: int) -> EnhancedAudioChunk: ...
23
25
 
24
26
  class MicroVadSpeexEnhancer(AudioEnhancer):
25
- audio_processor: Incomplete
27
+ audio_processor: AudioProcessor | None
26
28
  noise_suppression: Incomplete
27
29
  auto_gain: Incomplete
28
- vad: Incomplete
30
+ vad: MicroVad | None
29
31
  def __init__(self, auto_gain: int, noise_suppression: int, is_vad_enabled: bool) -> None: ...
30
32
  def enhance_chunk(self, audio: bytes, timestamp_ms: int) -> EnhancedAudioChunk: ...
@@ -212,7 +212,7 @@ class PipelineStorageCollectionWebsocket(StorageCollectionWebsocket[PipelineStor
212
212
  async def ws_set_preferred_item(self, hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
213
213
 
214
214
  class PipelineRuns:
215
- _pipeline_runs: Incomplete
215
+ _pipeline_runs: dict[str, dict[str, PipelineRun]]
216
216
  _pipeline_store: Incomplete
217
217
  def __init__(self, pipeline_store: PipelineStorageCollection) -> None: ...
218
218
  def add_run(self, pipeline_run: PipelineRun) -> None: ...
@@ -234,10 +234,10 @@ class AssistDevice:
234
234
 
235
235
  class PipelineData:
236
236
  pipeline_store: Incomplete
237
- pipeline_debug: Incomplete
238
- pipeline_devices: Incomplete
237
+ pipeline_debug: dict[str, LimitedSizeDict[str, PipelineRunDebug]]
238
+ pipeline_devices: dict[str, AssistDevice]
239
239
  pipeline_runs: Incomplete
240
- device_audio_queues: Incomplete
240
+ device_audio_queues: dict[str, DeviceAudioQueue]
241
241
  def __init__(self, pipeline_store: PipelineStorageCollection) -> None: ...
242
242
 
243
243
  @dataclass(slots=True)
@@ -26,7 +26,6 @@ class AssistSatelliteState(StrEnum):
26
26
 
27
27
  class AssistSatelliteEntityDescription(EntityDescription, frozen_or_thawed=True):
28
28
  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: ...
29
- 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: ...
30
29
 
31
30
  @dataclass(frozen=True)
32
31
  class AssistSatelliteWakeWord:
@@ -37,9 +37,9 @@ class AsusWrtBridge(ABC, metaclass=abc.ABCMeta):
37
37
  @staticmethod
38
38
  def get_bridge(hass: HomeAssistant, conf: dict[str, Any], options: dict[str, Any] | None = None) -> AsusWrtBridge: ...
39
39
  _host: Incomplete
40
- _firmware: Incomplete
41
- _label_mac: Incomplete
42
- _model: Incomplete
40
+ _firmware: str | None
41
+ _label_mac: str | None
42
+ _model: str | None
43
43
  def __init__(self, host: str) -> None: ...
44
44
  @property
45
45
  def host(self) -> str: ...
@@ -62,8 +62,8 @@ class AsusWrtBridge(ABC, metaclass=abc.ABCMeta):
62
62
  async def async_get_available_sensors(self) -> dict[str, dict[str, Any]]: ...
63
63
 
64
64
  class AsusWrtLegacyBridge(AsusWrtBridge):
65
- _protocol: Incomplete
66
- _api: Incomplete
65
+ _protocol: str
66
+ _api: AsusWrtLegacy
67
67
  def __init__(self, conf: dict[str, Any], options: dict[str, Any] | None = None) -> None: ...
68
68
  @staticmethod
69
69
  def _get_api(conf: dict[str, Any], options: dict[str, Any] | None = None) -> AsusWrtLegacy: ...
@@ -87,7 +87,7 @@ class AsusWrtLegacyBridge(AsusWrtBridge):
87
87
  async def _get_temperatures(self) -> Any: ...
88
88
 
89
89
  class AsusWrtHttpBridge(AsusWrtBridge):
90
- _api: Incomplete
90
+ _api: AsusWrtHttp
91
91
  def __init__(self, conf: dict[str, Any], session: ClientSession) -> None: ...
92
92
  @staticmethod
93
93
  def _get_api(conf: dict[str, Any], session: ClientSession) -> AsusWrtHttp: ...
@@ -30,7 +30,7 @@ def _get_ip(host: str) -> str | None: ...
30
30
 
31
31
  class AsusWrtFlowHandler(ConfigFlow, domain=DOMAIN):
32
32
  VERSION: int
33
- _config_data: Incomplete
33
+ _config_data: dict[str, Any]
34
34
  def __init__(self) -> None: ...
35
35
  def _show_setup_form(self, error: str | None = None) -> ConfigFlowResult: ...
36
36
  async def _async_check_connection(self, user_input: dict[str, Any]) -> tuple[str, str | None]: ...
@@ -32,8 +32,8 @@ class AsusWrtSensorDataHandler:
32
32
  class AsusWrtDevInfo:
33
33
  _mac: Incomplete
34
34
  _name: Incomplete
35
- _ip_address: Incomplete
36
- _last_activity: Incomplete
35
+ _ip_address: str | None
36
+ _last_activity: datetime | None
37
37
  _connected: bool
38
38
  def __init__(self, mac: str, name: str | None = None) -> None: ...
39
39
  def update(self, dev_info: WrtDevice | None = None, consider_home: int = 0) -> None: ...
@@ -51,14 +51,14 @@ class AsusWrtDevInfo:
51
51
  class AsusWrtRouter:
52
52
  hass: Incomplete
53
53
  _entry: Incomplete
54
- _devices: Incomplete
54
+ _devices: dict[str, AsusWrtDevInfo]
55
55
  _connected_devices: int
56
56
  _connect_error: bool
57
- _sensors_data_handler: Incomplete
58
- _sensors_coordinator: Incomplete
59
- _on_close: Incomplete
60
- _options: Incomplete
61
- _api: Incomplete
57
+ _sensors_data_handler: AsusWrtSensorDataHandler | None
58
+ _sensors_coordinator: dict[str, Any]
59
+ _on_close: list[Callable]
60
+ _options: dict[str, Any]
61
+ _api: AsusWrtBridge
62
62
  def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
63
63
  def _migrate_entities_unique_id(self) -> None: ...
64
64
  async def setup(self) -> None: ...
@@ -10,7 +10,7 @@ async def verify_redirect_uri(hass: HomeAssistant, client_id: str, redirect_uri:
10
10
 
11
11
  class LinkTagParser(HTMLParser):
12
12
  rel: Incomplete
13
- found: Incomplete
13
+ found: list[str | None]
14
14
  def __init__(self, rel: str) -> None: ...
15
15
  def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None: ...
16
16
 
@@ -26,6 +26,7 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
26
26
  from homeassistant.loader import bind_hass as bind_hass
27
27
  from homeassistant.util.dt import parse_datetime as parse_datetime
28
28
  from homeassistant.util.hass_dict import HassKey as HassKey
29
+ from propcache import cached_property
29
30
  from typing import Any, Protocol
30
31
 
31
32
  DATA_COMPONENT: HassKey[EntityComponent[BaseAutomationEntity]]
@@ -66,17 +67,22 @@ class BaseAutomationEntity(ToggleEntity, ABC, metaclass=abc.ABCMeta):
66
67
  raw_config: ConfigType | None
67
68
  @property
68
69
  def capability_attributes(self) -> dict[str, Any] | None: ...
70
+ @cached_property
69
71
  @abstractmethod
70
72
  def referenced_labels(self) -> set[str]: ...
73
+ @cached_property
71
74
  @abstractmethod
72
75
  def referenced_floors(self) -> set[str]: ...
76
+ @cached_property
73
77
  @abstractmethod
74
78
  def referenced_areas(self) -> set[str]: ...
75
79
  @property
76
80
  @abstractmethod
77
81
  def referenced_blueprint(self) -> str | None: ...
82
+ @cached_property
78
83
  @abstractmethod
79
84
  def referenced_devices(self) -> set[str]: ...
85
+ @cached_property
80
86
  @abstractmethod
81
87
  def referenced_entities(self) -> set[str]: ...
82
88
  @abstractmethod
@@ -91,12 +97,17 @@ class UnavailableAutomationEntity(BaseAutomationEntity):
91
97
  _validation_error: Incomplete
92
98
  _validation_status: Incomplete
93
99
  def __init__(self, automation_id: str | None, name: str, raw_config: ConfigType | None, validation_error: str, validation_status: ValidationStatus) -> None: ...
100
+ @cached_property
94
101
  def referenced_labels(self) -> set[str]: ...
102
+ @cached_property
95
103
  def referenced_floors(self) -> set[str]: ...
104
+ @cached_property
96
105
  def referenced_areas(self) -> set[str]: ...
97
106
  @property
98
107
  def referenced_blueprint(self) -> str | None: ...
108
+ @cached_property
99
109
  def referenced_devices(self) -> set[str]: ...
110
+ @cached_property
100
111
  def referenced_entities(self) -> set[str]: ...
101
112
  async def async_added_to_hass(self) -> None: ...
102
113
  async def async_will_remove_from_hass(self) -> None: ...
@@ -106,7 +117,7 @@ class AutomationEntity(BaseAutomationEntity, RestoreEntity):
106
117
  _attr_should_poll: bool
107
118
  _attr_name: Incomplete
108
119
  _trigger_config: Incomplete
109
- _async_detach_triggers: Incomplete
120
+ _async_detach_triggers: CALLBACK_TYPE | None
110
121
  _cond_func: Incomplete
111
122
  action_script: Incomplete
112
123
  _initial_state: Incomplete
@@ -127,10 +138,13 @@ class AutomationEntity(BaseAutomationEntity, RestoreEntity):
127
138
  def referenced_labels(self) -> set[str]: ...
128
139
  @property
129
140
  def referenced_floors(self) -> set[str]: ...
141
+ @cached_property
130
142
  def referenced_areas(self) -> set[str]: ...
131
143
  @property
132
144
  def referenced_blueprint(self) -> str | None: ...
145
+ @cached_property
133
146
  def referenced_devices(self) -> set[str]: ...
147
+ @cached_property
134
148
  def referenced_entities(self) -> set[str]: ...
135
149
  async def async_added_to_hass(self) -> None: ...
136
150
  async def async_turn_on(self, **kwargs: Any) -> None: ...
@@ -1,5 +1,4 @@
1
1
  from .const import DOMAIN as DOMAIN
2
- from _typeshed import Incomplete
3
2
  from collections.abc import Generator
4
3
  from homeassistant.components.trace import ActionTrace as ActionTrace, CONF_STORED_TRACES as CONF_STORED_TRACES, async_store_trace as async_store_trace
5
4
  from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant
@@ -8,7 +7,7 @@ from typing import Any
8
7
 
9
8
  class AutomationTrace(ActionTrace):
10
9
  _domain = DOMAIN
11
- _trigger_description: Incomplete
10
+ _trigger_description: str | None
12
11
  def __init__(self, item_id: str | None, config: ConfigType | None, blueprint_inputs: ConfigType | None, context: Context) -> None: ...
13
12
  def set_trigger_description(self, trigger: str) -> None: ...
14
13
  def as_short_dict(self) -> dict[str, Any]: ...
@@ -35,6 +35,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: AxisConfigEntry,
35
35
  class AxisBinarySensor(AxisEventEntity, BinarySensorEntity):
36
36
  entity_description: AxisBinarySensorDescription
37
37
  _attr_is_on: Incomplete
38
- cancel_scheduled_update: Incomplete
38
+ cancel_scheduled_update: Callable[[], None] | None
39
39
  def __init__(self, hub: AxisHub, description: AxisBinarySensorDescription, event: Event) -> None: ...
40
40
  def async_event_callback(self, event: Event) -> None: ...
@@ -22,8 +22,8 @@ class AxisFlowHandler(ConfigFlow, domain=AXIS_DOMAIN):
22
22
  VERSION: int
23
23
  @staticmethod
24
24
  def async_get_options_flow(config_entry: ConfigEntry) -> AxisOptionsFlowHandler: ...
25
- config: Incomplete
26
- discovery_schema: Incomplete
25
+ config: dict[str, Any]
26
+ discovery_schema: VolDictType | None
27
27
  def __init__(self) -> None: ...
28
28
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
29
29
  async def _create_entry(self, serial: str) -> ConfigFlowResult: ...
@@ -1,14 +1,14 @@
1
1
  from ..entity import AxisEventDescription as AxisEventDescription, AxisEventEntity as AxisEventEntity
2
2
  from .hub import AxisHub as AxisHub
3
3
  from _typeshed import Incomplete
4
- from axis.models.event import Event as Event
4
+ from axis.models.event import Event as Event, EventTopic
5
5
  from homeassistant.core import callback as callback
6
6
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
7
7
 
8
8
  class AxisEntityLoader:
9
9
  hub: Incomplete
10
- registered_events: Incomplete
11
- topic_to_entity: Incomplete
10
+ registered_events: set[tuple[str, EventTopic, str]]
11
+ topic_to_entity: dict[EventTopic, list[tuple[AddEntitiesCallback, type[AxisEventEntity], AxisEventDescription]]]
12
12
  def __init__(self, hub: AxisHub) -> None: ...
13
13
  def register_platform(self, async_add_entities: AddEntitiesCallback, entity_class: type[AxisEventEntity], descriptions: tuple[AxisEventDescription, ...]) -> None: ...
14
14
  def _create_entities_from_event(self, event: Event) -> None: ...
@@ -8,6 +8,7 @@ from _typeshed import Incomplete
8
8
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
9
9
  from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, format_mac as format_mac
10
10
  from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
11
+ from typing import Any
11
12
 
12
13
  class AxisHub:
13
14
  hass: Incomplete
@@ -18,7 +19,7 @@ class AxisHub:
18
19
  fw_version: Incomplete
19
20
  product_type: Incomplete
20
21
  unique_id: Incomplete
21
- additional_diagnostics: Incomplete
22
+ additional_diagnostics: dict[str, Any]
22
23
  def __init__(self, hass: HomeAssistant, config_entry: AxisConfigEntry, api: axis.AxisDevice) -> None: ...
23
24
  @property
24
25
  def available(self) -> bool: ...
@@ -4,6 +4,7 @@ from collections.abc import AsyncIterator, Callable as Callable, Coroutine
4
4
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
5
5
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
6
6
  from pathlib import Path
7
+ from propcache import cached_property
7
8
  from typing import Any, Protocol
8
9
 
9
10
  class BackupAgentError(HomeAssistantError): ...
@@ -14,6 +15,7 @@ class BackupAgentUnreachableError(BackupAgentError):
14
15
  class BackupAgent(abc.ABC, metaclass=abc.ABCMeta):
15
16
  domain: str
16
17
  name: str
18
+ @cached_property
17
19
  def agent_id(self) -> str: ...
18
20
  @abc.abstractmethod
19
21
  async def async_download_backup(self, backup_id: str, **kwargs: Any) -> AsyncIterator[bytes]: ...
@@ -16,7 +16,7 @@ class CoreLocalBackupAgent(LocalBackupAgent):
16
16
  name: str
17
17
  _hass: Incomplete
18
18
  _backup_dir: Incomplete
19
- _backups: Incomplete
19
+ _backups: dict[str, AgentBackup]
20
20
  _loaded_backups: bool
21
21
  def __init__(self, hass: HomeAssistant) -> None: ...
22
22
  async def _load_backups(self) -> None: ...
@@ -133,20 +133,20 @@ class IncorrectPasswordError(BackupReaderWriterError): ...
133
133
 
134
134
  class BackupManager:
135
135
  hass: Incomplete
136
- platforms: Incomplete
137
- backup_agent_platforms: Incomplete
138
- backup_agents: Incomplete
139
- local_backup_agents: Incomplete
136
+ platforms: dict[str, BackupPlatformProtocol]
137
+ backup_agent_platforms: dict[str, BackupAgentPlatformProtocol]
138
+ backup_agents: dict[str, BackupAgent]
139
+ local_backup_agents: dict[str, LocalBackupAgent]
140
140
  config: Incomplete
141
141
  _reader_writer: Incomplete
142
142
  known_backups: Incomplete
143
143
  store: Incomplete
144
- _backup_task: Incomplete
145
- _backup_finish_task: Incomplete
146
- remove_next_backup_event: Incomplete
147
- remove_next_delete_event: Incomplete
148
- last_event: Incomplete
149
- _backup_event_subscriptions: Incomplete
144
+ _backup_task: asyncio.Task[WrittenBackup] | None
145
+ _backup_finish_task: asyncio.Task[None] | None
146
+ remove_next_backup_event: Callable[[], None] | None
147
+ remove_next_delete_event: Callable[[], None] | None
148
+ last_event: ManagerStateEvent
149
+ _backup_event_subscriptions: list[Callable[[ManagerStateEvent], None]]
150
150
  def __init__(self, hass: HomeAssistant, reader_writer: BackupReaderWriter) -> None: ...
151
151
  async def async_setup(self) -> None: ...
152
152
  @property
@@ -178,7 +178,7 @@ class BackupManager:
178
178
  def _update_issue_after_agent_upload(self, agent_errors: dict[str, Exception]) -> None: ...
179
179
 
180
180
  class KnownBackups:
181
- _backups: Incomplete
181
+ _backups: dict[str, KnownBackup]
182
182
  _manager: Incomplete
183
183
  def __init__(self, manager: BackupManager) -> None: ...
184
184
  def load(self, stored_backups: list[StoredKnownBackup]) -> None: ...
@@ -17,7 +17,7 @@ class StoredBackupData(TypedDict):
17
17
  class BackupStore:
18
18
  _hass: Incomplete
19
19
  _manager: Incomplete
20
- _store: Incomplete
20
+ _store: Store[StoredBackupData]
21
21
  def __init__(self, hass: HomeAssistant, manager: BackupManager) -> None: ...
22
22
  async def load(self) -> StoredBackupData | None: ...
23
23
  def save(self) -> None: ...
@@ -13,7 +13,7 @@ async def async_try_connect(ip_address: str) -> Device: ...
13
13
 
14
14
  class BAFFlowHandler(ConfigFlow, domain=DOMAIN):
15
15
  VERSION: int
16
- discovery: Incomplete
16
+ discovery: BAFDiscovery | None
17
17
  def __init__(self) -> None: ...
18
18
  async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
19
19
  async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -5,19 +5,20 @@ from homeassistant.const import CONF_HOST as CONF_HOST
5
5
  from homeassistant.core import callback as callback
6
6
  from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
7
7
  from homeassistant.helpers.entity import Entity as Entity
8
+ from mozart_api.models import PlaybackContentMetadata, PlaybackProgress, RenderingState, Source, VolumeState
8
9
  from mozart_api.mozart_client import MozartClient as MozartClient
9
10
 
10
11
  class BangOlufsenBase:
11
12
  _client: Incomplete
12
- entry: Incomplete
13
- _host: Incomplete
14
- _unique_id: Incomplete
15
- _playback_metadata: Incomplete
16
- _playback_progress: Incomplete
17
- _playback_source: Incomplete
18
- _playback_state: Incomplete
19
- _source_change: Incomplete
20
- _volume: Incomplete
13
+ entry: ConfigEntry
14
+ _host: str
15
+ _unique_id: str
16
+ _playback_metadata: PlaybackContentMetadata
17
+ _playback_progress: PlaybackProgress
18
+ _playback_source: Source
19
+ _playback_state: RenderingState
20
+ _source_change: Source
21
+ _volume: VolumeState
21
22
  def __init__(self, entry: ConfigEntry, client: MozartClient) -> None: ...
22
23
 
23
24
  class BangOlufsenEntity(Entity, BangOlufsenBase):
@@ -14,7 +14,7 @@ from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
14
14
  from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
15
15
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback, async_get_current_platform as async_get_current_platform
16
16
  from homeassistant.util.dt import utcnow as utcnow
17
- from mozart_api.models import BeolinkLeader as BeolinkLeader, ListeningModeProps as ListeningModeProps, ListeningModeRef as ListeningModeRef, PlaybackContentMetadata as PlaybackContentMetadata, PlaybackError as PlaybackError, PlaybackProgress, RenderingState as RenderingState, Source, VolumeState as VolumeState
17
+ from mozart_api.models import Art, BeolinkLeader as BeolinkLeader, ListeningModeProps as ListeningModeProps, ListeningModeRef as ListeningModeRef, PlaybackContentMetadata as PlaybackContentMetadata, PlaybackError as PlaybackError, PlaybackProgress, RenderingState as RenderingState, SoftwareUpdateStatus, Source, VolumeState as VolumeState
18
18
  from mozart_api.mozart_client import MozartClient as MozartClient
19
19
  from typing import Any
20
20
 
@@ -28,21 +28,21 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: BangOlufsenConfig
28
28
  class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
29
29
  _attr_name: Incomplete
30
30
  _attr_device_class: Incomplete
31
- _beolink_jid: Incomplete
32
- _model: Incomplete
31
+ _beolink_jid: str
32
+ _model: str
33
33
  _attr_device_info: Incomplete
34
34
  _attr_unique_id: Incomplete
35
35
  _attr_should_poll: bool
36
- _audio_sources: Incomplete
37
- _media_image: Incomplete
38
- _software_status: Incomplete
39
- _sources: Incomplete
40
- _state: Incomplete
41
- _video_sources: Incomplete
42
- _sound_modes: Incomplete
43
- _beolink_sources: Incomplete
44
- _remote_leader: Incomplete
45
- _beolink_attributes: Incomplete
36
+ _audio_sources: dict[str, str]
37
+ _media_image: Art
38
+ _software_status: SoftwareUpdateStatus
39
+ _sources: dict[str, str]
40
+ _state: str
41
+ _video_sources: dict[str, str]
42
+ _sound_modes: dict[str, int]
43
+ _beolink_sources: dict[str, bool]
44
+ _remote_leader: BeolinkLeader | None
45
+ _beolink_attributes: dict[str, dict[str, dict[str, str]]]
46
46
  def __init__(self, entry: ConfigEntry, client: MozartClient) -> None: ...
47
47
  async def async_added_to_hass(self) -> None: ...
48
48
  _volume: Incomplete
@@ -41,13 +41,13 @@ class BayesianBinarySensor(BinarySensorEntity):
41
41
  _probability_threshold: Incomplete
42
42
  _attr_device_class: Incomplete
43
43
  _attr_is_on: bool
44
- _callbacks: Incomplete
44
+ _callbacks: list[TrackTemplateResultInfo]
45
45
  prior: Incomplete
46
46
  probability: Incomplete
47
- current_observations: Incomplete
47
+ current_observations: OrderedDict[UUID, Observation]
48
48
  observations_by_entity: Incomplete
49
49
  observations_by_template: Incomplete
50
- observation_handlers: Incomplete
50
+ observation_handlers: dict[str, Callable[[Observation, bool], bool | None]]
51
51
  def __init__(self, name: str, unique_id: str | None, prior: float, observations: list[ConfigType], probability_threshold: float, device_class: BinarySensorDeviceClass | None) -> None: ...
52
52
  async def async_added_to_hass(self) -> None: ...
53
53
  def _recalculate_and_write_state(self) -> None: ...