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
@@ -8,6 +8,7 @@ from homeassistant.helpers.entity import Entity as Entity, EntityDescription as
8
8
  from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
9
9
  from homeassistant.helpers.typing import ConfigType as ConfigType
10
10
  from homeassistant.util.hass_dict import HassKey as HassKey
11
+ from propcache import cached_property
11
12
  from typing import Literal
12
13
 
13
14
  _LOGGER: Incomplete
@@ -56,9 +57,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
56
57
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
57
58
 
58
59
  class BinarySensorEntityDescription(EntityDescription, frozen_or_thawed=True):
59
- device_class: BinarySensorDeviceClass | None
60
+ device_class: BinarySensorDeviceClass | None = ...
60
61
  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: ...
61
- 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: ...
62
62
 
63
63
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
64
64
 
@@ -69,7 +69,9 @@ class BinarySensorEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_)
69
69
  _attr_state: None
70
70
  async def async_internal_added_to_hass(self) -> None: ...
71
71
  def _default_to_device_class_name(self) -> bool: ...
72
+ @cached_property
72
73
  def device_class(self) -> BinarySensorDeviceClass | None: ...
74
+ @cached_property
73
75
  def is_on(self) -> bool | None: ...
74
76
  @property
75
77
  def state(self) -> Literal['on', 'off'] | None: ...
@@ -6,6 +6,7 @@ from homeassistant.const import ATTR_NAME as ATTR_NAME, CONF_API_TOKEN as CONF_A
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant
7
7
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
8
8
  from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
9
+ from typing import Any
9
10
 
10
11
  type BlueCurrentConfigEntry = ConfigEntry[Connector]
11
12
  PLATFORMS: Incomplete
@@ -23,8 +24,8 @@ class Connector:
23
24
  config: Incomplete
24
25
  hass: Incomplete
25
26
  client: Incomplete
26
- charge_points: Incomplete
27
- grid: Incomplete
27
+ charge_points: dict[str, dict]
28
+ grid: dict[str, Any]
28
29
  def __init__(self, hass: HomeAssistant, config: BlueCurrentConfigEntry, client: Client) -> None: ...
29
30
  async def on_data(self, message: dict) -> None: ...
30
31
  async def handle_charge_point_data(self, charge_points_data: list) -> None: ...
@@ -42,7 +42,7 @@ class DomainBlueprints:
42
42
  logger: Incomplete
43
43
  _blueprint_in_use: Incomplete
44
44
  _reload_blueprint_consumers: Incomplete
45
- _blueprints: Incomplete
45
+ _blueprints: dict[str, Blueprint | None]
46
46
  _load_lock: Incomplete
47
47
  _blueprint_schema: Incomplete
48
48
  def __init__(self, hass: HomeAssistant, domain: str, logger: logging.Logger, blueprint_in_use: Callable[[HomeAssistant, str], bool], reload_blueprint_consumers: Callable[[HomeAssistant, str], Awaitable[None]], blueprint_schema: Callable[[Any], Any]) -> None: ...
@@ -14,9 +14,9 @@ _LOGGER: Incomplete
14
14
  class BluesoundConfigFlow(ConfigFlow, domain=DOMAIN):
15
15
  VERSION: int
16
16
  MINOR_VERSION: int
17
- _host: Incomplete
17
+ _host: str | None
18
18
  _port: Incomplete
19
- _sync_status: Incomplete
19
+ _sync_status: SyncStatus | None
20
20
  def __init__(self) -> None: ...
21
21
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
22
22
  async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult: ...
@@ -2,6 +2,7 @@ from . import BluesoundConfigEntry as BluesoundConfigEntry
2
2
  from .const import ATTR_BLUESOUND_GROUP as ATTR_BLUESOUND_GROUP, ATTR_MASTER as ATTR_MASTER, DOMAIN as DOMAIN, INTEGRATION_TITLE as INTEGRATION_TITLE
3
3
  from .utils import dispatcher_join_signal as dispatcher_join_signal, dispatcher_unjoin_signal as dispatcher_unjoin_signal, format_unique_id as format_unique_id
4
4
  from _typeshed import Incomplete
5
+ from asyncio import Task
5
6
  from datetime import datetime
6
7
  from homeassistant.components import media_source as media_source
7
8
  from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, async_process_play_media_url as async_process_play_media_url
@@ -42,20 +43,20 @@ class BluesoundPlayer(MediaPlayerEntity):
42
43
  _attr_name: Incomplete
