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
@@ -1,7 +1,8 @@
1
1
  from _typeshed import Incomplete
2
2
  from async_upnp_client.const import AddressTupleVXType as AddressTupleVXType, DeviceOrServiceType as DeviceOrServiceType, SsdpSource
3
- from async_upnp_client.server import UpnpServerDevice, UpnpServerService as UpnpServerService
4
- from async_upnp_client.ssdp_listener import SsdpDevice as SsdpDevice
3
+ from async_upnp_client.description_cache import DescriptionCache
4
+ from async_upnp_client.server import UpnpServer, UpnpServerDevice, UpnpServerService as UpnpServerService
5
+ from async_upnp_client.ssdp_listener import SsdpDevice as SsdpDevice, SsdpListener
5
6
  from async_upnp_client.utils import CaseInsensitiveDict
6
7
  from collections.abc import Callable as Callable, Coroutine, Mapping
7
8
  from dataclasses import dataclass
@@ -89,18 +90,18 @@ def _async_process_callbacks(hass: HomeAssistant, callbacks: list[SsdpHassJobCal
89
90
  def _async_headers_match(headers: CaseInsensitiveDict, lower_match_dict: dict[str, str]) -> bool: ...
90
91
 
91
92
  class IntegrationMatchers:
92
- _match_by_key: Incomplete
93
+ _match_by_key: dict[str, dict[str, list[tuple[str, dict[str, str]]]]] | None
93
94
  def __init__(self) -> None: ...
94
95
  def async_setup(self, integration_matchers: dict[str, list[dict[str, str]]]) -> None: ...
95
96
  def async_matching_domains(self, info_with_desc: CaseInsensitiveDict) -> set[str]: ...
96
97
 
97
98
  class Scanner:
98
99
  hass: Incomplete
99
- _cancel_scan: Incomplete
100
- _ssdp_listeners: Incomplete
100
+ _cancel_scan: Callable[[], None] | None
101
+ _ssdp_listeners: list[SsdpListener]
101
102
  _device_tracker: Incomplete
102
- _callbacks: Incomplete
103
- _description_cache: Incomplete
103
+ _callbacks: list[tuple[SsdpHassJobCallback, dict[str, str]]]
104
+ _description_cache: DescriptionCache | None
104
105
  integration_matchers: Incomplete
105
106
  def __init__(self, hass: HomeAssistant, integration_matchers: IntegrationMatchers) -> None: ...
106
107
  @property
@@ -137,7 +138,7 @@ async def _async_find_next_available_port(source: AddressTupleVXType) -> int: ..
137
138
 
138
139
  class Server:
139
140
  hass: Incomplete
140
- _upnp_servers: Incomplete
141
+ _upnp_servers: list[UpnpServer]
141
142
  def __init__(self, hass: HomeAssistant) -> None: ...
142
143
  async def async_start(self) -> None: ...
143
144
  async def _async_get_instance_udn(self) -> str: ...
@@ -116,24 +116,24 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
116
116
  class StatisticsSensor(SensorEntity):
117
117
  _attr_should_poll: bool
118
118
  _attr_icon = ICON
119
- _attr_name: Incomplete
120
- _attr_unique_id: Incomplete
121
- _source_entity_id: Incomplete
119
+ _attr_name: str
120
+ _attr_unique_id: str | None
121
+ _source_entity_id: str
122
122
  _attr_device_info: Incomplete
123
- is_binary: Incomplete
124
- _state_characteristic: Incomplete
125
- _samples_max_buffer_size: Incomplete
126
- _samples_max_age: Incomplete
127
- samples_keep_last: Incomplete
128
- _precision: Incomplete
129
- _percentile: Incomplete
123
+ is_binary: bool
124
+ _state_characteristic: str
125
+ _samples_max_buffer_size: int | None
126
+ _samples_max_age: float | None
127
+ samples_keep_last: bool
128
+ _precision: int
129
+ _percentile: int
130
130
  _attr_available: bool
131
- states: Incomplete
132
- ages: Incomplete
131
+ states: deque[float | bool]
132
+ ages: deque[float]
133
133
  _attr_extra_state_attributes: Incomplete
134
- _state_characteristic_fn: Incomplete
135
- _update_listener: Incomplete
136
- _preview_callback: Incomplete
134
+ _state_characteristic_fn: Callable[[deque[bool | float], deque[float], int], float | int | datetime | None]
135
+ _update_listener: CALLBACK_TYPE | None
136
+ _preview_callback: Callable[[str, Mapping[str, Any]], None] | None
137
137
  def __init__(self, hass: HomeAssistant, source_entity_id: str, name: str, unique_id: str | None, state_characteristic: str, samples_max_buffer_size: int | None, samples_max_age: timedelta | None, samples_keep_last: bool, precision: int, percentile: int) -> None: ...
138
138
  async def async_start_preview(self, preview_callback: Callable[[str, Mapping[str, Any]], None]) -> CALLBACK_TYPE: ...
139
139
  def _async_handle_new_state(self, reported_state: State | None) -> None: ...
@@ -15,8 +15,8 @@ _LOGGER: Incomplete
15
15
  class SteamistConfigFlow(ConfigFlow, domain=DOMAIN):
16
16
  VERSION: int
17
17
  host: str | None
18
- _discovered_devices: Incomplete
19
- _discovered_device: Incomplete
18
+ _discovered_devices: dict[str, Device30303]
19
+ _discovered_device: Device30303 | None
20
20
  def __init__(self) -> None: ...
21
21
  async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
22
22
  async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...
@@ -1,3 +1,4 @@
1
+ import threading
1
2
  from .const import ATTR_SETTINGS as ATTR_SETTINGS, CONF_EXTRA_PART_WAIT_TIME as CONF_EXTRA_PART_WAIT_TIME, CONF_RTSP_TRANSPORT as CONF_RTSP_TRANSPORT, CONF_USE_WALLCLOCK_AS_TIMESTAMPS as CONF_USE_WALLCLOCK_AS_TIMESTAMPS, DOMAIN as DOMAIN, FORMAT_CONTENT_TYPE as FORMAT_CONTENT_TYPE, HLS_PROVIDER as HLS_PROVIDER, OUTPUT_FORMATS as OUTPUT_FORMATS, RTSP_TRANSPORTS as RTSP_TRANSPORTS, SOURCE_TIMEOUT as SOURCE_TIMEOUT
2
3
  from .core import Orientation as Orientation, StreamOutput, StreamSettings
3
4
  from _typeshed import Incomplete
@@ -30,15 +31,15 @@ class Stream:
30
31
  _stream_settings: Incomplete
31
32
  _stream_label: Incomplete
32
33
  dynamic_stream_settings: Incomplete
33
- access_token: Incomplete
34
+ access_token: str | None
34
35
  _start_stop_lock: Incomplete
35
- _thread: Incomplete
36
+ _thread: threading.Thread | None
36
37
  _thread_quit: Incomplete
37
- _outputs: Incomplete
38
+ _outputs: dict[str, StreamOutput]
38
39
  _fast_restart_once: bool
39
40
  _keyframe_converter: Incomplete
40
41
  _available: bool
41
- _update_callback: Incomplete
42
+ _update_callback: Callable[[], None] | None
42
43
  _logger: Incomplete
43
44
  _diagnostics: Incomplete
44
45
  def __init__(self, hass: HomeAssistant, source: str, pyav_options: dict[str, str], stream_settings: StreamSettings, dynamic_stream_settings: DynamicStreamSettings, stream_label: str | None = None) -> None: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  import datetime
2
3
  import numpy as np
3
4
  from . import Stream as Stream
@@ -77,7 +78,7 @@ class IdleTimer:
77
78
  _hass: Incomplete
78
79
  _timeout: Incomplete
79
80
  _callback: Incomplete
80
- _unsub: Incomplete
81
+ _unsub: CALLBACK_TYPE | None
81
82
  idle: bool
82
83
  def __init__(self, hass: HomeAssistant, timeout: int, idle_callback: Callable[[], Coroutine[Any, Any, None]]) -> None: ...
83
84
  def start(self) -> None: ...
@@ -92,7 +93,7 @@ class StreamOutput:
92
93
  dynamic_stream_settings: Incomplete
93
94
  _event: Incomplete
94
95
  _part_event: Incomplete
95
- _segments: Incomplete
96
+ _segments: deque[Segment]
96
97
  def __init__(self, hass: HomeAssistant, idle_timer: IdleTimer, stream_settings: StreamSettings, dynamic_stream_settings: DynamicStreamSettings, deque_maxlen: int | None = None) -> None: ...
97
98
  @property
98
99
  def name(self) -> str | None: ...
@@ -121,13 +122,13 @@ class StreamView(HomeAssistantView):
121
122
  TRANSFORM_IMAGE_FUNCTION: Incomplete
122
123
 
123
124
  class KeyFrameConverter:
124
- _packet: Incomplete
125
- _event: Incomplete
125
+ _packet: Packet | None
126
+ _event: asyncio.Event
126
127
  _hass: Incomplete
127
- _image: Incomplete
128
+ _image: bytes | None
128
129
  _turbojpeg: Incomplete
129
130
  _lock: Incomplete
130
- _codec_context: Incomplete
131
+ _codec_context: VideoCodecContext | None
131
132
  _stream_settings: Incomplete
132
133
  _dynamic_stream_settings: Incomplete
133
134
  def __init__(self, hass: HomeAssistant, stream_settings: StreamSettings, dynamic_stream_settings: DynamicStreamSettings) -> None: ...
@@ -1,9 +1,9 @@
1
- from _typeshed import Incomplete
1
+ from collections import Counter
2
2
  from typing import Any
3
3
 
4
4
  class Diagnostics:
5
- _counter: Incomplete
6
- _values: Incomplete
5
+ _counter: Counter
6
+ _values: dict[str, Any]
7
7
  def __init__(self) -> None: ...
8
8
  def increment(self, key: str) -> None: ...
9
9
  def set_value(self, key: str, value: Any) -> None: ...
@@ -10,7 +10,7 @@ _LOGGER: Incomplete
10
10
  def async_setup_recorder(hass: HomeAssistant) -> None: ...
11
11
 
12
12
  class RecorderOutput(StreamOutput):
13
- video_path: Incomplete
13
+ video_path: str
14
14
  def __init__(self, hass: HomeAssistant, idle_timer: IdleTimer, stream_settings: StreamSettings, dynamic_stream_settings: DynamicStreamSettings) -> None: ...
15
15
  @property
16
16
  def name(self) -> str: ...
@@ -1,6 +1,7 @@
1
1
  import av
2
2
  import av.audio
3
3
  import av.container
4
+ import av.stream
4
5
  from . import redact_credentials as redact_credentials
5
6
  from .const import AUDIO_CODECS as AUDIO_CODECS, HLS_PROVIDER as HLS_PROVIDER, MAX_MISSING_DTS as MAX_MISSING_DTS, MAX_TIMESTAMP_GAP as MAX_TIMESTAMP_GAP, PACKETS_TO_WAIT_FOR_AUDIO as PACKETS_TO_WAIT_FOR_AUDIO, SEGMENT_CONTAINER_FORMAT as SEGMENT_CONTAINER_FORMAT, SOURCE_TIMEOUT as SOURCE_TIMEOUT
6
7
  from .core import KeyFrameConverter as KeyFrameConverter, Part as Part, STREAM_SETTINGS_NON_LL_HLS as STREAM_SETTINGS_NON_LL_HLS, Segment as Segment, StreamOutput as StreamOutput, StreamSettings as StreamSettings
@@ -8,6 +9,7 @@ from .diagnostics import Diagnostics as Diagnostics
8
9
  from .fmp4utils import read_init as read_init
9
10
  from .hls import HlsStreamOutput as HlsStreamOutput
10
11
  from _typeshed import Incomplete
12
+ from collections import deque
11
13
  from collections.abc import Callable as Callable, Generator, Iterator, Mapping
12
14
  from homeassistant.core import HomeAssistant as HomeAssistant
13
15
  from io import BytesIO
@@ -26,7 +28,7 @@ class StreamEndedError(StreamWorkerError): ...
26
28
  class StreamState:
27
29
  _stream_id: int
28
30
  hass: Incomplete
29
- _outputs_callback: Incomplete
31
+ _outputs_callback: Callable[[], Mapping[str, StreamOutput]]
30
32
  _sequence: int
31
33
  _diagnostics: Incomplete
32
34
  def __init__(self, hass: HomeAssistant, outputs_callback: Callable[[], Mapping[str, StreamOutput]], diagnostics: Diagnostics) -> None: ...
@@ -54,7 +56,7 @@ class StreamMuxer:
54
56
  _input_video_stream: Incomplete
55
57
  _input_audio_stream: Incomplete
56
58
  _audio_bsf: Incomplete
57
- _audio_bsf_context: Incomplete
59
+ _audio_bsf_context: av.BitStreamFilterContext | None
58
60
  _part_has_keyframe: bool
59
61
  _stream_settings: Incomplete
60
62
  _stream_state: Incomplete
@@ -70,7 +72,7 @@ class StreamMuxer:
70
72
 
71
73
  class PeekIterator(Iterator[av.Packet]):
72
74
  _iterator: Incomplete
73
- _buffer: Incomplete
75
+ _buffer: deque[av.Packet]
74
76
  _next: Incomplete
75
77
  def __init__(self, iterator: Iterator[av.Packet]) -> None: ...
76
78
  def __iter__(self) -> Self: ...
@@ -79,7 +81,7 @@ class PeekIterator(Iterator[av.Packet]):
79
81
  def peek(self) -> Generator[av.Packet]: ...
80
82
 
81
83
  class TimestampValidator:
82
- _last_dts: Incomplete
84
+ _last_dts: dict[av.stream.Stream, int | float]
83
85
  _missing_dts: int
84
86
  _max_dts_gap: Incomplete
85
87
  def __init__(self, inv_video_time_base: int, inv_audio_time_base: int) -> None: ...
@@ -48,10 +48,10 @@ class Sun(Entity):
48
48
  rising: bool
49
49
  _next_change: datetime
50
50
  hass: Incomplete
51
- phase: Incomplete
52
- _config_listener: Incomplete
53
- _update_events_listener: Incomplete
54
- _update_sun_position_listener: Incomplete
51
+ phase: str | None
52
+ _config_listener: CALLBACK_TYPE | None
53
+ _update_events_listener: CALLBACK_TYPE | None
54
+ _update_sun_position_listener: CALLBACK_TYPE | None
55
55
  def __init__(self, hass: HomeAssistant) -> None: ...
56
56
  async def async_added_to_hass(self) -> None: ...
57
57
  def update_location(self, _: Event | None = None, initial: bool = False) -> None: ...
@@ -9,6 +9,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
9
9
  from homeassistant.helpers.typing import ConfigType as ConfigType
10
10
  from homeassistant.loader import bind_hass as bind_hass
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[SwitchEntity]]
@@ -31,13 +32,13 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
31
32
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
32
33
 
33
34
  class SwitchEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
34
- device_class: SwitchDeviceClass | None
35
+ device_class: SwitchDeviceClass | None = ...
35
36
  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: ...
36
- 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: ...
37
37
 
38
38
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
39
39
 
40
40
  class SwitchEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
41
41
  entity_description: SwitchEntityDescription
42
42
  _attr_device_class: SwitchDeviceClass | None
43
+ @cached_property
43
44
  def device_class(self) -> SwitchDeviceClass | None: ...
@@ -31,7 +31,7 @@ class SwitchBeeClimateEntity(SwitchBeeDeviceEntity[SwitchBeeThermostat], Climate
31
31
  _attr_supported_features: Incomplete
32
32
  def __init__(self, device: SwitchBeeThermostat, coordinator: SwitchBeeCoordinator) -> None: ...
33
33
  def _handle_coordinator_update(self) -> None: ...
34
- _attr_hvac_mode: Incomplete
34
+ _attr_hvac_mode: HVACMode
35
35
  _attr_fan_mode: Incomplete
36
36
  _attr_current_temperature: Incomplete
37
37
  _attr_target_temperature: Incomplete
@@ -10,7 +10,7 @@ from switchbee.device import SwitchBeeBaseDevice
10
10
  _LOGGER: Incomplete
11
11
 
12
12
  class SwitchBeeCoordinator(DataUpdateCoordinator[Mapping[int, SwitchBeeBaseDevice]]):
13
- api: Incomplete
13
+ api: CentralUnitPolling | CentralUnitWsRPC
14
14
  _reconnect_counts: int
15
15
  unique_id: Incomplete
16
16
  def __init__(self, hass: HomeAssistant, swb_api: CentralUnitPolling | CentralUnitWsRPC) -> None: ...
@@ -27,14 +27,14 @@ class SwitcherBaseLightEntity(SwitcherEntity, LightEntity):
27
27
  class SwitcherSingleLightEntity(SwitcherBaseLightEntity):
28
28
  _attr_name: Incomplete
29
29
  _light_id: Incomplete
30
- control_result: Incomplete
30
+ control_result: bool | None
31
31
  _attr_unique_id: Incomplete
32
32
  def __init__(self, coordinator: SwitcherDataUpdateCoordinator, light_id: int) -> None: ...
33
33
 
34
34
  class SwitcherMultiLightEntity(SwitcherBaseLightEntity):
35
35
  _attr_translation_key: str
36
36
  _light_id: Incomplete
37
- control_result: Incomplete
37
+ control_result: bool | None
38
38
  _attr_translation_placeholders: Incomplete
39
39
  _attr_unique_id: Incomplete
40
40
  def __init__(self, coordinator: SwitcherDataUpdateCoordinator, light_id: int) -> None: ...
@@ -22,7 +22,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
22
22
 
23
23
  class SwitcherBaseSwitchEntity(SwitcherEntity, SwitchEntity):
24
24
  _attr_name: Incomplete
25
- control_result: Incomplete
25
+ control_result: bool | None
26
26
  _attr_unique_id: Incomplete
27
27
  def __init__(self, coordinator: SwitcherDataUpdateCoordinator) -> None: ...
28
28
  def _handle_coordinator_update(self) -> None: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from .const import CONF_DEVICE_TOKEN as CONF_DEVICE_TOKEN, DEFAULT_TIMEOUT as DEFAULT_TIMEOUT, EXCEPTION_DETAILS as EXCEPTION_DETAILS, EXCEPTION_UNKNOWN as EXCEPTION_UNKNOWN, SYNOLOGY_CONNECTION_EXCEPTIONS as SYNOLOGY_CONNECTION_EXCEPTIONS
2
3
  from _typeshed import Incomplete
3
4
  from collections.abc import Callable as Callable
@@ -7,8 +8,15 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
7
8
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
8
9
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
9
10
  from synology_dsm import SynologyDSM
11
+ from synology_dsm.api.core.security import SynoCoreSecurity
12
+ from synology_dsm.api.core.system import SynoCoreSystem
13
+ from synology_dsm.api.core.upgrade import SynoCoreUpgrade
14
+ from synology_dsm.api.core.utilization import SynoCoreUtilization
15
+ from synology_dsm.api.dsm.information import SynoDSMInformation
10
16
  from synology_dsm.api.dsm.network import SynoDSMNetwork as SynoDSMNetwork
11
17
  from synology_dsm.api.photos import SynoPhotos as SynoPhotos
18
+ from synology_dsm.api.storage.storage import SynoStorage
19
+ from synology_dsm.api.surveillance_station import SynoSurveillanceStation
12
20
 
13
21
  LOGGER: Incomplete
14
22
 
@@ -17,16 +25,16 @@ class SynoApi:
17
25
  _hass: Incomplete
18
26
  _entry: Incomplete
19
27
  config_url: Incomplete
20
- information: Incomplete
21
- network: Incomplete
22
- security: Incomplete
23
- storage: Incomplete
24
- photos: Incomplete
25
- surveillance_station: Incomplete
26
- system: Incomplete
27
- upgrade: Incomplete
28
- utilisation: Incomplete
29
- _fetching_entities: Incomplete
28
+ information: SynoDSMInformation | None
29
+ network: SynoDSMNetwork | None
30
+ security: SynoCoreSecurity | None
31
+ storage: SynoStorage | None
32
+ photos: SynoPhotos | None
33
+ surveillance_station: SynoSurveillanceStation | None
34
+ system: SynoCoreSystem | None
35
+ upgrade: SynoCoreUpgrade | None
36
+ utilisation: SynoCoreUtilization | None
37
+ _fetching_entities: dict[str, set[str]]
30
38
  _with_information: bool
31
39
  _with_security: bool
32
40
  _with_storage: bool
@@ -35,7 +43,7 @@ class SynoApi:
35
43
  _with_system: bool
36
44
  _with_upgrade: bool
37
45
  _with_utilisation: bool
38
- _login_future: Incomplete
46
+ _login_future: asyncio.Future[None] | None
39
47
  def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
40
48
  async def async_login(self) -> None: ...
41
49
  async def async_setup(self) -> None: ...
@@ -26,10 +26,10 @@ class SynologyDSMFlowHandler(ConfigFlow, domain=DOMAIN):
26
26
  VERSION: int
27
27
  @staticmethod
28
28
  def async_get_options_flow(config_entry: ConfigEntry) -> SynologyDSMOptionsFlowHandler: ...
29
- saved_user_input: Incomplete
30
- discovered_conf: Incomplete
31
- reauth_conf: Incomplete
32
- reauth_reason: Incomplete
29
+ saved_user_input: dict[str, Any]
30
+ discovered_conf: dict[str, Any]
31
+ reauth_conf: Mapping[str, Any]
32
+ reauth_reason: str | None
33
33
  def __init__(self) -> None: ...
34
34
  def _show_form(self, step_id: str, user_input: dict[str, Any] | None = None, errors: dict[str, str] | None = None) -> ConfigFlowResult: ...
35
35
  async def async_validate_input_create_entry(self, user_input: dict[str, Any], step_id: str) -> ConfigFlowResult: ...
@@ -21,7 +21,7 @@ class SynologyDSMUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT]):
21
21
  def __init__(self, hass: HomeAssistant, entry: ConfigEntry, api: SynoApi, update_interval: timedelta) -> None: ...