43
44
  host: Incomplete
44
45
  port: Incomplete
45
- _poll_status_loop_task: Incomplete
46
- _poll_sync_status_loop_task: Incomplete
46
+ _poll_status_loop_task: Task[None] | None
47
+ _poll_sync_status_loop_task: Task[None] | None
47
48
  _id: Incomplete
48
- _last_status_update: Incomplete
49
+ _last_status_update: datetime | None
49
50
  _sync_status: Incomplete
50
- _status: Incomplete
51
- _inputs: Incomplete
52
- _presets: Incomplete
53
- _group_name: Incomplete
54
- _group_list: Incomplete
51
+ _status: Status | None
52
+ _inputs: list[Input]
53
+ _presets: list[Preset]
54
+ _group_name: str | None
55
+ _group_list: list[str]
55
56
  _bluesound_device_name: Incomplete
56
57
  _player: Incomplete
57
58
  _is_leader: bool
58
- _leader: Incomplete
59
+ _leader: BluesoundPlayer | None
59
60
  _attr_unique_id: Incomplete
60
61
  _attr_device_info: Incomplete
61
62
  def __init__(self, host: str, port: int, player: Player, sync_status: SyncStatus) -> None: ...
@@ -11,12 +11,12 @@ POLL_DEFAULT_COOLDOWN: int
11
11
  POLL_DEFAULT_IMMEDIATE: bool
12
12
 
13
13
  class ActiveBluetoothDataUpdateCoordinator[_T](PassiveBluetoothDataUpdateCoordinator):
14
- data: Incomplete
14
+ data: _T
15
15
  _needs_poll_method: Incomplete
16
16
  _poll_method: Incomplete
17
- _last_poll: Incomplete
17
+ _last_poll: float | None
18
18
  last_poll_successful: bool
19
- _last_service_info: Incomplete
19
+ _last_service_info: BluetoothServiceInfoBleak | None
20
20
  _debounced_poll: Incomplete
21
21
  def __init__(self, hass: HomeAssistant, logger: logging.Logger, *, address: str, mode: BluetoothScanningMode, needs_poll_method: Callable[[BluetoothServiceInfoBleak, float | None], bool], poll_method: Callable[[BluetoothServiceInfoBleak], Coroutine[Any, Any, _T]] | None = None, poll_debouncer: Debouncer[Coroutine[Any, Any, None]] | None = None, connectable: bool = True) -> None: ...
22
22
  def needs_poll(self, service_info: BluetoothServiceInfoBleak) -> bool: ...
@@ -13,9 +13,9 @@ POLL_DEFAULT_IMMEDIATE: bool
13
13
  class ActiveBluetoothProcessorCoordinator[_DataT](PassiveBluetoothProcessorCoordinator[_DataT]):
14
14
  _needs_poll_method: Incomplete
15
15
  _poll_method: Incomplete
16
- _last_poll: Incomplete
16
+ _last_poll: float | None
17
17
  last_poll_successful: bool
18
- _last_service_info: Incomplete
18
+ _last_service_info: BluetoothServiceInfoBleak | None
19
19
  _debounced_poll: Incomplete
20
20
  def __init__(self, hass: HomeAssistant, logger: logging.Logger, *, address: str, mode: BluetoothScanningMode, update_method: Callable[[BluetoothServiceInfoBleak], _DataT], needs_poll_method: Callable[[BluetoothServiceInfoBleak, float | None], bool], poll_method: Callable[[BluetoothServiceInfoBleak], Coroutine[Any, Any, _DataT]] | None = None, poll_debouncer: Debouncer[Coroutine[Any, Any, None]] | None = None, connectable: bool = True) -> None: ...
21
21
  def needs_poll(self, service_info: BluetoothServiceInfoBleak) -> bool: ...
@@ -16,10 +16,10 @@ def adapter_display_info(adapter: str, details: AdapterDetails) -> str: ...
16
16
 
17
17
  class BluetoothConfigFlow(ConfigFlow, domain=DOMAIN):
18
18
  VERSION: int
19
- _adapter: Incomplete
20
- _details: Incomplete
21
- _adapters: Incomplete
22
- _placeholders: Incomplete
19
+ _adapter: str | None
20
+ _details: AdapterDetails | None
21
+ _adapters: dict[str, AdapterDetails]
22
+ _placeholders: dict[str, str]
23
23
  def __init__(self) -> None: ...
24
24
  async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...
25
25
  def _async_set_adapter_info(self, adapter: str, details: AdapterDetails) -> None: ...
@@ -22,7 +22,7 @@ class HomeAssistantBluetoothManager(BluetoothManager):
22
22
  storage: Incomplete
23
23
  _integration_matcher: Incomplete
24
24
  _callback_index: Incomplete
25
- _cancel_logging_listener: Incomplete
25
+ _cancel_logging_listener: CALLBACK_TYPE | None
26
26
  def __init__(self, hass: HomeAssistant, integration_matcher: IntegrationMatcher, bluetooth_adapters: BluetoothAdapters, storage: BluetoothStorage, slot_manager: BleakSlotManager) -> None: ...
27
27
  _debug: Incomplete
28
28
  def _async_logging_changed(self, event: Event | None = None) -> None: ...
@@ -2,9 +2,11 @@ import re
2
2
  from .models import BluetoothCallback as BluetoothCallback, BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
3
3
  from _typeshed import Incomplete
4
4
  from bleak.backends.scanner import AdvertisementData as AdvertisementData
5
+ from collections import defaultdict
5
6
  from dataclasses import dataclass
6
7
  from homeassistant.core import callback as callback
7
8
  from homeassistant.loader import BluetoothMatcher as BluetoothMatcher, BluetoothMatcherOptional as BluetoothMatcherOptional
9
+ from lru import LRU
8
10
  from typing import Final, TypedDict
9
11
 
10
12
  MAX_REMEMBER_ADDRESSES: Final[int]