22
22
 
23
23
  class SynologyDSMSwitchUpdateCoordinator(SynologyDSMUpdateCoordinator[dict[str, dict[str, Any]]]):
24
- version: Incomplete
24
+ version: str | None
25
25
  def __init__(self, hass: HomeAssistant, entry: ConfigEntry, api: SynoApi) -> None: ...
26
26
  async def async_setup(self) -> None: ...
27
27
  async def _async_update_data(self) -> dict[str, dict[str, Any]]: ...
@@ -19,17 +19,17 @@ class SynologyDSMBaseEntity[_CoordinatorT: SynologyDSMUpdateCoordinator[Any]](Co
19
19
  _attr_attribution = ATTRIBUTION
20
20
  _attr_has_entity_name: bool
21
21
  _api: Incomplete
22
- _attr_unique_id: Incomplete
22
+ _attr_unique_id: str
23
23
  _attr_device_info: Incomplete
24
24
  def __init__(self, api: SynoApi, coordinator: _CoordinatorT, description: SynologyDSMEntityDescription) -> None: ...
25
25
  async def async_added_to_hass(self) -> None: ...
26
26
 
27
27
  class SynologyDSMDeviceEntity(SynologyDSMBaseEntity[SynologyDSMCentralUpdateCoordinator]):
28
28
  _device_id: Incomplete
29
- _device_name: Incomplete
30
- _device_manufacturer: Incomplete
31
- _device_model: Incomplete
32
- _device_firmware: Incomplete
29
+ _device_name: str | None
30
+ _device_manufacturer: str | None
31
+ _device_model: str | None
32
+ _device_firmware: str | None
33
33
  _device_type: Incomplete
34
34
  _attr_device_info: Incomplete
35
35
  def __init__(self, api: SynoApi, coordinator: SynologyDSMCentralUpdateCoordinator, description: SynologyDSMEntityDescription, device_id: str | None = None) -> None: ...
@@ -3,7 +3,6 @@ from .const import CONF_VOLUMES as CONF_VOLUMES, DOMAIN as DOMAIN, ENTITY_UNIT_L
3
3
  from .coordinator import SynologyDSMCentralUpdateCoordinator as SynologyDSMCentralUpdateCoordinator
4
4
  from .entity import SynologyDSMBaseEntity as SynologyDSMBaseEntity, SynologyDSMDeviceEntity as SynologyDSMDeviceEntity, SynologyDSMEntityDescription as SynologyDSMEntityDescription
5
5
  from .models import SynologyDSMData as SynologyDSMData
6
- from _typeshed import Incomplete
7
6
  from dataclasses import dataclass
8
7
  from datetime import datetime
9
8
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
@@ -42,8 +41,8 @@ class SynoDSMStorageSensor(SynologyDSMDeviceEntity, SynoDSMSensor):
42
41
  def native_value(self) -> StateType: ...
43
42
 
44
43
  class SynoDSMInfoSensor(SynoDSMSensor):
45
- _previous_uptime: Incomplete
46
- _last_boot: Incomplete
44
+ _previous_uptime: str | None
45
+ _last_boot: datetime | None
47
46
  def __init__(self, api: SynoApi, coordinator: SynologyDSMCentralUpdateCoordinator, description: SynologyDSMSensorEntityDescription) -> None: ...
48
47
  @property
49
48
  def native_value(self) -> StateType | datetime: ...
@@ -36,7 +36,7 @@ class LogEntry:
36
36
  level: Incomplete
37
37
  message: Incomplete
38
38
  exception: str
39
- root_cause: Incomplete
39
+ root_cause: tuple[str, int, str] | None
40
40
  source: Incomplete
41
41
  count: int
42
42
  key: Incomplete
@@ -40,7 +40,7 @@ class SystemMonitorSensor(CoordinatorEntity[SystemMonitorCoordinator], BinarySen
40
40
  _attr_entity_category: Incomplete
41
41
  entity_description: SysMonitorBinarySensorEntityDescription
42
42
  _attr_translation_placeholders: Incomplete
43
- _attr_unique_id: Incomplete
43
+ _attr_unique_id: str
44
44
  _attr_device_info: Incomplete
45
45
  argument: Incomplete
46
46
  def __init__(self, coordinator: SystemMonitorCoordinator, sensor_description: SysMonitorBinarySensorEntityDescription, entry_id: str, argument: str) -> None: ...
@@ -36,9 +36,9 @@ class VirtualMemory(NamedTuple):
36
36
  class SystemMonitorCoordinator(TimestampDataUpdateCoordinator[SensorData]):
37
37
  _psutil: Incomplete
38
38
  _arguments: Incomplete
39
- boot_time: Incomplete
39
+ boot_time: datetime | None
40
40
  _initial_update: bool
41
- update_subscribers: Incomplete
41
+ update_subscribers: dict[tuple[str, str], set[str]]
42
42
  def __init__(self, hass: HomeAssistant, psutil_wrapper: ha_psutil.PsutilWrapper, arguments: list[str]) -> None: ...
43
43
  def set_subscribers_tuples(self, arguments: list[str]) -> dict[tuple[str, str], set[str]]: ...
44
44
  async def _async_update_data(self) -> SensorData: ...
@@ -55,11 +55,11 @@ class SystemMonitorSensor(CoordinatorEntity[SystemMonitorCoordinator], SensorEnt
55
55
  entity_description: SysMonitorSensorEntityDescription
56
56
  argument: str
57
57
  _attr_translation_placeholders: Incomplete
58
- _attr_unique_id: Incomplete
58
+ _attr_unique_id: str
59
59
  _attr_entity_registry_enabled_default: Incomplete
60
60
  _attr_device_info: Incomplete
61
- value: Incomplete
62
- update_time: Incomplete
61
+ value: int | None
62
+ update_time: float | None
63
63
  _attr_native_value: Incomplete
64
64
  def __init__(self, coordinator: SystemMonitorCoordinator, sensor_description: SysMonitorSensorEntityDescription, entry_id: str, argument: str, legacy_enabled: bool = False) -> None: ...
65
65
  async def async_added_to_hass(self) -> None: ...
@@ -62,7 +62,7 @@ class TagEntity(Entity):
62
62
  _attr_name: Incomplete
63
63
  _tag_id: Incomplete
64
64
  _attr_unique_id: Incomplete
65
- _last_device_id: Incomplete
65
+ _last_device_id: str | None
66
66
  _last_scanned: Incomplete
67
67
  def __init__(self, entity_update_handlers: dict[str, Callable[[str | None, str | None], None]], name: str, tag_id: str, last_scanned: str | None, device_id: str | None) -> None: ...
68
68
  def async_handle_event(self, device_id: str | None, last_scanned: str | None) -> None: ...
@@ -11,8 +11,8 @@ class TautulliDataUpdateCoordinator(DataUpdateCoordinator[None]):
11
11
  config_entry: TautulliConfigEntry
12
12
  host_configuration: Incomplete
13
13
  api_client: Incomplete
14
- activity: Incomplete
15
- home_stats: Incomplete
16
- users: Incomplete
14
+ activity: PyTautulliApiActivity | None
15
+ home_stats: list[PyTautulliApiHomeStats] | None
16
+ users: list[PyTautulliApiUser] | None
17
17
  def __init__(self, hass: HomeAssistant, host_configuration: PyTautulliHostConfiguration, api_client: PyTautulli) -> None: ...
18
18
  async def _async_update_data(self) -> None: ...
@@ -1,3 +1,4 @@
1
+ import ssl
1
2
  from .const import CONF_BUFFER_SIZE as CONF_BUFFER_SIZE, CONF_VALUE_ON as CONF_VALUE_ON
2
3
  from .model import TcpSensorConfig as TcpSensorConfig
3
4
  from _typeshed import Incomplete
@@ -12,9 +13,9 @@ _LOGGER: Final[Incomplete]
12
13
 
13
14
  class TcpEntity(Entity):
14
15
  _hass: Incomplete
15
- _config: Incomplete
16
- _ssl_context: Incomplete
17
- _state: Incomplete
16
+ _config: TcpSensorConfig
17
+ _ssl_context: ssl.SSLContext | None
18
+ _state: str | None
18
19
  def __init__(self, hass: HomeAssistant, config: ConfigType) -> None: ...
19
20
  @property
20
21
  def name(self) -> str: ...
@@ -21,9 +21,9 @@ class TedeeApiCoordinator(DataUpdateCoordinator[dict[int, TedeeLock]]):
21
21
  bridge: TedeeBridge
22
22
  tedee_client: Incomplete
23
23
  _next_get_locks: Incomplete
24
- _locks_last_update: Incomplete
25
- new_lock_callbacks: Incomplete
26
- tedee_webhook_id: Incomplete
24
+ _locks_last_update: set[int]
25
+ new_lock_callbacks: list[Callable[[int], None]]
26
+ tedee_webhook_id: int | None
27
27
  def __init__(self, hass: HomeAssistant, entry: TedeeConfigEntry) -> None: ...
28
28
  async def _async_setup(self) -> None: ...
29
29
  async def _async_update_data(self) -> dict[int, TedeeLock]: ...
@@ -5,6 +5,7 @@ from dataclasses import dataclass
5
5
  from enum import StrEnum
6
6
  from homeassistant.helpers.entity import Entity, EntityDescription
7
7
  from homeassistant.helpers.restore_state import ExtraStoredData, RestoreEntity
8
+ from propcache import cached_property
8
9
  from typing import Any
9
10
 
10
11
  __all__ = ['DOMAIN', 'TextEntity', 'TextEntityDescription', 'TextMode']
@@ -14,12 +15,11 @@ class TextMode(StrEnum):
14
15
  TEXT = 'text'
15
16
 
16
17
  class TextEntityDescription(EntityDescription, frozen_or_thawed=True):
17
- native_min: int
18
- native_max: int
19
- mode: TextMode
20
- pattern: str | None
18
+ native_min: int = ...
19
+ native_max: int = ...
20
+ mode: TextMode = ...
21
+ pattern: str | None = ...
21
22
  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=..., native_min=..., native_max=..., mode=..., pattern=...) -> None: ...
22
- 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=..., native_min=..., native_max=..., mode=..., pattern=...) -> None: ...
23
23
 
24
24
  class TextEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
25
25
  _entity_component_unrecorded_attributes: Incomplete
@@ -35,16 +35,21 @@ class TextEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
35
35
  def capability_attributes(self) -> dict[str, Any]: ...
36
36
  @property
37
37
  def state(self) -> str | None: ...
38
+ @cached_property
38
39
  def mode(self) -> TextMode: ...
40
+ @cached_property
39
41
  def native_min(self) -> int: ...
40
42
  @property
41
43
  def min(self) -> int: ...
44
+ @cached_property
42
45
  def native_max(self) -> int: ...
43
46
  @property
44
47
  def max(self) -> int: ...
45
48
  @property
46
49
  def pattern_cmp(self) -> re.Pattern | None: ...
50
+ @cached_property
47
51
  def pattern(self) -> str | None: ...
52
+ @cached_property
48
53
  def native_value(self) -> str | None: ...
49
54
  def set_value(self, value: str) -> None: ...
50
55
  async def async_set_value(self, value: str) -> None: ...
@@ -26,7 +26,7 @@ def _threshold_type(lower: float | None, upper: float | None) -> str: ...
26
26
  class ThresholdSensor(BinarySensorEntity):
27
27
  _attr_should_poll: bool
28
28
  _unrecorded_attributes: Incomplete
29
- _preview_callback: Incomplete
29
+ _preview_callback: Callable[[str, Mapping[str, Any]], None] | None
30
30
  _attr_unique_id: Incomplete
31
31
  _attr_device_info: Incomplete
32
32
  _entity_id: Incomplete
@@ -34,10 +34,10 @@ class ThresholdSensor(BinarySensorEntity):
34
34
  _threshold_lower: Incomplete
35
35
  _threshold_upper: Incomplete
36
36
  threshold_type: Incomplete
37
- _hysteresis: Incomplete
37
+ _hysteresis: float
38
38
  _attr_device_class: Incomplete
39
39
  _state_position: Incomplete
40
- sensor_value: Incomplete
40
+ sensor_value: float | None
41
41
  def __init__(self, entity_id: str, name: str, lower: float | None, upper: float | None, hysteresis: float, device_class: BinarySensorDeviceClass | None, unique_id: str | None, device_info: DeviceInfo | None = None) -> None: ...
42
42
  async def async_added_to_hass(self) -> None: ...
43
43
  def _async_setup_sensor(self) -> None: ...