@@ -41,8 +43,8 @@ def seen_all_fields(previous_match: IntegrationMatchHistory, advertisement_data:
41
43
  class IntegrationMatcher:
42
44
  __slots__: Incomplete
43
45
  _integration_matchers: Incomplete
44
- _matched: Incomplete
45
- _matched_connectable: Incomplete
46
+ _matched: LRU[str, IntegrationMatchHistory]
47
+ _matched_connectable: LRU[str, IntegrationMatchHistory]
46
48
  _index: Incomplete
47
49
  def __init__(self, integration_matchers: list[BluetoothMatcher]) -> None: ...
48
50
  def async_setup(self) -> None: ...
@@ -51,13 +53,13 @@ class IntegrationMatcher:
51
53
 
52
54
  class BluetoothMatcherIndexBase[_T: (BluetoothMatcher, BluetoothCallbackMatcherWithCallback)]:
53
55
  __slots__: Incomplete
54
- local_name: Incomplete
55
- service_uuid: Incomplete
56
- service_data_uuid: Incomplete
57
- manufacturer_id: Incomplete
58
- service_uuid_set: Incomplete
59
- service_data_uuid_set: Incomplete
60
- manufacturer_id_set: Incomplete
56
+ local_name: defaultdict[str, list[_T]]
57
+ service_uuid: defaultdict[str, list[_T]]
58
+ service_data_uuid: defaultdict[str, list[_T]]
59
+ manufacturer_id: defaultdict[int, list[_T]]
60
+ service_uuid_set: set[str]
61
+ service_data_uuid_set: set[str]
62
+ manufacturer_id_set: set[int]
61
63
  def __init__(self) -> None: ...
62
64
  def add(self, matcher: _T) -> bool: ...
63
65
  def remove(self, matcher: _T) -> bool: ...
@@ -68,8 +70,8 @@ class BluetoothMatcherIndex(BluetoothMatcherIndexBase[BluetoothMatcher]): ...
68
70
 
69
71
  class BluetoothCallbackMatcherIndex(BluetoothMatcherIndexBase[BluetoothCallbackMatcherWithCallback]):
70
72
  __slots__: Incomplete
71
- address: Incomplete
72
- connectable: Incomplete
73
+ address: defaultdict[str, list[BluetoothCallbackMatcherWithCallback]]
74
+ connectable: list[BluetoothCallbackMatcherWithCallback]
73
75
  def __init__(self) -> None: ...
74
76
  def add_callback_matcher(self, matcher: BluetoothCallbackMatcherWithCallback) -> None: ...
75
77
  def remove_callback_matcher(self, matcher: BluetoothCallbackMatcherWithCallback) -> None: ...
@@ -1,7 +1,6 @@
1
1
  import logging
2
2
  from . import BluetoothChange as BluetoothChange, BluetoothScanningMode as BluetoothScanningMode, BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
3
3
  from .update_coordinator import BasePassiveBluetoothCoordinator as BasePassiveBluetoothCoordinator
4
- from _typeshed import Incomplete
5
4
  from collections.abc import Callable as Callable, Generator
6
5
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, callback as callback
7
6
  from homeassistant.helpers.update_coordinator import BaseCoordinatorEntity as BaseCoordinatorEntity, BaseDataUpdateCoordinatorProtocol as BaseDataUpdateCoordinatorProtocol
@@ -11,7 +10,7 @@ from typing_extensions import TypeVar
11
10
  _PassiveBluetoothDataUpdateCoordinatorT = TypeVar('_PassiveBluetoothDataUpdateCoordinatorT', bound='PassiveBluetoothDataUpdateCoordinator', default='PassiveBluetoothDataUpdateCoordinator')
12
11
 
13
12
  class PassiveBluetoothDataUpdateCoordinator(BasePassiveBluetoothCoordinator, BaseDataUpdateCoordinatorProtocol):
14
- _listeners: Incomplete
13
+ _listeners: dict[CALLBACK_TYPE, tuple[CALLBACK_TYPE, object | None]]
15
14
  def __init__(self, hass: HomeAssistant, logger: logging.Logger, address: str, mode: BluetoothScanningMode, connectable: bool = False) -> None: ...
16
15
  @property
17
16
  def available(self) -> bool: ...
@@ -64,10 +64,10 @@ def async_register_coordinator_for_restore(hass: HomeAssistant, coordinator: Pas
64
64
  async def async_setup(hass: HomeAssistant) -> None: ...
65
65
 
66
66
  class PassiveBluetoothProcessorCoordinator[_DataT](BasePassiveBluetoothCoordinator):
67
- _processors: Incomplete
67
+ _processors: list[PassiveBluetoothDataProcessor[Any, _DataT]]
68
68
  _update_method: Incomplete
69
69
  last_update_success: bool
70
- restore_data: Incomplete
70
+ restore_data: dict[str, RestoredPassiveBluetoothDataUpdate]
71
71
  restore_key: Incomplete
72
72
  def __init__(self, hass: HomeAssistant, logger: logging.Logger, address: str, mode: BluetoothScanningMode, update_method: Callable[[BluetoothServiceInfoBleak], _DataT], connectable: bool = False) -> None: ...
73
73
  @property
@@ -86,8 +86,8 @@ class PassiveBluetoothDataProcessor[_T, _DataT]:
86
86
  entity_descriptions: dict[PassiveBluetoothEntityKey, EntityDescription]
87
87
  devices: dict[str | None, DeviceInfo]
88
88
  restore_key: str | None
89
- _listeners: Incomplete
90
- _entity_key_listeners: Incomplete
89
+ _listeners: list[Callable[[PassiveBluetoothDataUpdate[_T] | None], None]]
90
+ _entity_key_listeners: dict[PassiveBluetoothEntityKey, list[Callable[[PassiveBluetoothDataUpdate[_T] | None], None]]]
91
91
  update_method: Incomplete
92
92
  last_update_success: bool
93
93
  def __init__(self, update_method: Callable[[_DataT], PassiveBluetoothDataUpdate[_T]], restore_key: str | None = None) -> None: ...
@@ -1,4 +1,3 @@
1
- from _typeshed import Incomplete
2
1
  from bluetooth_adapters import DiscoveredDeviceAdvertisementData as DiscoveredDeviceAdvertisementData, DiscoveredDeviceAdvertisementDataDict as DiscoveredDeviceAdvertisementDataDict, DiscoveryStorageType as DiscoveryStorageType
3
2
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
4
3
  from homeassistant.helpers.storage import Store as Store
@@ -8,8 +7,8 @@ REMOTE_SCANNER_STORAGE_KEY: str
8
7
  SCANNER_SAVE_DELAY: int
9
8
 
10
9
  class BluetoothStorage:
11
- _store: Incomplete
12
- _data: Incomplete
10
+ _store: Store[DiscoveryStorageType]
11
+ _data: DiscoveryStorageType
13
12
  def __init__(self, hass: HomeAssistant) -> None: ...
14
13
  async def async_setup(self) -> None: ...
15
14
  def scanners(self) -> list[str]: ...
@@ -13,7 +13,7 @@ class BasePassiveBluetoothCoordinator(ABC, metaclass=abc.ABCMeta):
13
13
  logger: Incomplete
14
14
  address: Incomplete
15
15
  connectable: Incomplete
16
- _on_stop: Incomplete
16
+ _on_stop: list[CALLBACK_TYPE]
17
17
  mode: Incomplete
18
18
  _last_unavailable_time: float
19
19
  _last_name: Incomplete
@@ -19,8 +19,8 @@ async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str,
19
19
 
20
20
  class BMWConfigFlow(ConfigFlow, domain=DOMAIN):
21
21
  VERSION: int
22
- data: Incomplete
23
- _existing_entry_data: Incomplete
22
+ data: dict[str, Any]
23
+ _existing_entry_data: dict[str, Any]
24
24
  def __init__(self) -> None: ...
25
25
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
26
26
  async def async_step_change_password(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -14,7 +14,7 @@ type BMWConfigEntry = ConfigEntry[BMWDataUpdateCoordinator]
14
14
  class BMWDataUpdateCoordinator(DataUpdateCoordinator[None]):
15
15
  account: MyBMWAccount
16
16
  config_entry: BMWConfigEntry
17
- read_only: Incomplete
17
+ read_only: bool
18
18
  last_update_success: bool
19
19
  def __init__(self, hass: HomeAssistant, *, config_entry: BMWConfigEntry) -> None: ...
20
20
  async def _async_update_data(self) -> None: ...
@@ -19,7 +19,7 @@ async def _validate_input(hass: HomeAssistant, data: dict[str, Any]) -> tuple[st
19
19
 
20
20
  class BondConfigFlow(ConfigFlow, domain=DOMAIN):
21
21
  VERSION: int
22
- _discovered: Incomplete
22
+ _discovered: dict[str, str]
23
23
  def __init__(self) -> None: ...
24
24
  async def _async_try_automatic_configure(self) -> None: ...
25
25
  async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
@@ -29,7 +29,7 @@ class BondEntity(Entity, metaclass=abc.ABCMeta):
29
29
  _attr_unique_id: Incomplete
30
30
  _attr_name: Incomplete
31
31
  _attr_assumed_state: Incomplete
32
- _bpup_polling_fallback: Incomplete
32
+ _bpup_polling_fallback: CALLBACK_TYPE | None
33
33
  _async_update_if_bpup_not_alive_job: Incomplete
34
34
  def __init__(self, data: BondData, device: BondDevice, sub_device: str | None = None, sub_device_id: str | None = None) -> None: ...
35
35
  @property
@@ -19,9 +19,9 @@ PRESET_MODE_BREEZE: str
19
19
  async def async_setup_entry(hass: HomeAssistant, entry: BondConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
20
20
 
21
21
  class BondFan(BondEntity, FanEntity):
22
- _power: Incomplete
23
- _speed: Incomplete
24
- _direction: Incomplete
22
+ _power: bool | None
23
+ _speed: int | None
24
+ _direction: int | None
25
25
  _attr_preset_modes: Incomplete
26
26
  _attr_supported_features: Incomplete
27
27
  def __init__(self, data: BondData, device: BondDevice) -> None: ...
@@ -12,7 +12,7 @@ class BondDevice:
12
12
  props: Incomplete
13
13
  state: Incomplete
14
14
  _attrs: Incomplete
15
- _supported_actions: Incomplete
15
+ _supported_actions: set[str]
16
16
  def __init__(self, device_id: str, attrs: dict[str, Any], props: dict[str, Any], state: dict[str, Any]) -> None: ...
17
17
  def __repr__(self) -> str: ...
18
18
  @property
@@ -43,11 +43,11 @@ class BondDevice:
43
43
  def supports_set_brightness(self) -> bool: ...
44
44
 
45
45
  class BondHub:
46
- bond: Incomplete
46
+ bond: Bond
47
47
  host: Incomplete
48
- _bridge: Incomplete
49
- _version: Incomplete
50
- _devices: Incomplete
48
+ _bridge: dict[str, Any]
49
+ _version: dict[str, Any]
50
+ _devices: list[BondDevice]
51
51
  def __init__(self, bond: Bond, host: str) -> None: ...
52
52
  async def setup(self, max_devices: int | None = None) -> None: ...
53
53
  @property
@@ -1,5 +1,4 @@
1
1
  from .const import ATTR_CID as ATTR_CID, ATTR_MAC as ATTR_MAC, ATTR_MODEL as ATTR_MODEL, CONF_NICKNAME as CONF_NICKNAME, CONF_USE_PSK as CONF_USE_PSK, DOMAIN as DOMAIN, NICKNAME_PREFIX as NICKNAME_PREFIX
2
- from _typeshed import Incomplete
3
2
  from collections.abc import Mapping
4
3
  from homeassistant.components import ssdp as ssdp
5
4
  from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_REAUTH as SOURCE_REAUTH
@@ -7,12 +6,13 @@ from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_HOST as C
7
6
  from homeassistant.helpers import instance_id as instance_id
8
7
  from homeassistant.helpers.aiohttp_client import async_create_clientsession as async_create_clientsession
9
8
  from homeassistant.util.network import is_host_valid as is_host_valid
9
+ from pybravia import BraviaClient
10
10
  from typing import Any
11
11
 
12
12
  class BraviaTVConfigFlow(ConfigFlow, domain=DOMAIN):
13
13
  VERSION: int
14
- client: Incomplete
15
- device_config: Incomplete
14
+ client: BraviaClient | None
15
+ device_config: dict[str, Any]
16
16
  def __init__(self) -> None: ...
17
17
  def create_client(self) -> None: ...
18
18
  async def gen_instance_ids(self) -> tuple[str, str]: ...
@@ -1,6 +1,7 @@
1
1
  from .const import CONF_NICKNAME as CONF_NICKNAME, CONF_USE_PSK as CONF_USE_PSK, DOMAIN as DOMAIN, LEGACY_CLIENT_ID as LEGACY_CLIENT_ID, NICKNAME_PREFIX as NICKNAME_PREFIX, SourceType as SourceType
2
2
  from _typeshed import Incomplete
3
3
  from collections.abc import Awaitable, Callable as Callable, Coroutine, Iterable
4
+ from datetime import datetime
4
5
  from homeassistant.components.media_player import MediaType as MediaType
5
6
  from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_PIN as CONF_PIN
6
7
  from homeassistant.core import HomeAssistant as HomeAssistant
@@ -22,19 +23,19 @@ class BraviaTVCoordinator(DataUpdateCoordinator[None]):
22
23
  use_psk: Incomplete
23
24
  client_id: Incomplete
24
25
  nickname: Incomplete
25
- source: Incomplete
26
- source_list: Incomplete
27
- source_map: Incomplete
28
- media_title: Incomplete
29
- media_channel: Incomplete
30
- media_content_id: Incomplete
31
- media_content_type: Incomplete
32
- media_uri: Incomplete
33
- media_duration: Incomplete
34
- media_position: Incomplete
35
- media_position_updated_at: Incomplete
36
- volume_level: Incomplete
37
- volume_target: Incomplete
26
+ source: str | None
27
+ source_list: list[str]
28
+ source_map: dict[str, dict]
29
+ media_title: str | None
30
+ media_channel: str | None
31
+ media_content_id: str | None
32
+ media_content_type: MediaType | None
33
+ media_uri: str | None
34
+ media_duration: int | None
35
+ media_position: int | None
36
+ media_position_updated_at: datetime | None
37
+ volume_level: float | None
38
+ volume_target: str | None
38
39
  volume_muted: bool
39
40
  is_on: bool
40
41
  connected: bool
@@ -1,5 +1,6 @@
1
1
  from .const import DOMAIN as DOMAIN, PRINTER_TYPES as PRINTER_TYPES
2
2
  from _typeshed import Incomplete
3
+ from brother import Brother
3
4
  from homeassistant.components import zeroconf as zeroconf
4
5
  from homeassistant.components.snmp import async_get_snmp_engine as async_get_snmp_engine
5
6
  from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
@@ -16,8 +17,8 @@ async def validate_input(hass: HomeAssistant, user_input: dict[str, Any], expect
16
17
 
17
18
  class BrotherConfigFlow(ConfigFlow, domain=DOMAIN):
18
19
  VERSION: int
19
- brother: Incomplete
20
- host: Incomplete
20
+ brother: Brother
21
+ host: str | None
21
22
  def __init__(self) -> None: ...
22
23
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
23
24
  async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
@@ -1,6 +1,5 @@
1
1
  import dataclasses
2
2
  from .const import DOMAIN as DOMAIN
3
- from _typeshed import Incomplete
4
3
  from bthome_ble import BTHomeBluetoothDeviceData as DeviceData
5
4
  from collections.abc import Mapping
6
5
  from homeassistant.components import onboarding as onboarding
@@ -20,9 +19,9 @@ def _title(discovery_info: BluetoothServiceInfoBleak, device: DeviceData) -> str
20
19
 
21
20
  class BTHomeConfigFlow(ConfigFlow, domain=DOMAIN):
22
21
  VERSION: int
23
- _discovery_info: Incomplete
24
- _discovered_device: Incomplete
25
- _discovered_devices: Incomplete
22
+ _discovery_info: BluetoothServiceInfoBleak | None
23
+ _discovered_device: DeviceData | None
24
+ _discovered_devices: dict[str, Discovery]
26
25
  def __init__(self) -> None: ...
27
26
  async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfoBleak) -> ConfigFlowResult: ...
28
27
  async def async_step_get_encryption_key(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -9,6 +9,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
9
9
  from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
10
10
  from homeassistant.helpers.typing import ConfigType as ConfigType
11
11
  from homeassistant.util.hass_dict import HassKey as HassKey
12
+ from propcache import cached_property
12
13
 
13
14
  _LOGGER: Incomplete
14
15
  DATA_COMPONENT: HassKey[EntityComponent[ButtonEntity]]
@@ -30,9 +31,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
30
31
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
31
32
 
32
33
  class ButtonEntityDescription(EntityDescription, frozen_or_thawed=True):
33
- device_class: ButtonDeviceClass | None
34
+ device_class: ButtonDeviceClass | None = ...
34
35
  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: ...
35
- 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: ...
36
36
 
37
37
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
38
38
 
@@ -43,7 +43,9 @@ class ButtonEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_
43
43
  _attr_state: None
44
44
  __last_pressed_isoformat: str | None
45
45
  def _default_to_device_class_name(self) -> bool: ...
46
+ @cached_property
46
47
  def device_class(self) -> ButtonDeviceClass | None: ...
48
+ @cached_property
47
49
  def state(self) -> str | None: ...
48
50
  def __set_state(self, state: str | None) -> None: ...
49
51
  async def _async_press_action(self) -> None: ...
@@ -77,7 +77,6 @@ def is_offset_reached(start: datetime.datetime, offset_time: datetime.timedelta)
77
77
 
78
78
  class CalendarEntityDescription(EntityDescription, frozen_or_thawed=True):
79
79
  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: ...
80
- 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: ...
81
80
 
82
81
  class CalendarEntity(Entity):
83
82
  entity_description: CalendarEntityDescription
@@ -45,11 +45,11 @@ class CalendarEventListener:
45
45
  _hass: Incomplete
46
46
  _job: Incomplete
47
47
  _trigger_data: Incomplete
48
- _unsub_event: Incomplete
49
- _unsub_refresh: Incomplete
48
+ _unsub_event: CALLBACK_TYPE | None
49
+ _unsub_refresh: CALLBACK_TYPE | None
50
50
  _fetcher: Incomplete
51
51
  _timespan: Incomplete
52
- _events: Incomplete
52
+ _events: list[QueuedCalendarEvent]
53
53
  def __init__(self, hass: HomeAssistant, job: HassJob[..., Coroutine[Any, Any, None]], trigger_data: dict[str, Any], fetcher: QueuedEventFetcher) -> None: ...
54
54
  async def async_attach(self) -> None: ...
55
55
  def async_detach(self) -> None: ...
@@ -10,7 +10,7 @@ DATA_SCHEMA: Incomplete
10
10
 
11
11
  class CambridgeAudioConfigFlow(ConfigFlow, domain=DOMAIN):
12
12
  VERSION: int
13
- data: Incomplete
13
+ data: dict[str, Any]
14
14
  def __init__(self) -> None: ...
15
15
  async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
16
16
  async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,3 +1,5 @@
1
+ import asyncio
2
+ import collections
1
3
  from .const import CAMERA_IMAGE_TIMEOUT as CAMERA_IMAGE_TIMEOUT, CAMERA_STREAM_SOURCE_TIMEOUT as CAMERA_STREAM_SOURCE_TIMEOUT, CONF_DURATION as CONF_DURATION, CONF_LOOKBACK as CONF_LOOKBACK, CameraState as CameraState, DATA_CAMERA_PREFS as DATA_CAMERA_PREFS, DATA_COMPONENT as DATA_COMPONENT, DOMAIN as DOMAIN, PREF_ORIENTATION as PREF_ORIENTATION, PREF_PRELOAD_STREAM as PREF_PRELOAD_STREAM, SERVICE_RECORD as SERVICE_RECORD, StreamType as StreamType
2
4
  from .helper import get_camera_from_entity_id as get_camera_from_entity_id
3
5
  from .img_util import scale_jpeg_camera_image as scale_jpeg_camera_image
@@ -26,6 +28,7 @@ from homeassistant.helpers.network import get_url as get_url
26
28
  from homeassistant.helpers.template import Template as Template
27
29
  from homeassistant.helpers.typing import ConfigType as ConfigType, VolDictType as VolDictType
28
30
  from homeassistant.loader import bind_hass as bind_hass
31
+ from propcache import cached_property, under_cached_property
29
32
  from typing import Any, Final
30
33
  from webrtc_models import RTCIceCandidateInit as RTCIceCandidateInit
31
34
 
@@ -60,7 +63,6 @@ CAMERA_SERVICE_RECORD: VolDictType
60
63
 
61
64
  class CameraEntityDescription(EntityDescription, frozen_or_thawed=True):
62
65
  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
66
 
65
67
  class Image:
66
68
  content_type: str
@@ -103,27 +105,38 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
103
105
  _attr_state: None
104
106
  _attr_supported_features: CameraEntityFeature
105
107
  __supports_stream: CameraEntityFeature | None
106
- _cache: Incomplete
107
- stream: Incomplete
108
- stream_options: Incomplete
109
- content_type: Incomplete
110
- access_tokens: Incomplete
108
+ _cache: dict[str, Any]
109
+ stream: Stream | None
110
+ stream_options: dict[str, str | bool | float]
111
+ content_type: str
112
+ access_tokens: collections.deque
111
113
  _warned_old_signature: bool
112
- _create_stream_lock: Incomplete
113
- _webrtc_provider: Incomplete
114
- _legacy_webrtc_provider: Incomplete
114
+ _create_stream_lock: asyncio.Lock | None
115
+ _webrtc_provider: CameraWebRTCProvider | None
116
+ _legacy_webrtc_provider: CameraWebRTCLegacyProvider | None
115
117
  _supports_native_sync_webrtc: Incomplete
116
118
  _supports_native_async_webrtc: Incomplete
117
119
  _deprecate_attr_frontend_stream_type_logged: bool
118
120
  def __init__(self) -> None: ...
121
+ @cached_property
119
122
  def entity_picture(self) -> str: ...
123
+ @cached_property
120
124
  def use_stream_for_stills(self) -> bool: ...
125
+ @cached_property
121
126
  def supported_features(self) -> CameraEntityFeature: ...
127
+ @property
128
+ def supported_features_compat(self) -> CameraEntityFeature: ...
129
+ @cached_property
122
130
  def is_recording(self) -> bool: ...
131
+ @cached_property
123
132
  def is_streaming(self) -> bool: ...
133
+ @cached_property
124
134
  def brand(self) -> str | None: ...
135
+ @cached_property
125
136
  def motion_detection_enabled(self) -> bool: ...
137
+ @cached_property
126
138
  def model(self) -> str | None: ...
139
+ @cached_property
127
140
  def frame_interval(self) -> float: ...
128
141
  @property
129
142
  def frontend_stream_type(self) -> StreamType | None: ...
@@ -139,6 +152,7 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
139
152
  async def handle_async_mjpeg_stream(self, request: web.Request) -> web.StreamResponse | None: ...
140
153
  @property
141
154
  def state(self) -> str: ...
155
+ @cached_property
142
156
  def is_on(self) -> bool: ...
143
157
  def turn_off(self) -> None: ...
144
158
  async def async_turn_off(self) -> None: ...
@@ -159,6 +173,7 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
159
173
  async def async_on_webrtc_candidate(self, session_id: str, candidate: RTCIceCandidateInit) -> None: ...
160
174
  def close_webrtc_session(self, session_id: str) -> None: ...
161
175
  def _invalidate_camera_capabilities_cache(self) -> None: ...
176
+ @under_cached_property
162
177
  def camera_capabilities(self) -> CameraCapabilities: ...
163
178
  def async_write_ha_state(self) -> None: ...
164
179
 
@@ -21,7 +21,7 @@ class CameraPreferences:
21
21
  _preload_prefs: dict[str, dict[str, bool | Orientation]]
22
22
  _hass: Incomplete
23
23
  _store: Incomplete
24
- _dynamic_stream_settings_by_entity_id: Incomplete
24
+ _dynamic_stream_settings_by_entity_id: dict[str, DynamicStreamSettings]
25
25
  def __init__(self, hass: HomeAssistant) -> None: ...
26
26
  async def async_load(self) -> None: ...
27
27
  async def async_update(self, entity_id: str, *, preload_stream: bool | UndefinedType = ..., orientation: Orientation | UndefinedType = ...) -> dict[str, bool | Orientation]: ...