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
@@ -14,7 +14,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
14
14
  class CanaryAlarm(CoordinatorEntity[CanaryDataUpdateCoordinator], AlarmControlPanelEntity):
15
15
  _attr_supported_features: Incomplete
16
16
  _attr_code_arm_required: bool
17
- _location_id: Incomplete
17
+ _location_id: str
18
18
  _attr_name: Incomplete
19
19
  _attr_unique_id: Incomplete
20
20
  def __init__(self, coordinator: CanaryDataUpdateCoordinator, location: Location) -> None: ...
@@ -22,15 +22,15 @@ _LOGGER: Incomplete
22
22
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
23
23
 
24
24
  class CanaryCamera(CoordinatorEntity[CanaryDataUpdateCoordinator], Camera):
25
- _ffmpeg: Incomplete
25
+ _ffmpeg: FFmpegManager
26
26
  _ffmpeg_arguments: Incomplete
27
27
  _location_id: Incomplete
28
28
  _device: Incomplete
29
- _live_stream_session: Incomplete
29
+ _live_stream_session: LiveStreamSession | None
30
30
  _attr_name: Incomplete
31
31
  _attr_unique_id: Incomplete
32
32
  _attr_device_info: Incomplete
33
- _image: Incomplete
33
+ _image: bytes | None
34
34
  _expires_at: Incomplete
35
35
  def __init__(self, hass: HomeAssistant, coordinator: CanaryDataUpdateCoordinator, location_id: str, device: Device, ffmpeg_args: str) -> None: ...
36
36
  @property
@@ -11,7 +11,7 @@ _LOGGER: Incomplete
11
11
 
12
12
  class CertexpiryConfigFlow(ConfigFlow, domain=DOMAIN):
13
13
  VERSION: int
14
- _errors: Incomplete
14
+ _errors: dict[str, str]
15
15
  def __init__(self) -> None: ...
16
16
  async def _test_connection(self, user_input: Mapping[str, Any]) -> bool: ...
17
17
  async def async_step_user(self, user_input: Mapping[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -11,7 +11,7 @@ _LOGGER: Incomplete
11
11
  class CertExpiryDataUpdateCoordinator(DataUpdateCoordinator[datetime | None]):
12
12
  host: Incomplete
13
13
  port: Incomplete
14
- cert_error: Incomplete
14
+ cert_error: ValidationFailure | None
15
15
  is_cert_valid: bool
16
16
  def __init__(self, hass: HomeAssistant, host: str, port: int) -> None: ...
17
17
  async def _async_update_data(self) -> datetime | None: ...
@@ -13,7 +13,7 @@ PLATFORM_SCHEMA: Incomplete
13
13
  def get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> ClickatellNotificationService: ...
14
14
 
15
15
  class ClickatellNotificationService(BaseNotificationService):
16
- api_key: Incomplete
17
- recipient: Incomplete
16
+ api_key: str
17
+ recipient: str
18
18
  def __init__(self, config: ConfigType) -> None: ...
19
19
  def send_message(self, message: str = '', **kwargs: Any) -> None: ...
@@ -15,10 +15,10 @@ PLATFORM_SCHEMA: Incomplete
15
15
  def get_service(hass: HomeAssistant, config: ConfigType, discovery_info: DiscoveryInfoType | None = None) -> ClicksendNotificationService | None: ...
16
16
 
17
17
  class ClicksendNotificationService(BaseNotificationService):
18
- username: Incomplete
19
- api_key: Incomplete
20
- recipients: Incomplete
21
- sender: Incomplete
18
+ username: str
19
+ api_key: str
20
+ recipients: list[str]
21
+ sender: str
22
22
  def __init__(self, config: ConfigType) -> None: ...
23
23
  def send_message(self, message: str = '', **kwargs: Any) -> None: ...
24
24
 
@@ -10,6 +10,7 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
10
10
  from homeassistant.loader import async_get_issue_tracker as async_get_issue_tracker, async_suggest_report_issue as async_suggest_report_issue
11
11
  from homeassistant.util.hass_dict import HassKey as HassKey
12
12
  from homeassistant.util.unit_conversion import TemperatureConverter as TemperatureConverter
13
+ from propcache import cached_property
13
14
  from typing import Any, Literal
14
15
 
15
16
  _LOGGER: Incomplete
@@ -32,7 +33,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
32
33
 
33
34
  class ClimateEntityDescription(EntityDescription, frozen_or_thawed=True):
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
 
@@ -75,25 +75,45 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
75
75
  def capability_attributes(self) -> dict[str, Any] | None: ...
76
76
  @property
77
77
  def state_attributes(self) -> dict[str, Any]: ...
78
+ @cached_property
78
79
  def temperature_unit(self) -> str: ...
80
+ @cached_property
79
81
  def current_humidity(self) -> float | None: ...
82
+ @cached_property
80
83
  def target_humidity(self) -> float | None: ...
84
+ @cached_property
81
85
  def hvac_mode(self) -> HVACMode | None: ...
86
+ @cached_property
82
87
  def hvac_modes(self) -> list[HVACMode]: ...
88
+ @cached_property
83
89
  def hvac_action(self) -> HVACAction | None: ...
90
+ @cached_property
84
91
  def current_temperature(self) -> float | None: ...
92
+ @cached_property
85
93
  def target_temperature(self) -> float | None: ...
94
+ @cached_property
86
95
  def target_temperature_step(self) -> float | None: ...
96
+ @cached_property
87
97
  def target_temperature_high(self) -> float | None: ...
98
+ @cached_property
88
99
  def target_temperature_low(self) -> float | None: ...
100
+ @cached_property
89
101
  def preset_mode(self) -> str | None: ...
102
+ @cached_property
90
103
  def preset_modes(self) -> list[str] | None: ...
104
+ @cached_property
91
105
  def is_aux_heat(self) -> bool | None: ...
106
+ @cached_property
92
107
  def fan_mode(self) -> str | None: ...
108
+ @cached_property
93
109
  def fan_modes(self) -> list[str] | None: ...
110
+ @cached_property
94
111
  def swing_mode(self) -> str | None: ...
112
+ @cached_property
95
113
  def swing_modes(self) -> list[str] | None: ...
114
+ @cached_property
96
115
  def swing_horizontal_mode(self) -> str | None: ...
116
+ @cached_property
97
117
  def swing_horizontal_modes(self) -> list[str] | None: ...
98
118
  def _valid_mode_or_raise(self, mode_type: Literal['preset', 'horizontal_swing', 'swing', 'fan', 'hvac'], mode: str | HVACMode, modes: list[str] | list[HVACMode] | None) -> None: ...
99
119
  def set_temperature(self, **kwargs: Any) -> None: ...
@@ -125,10 +145,15 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
125
145
  async def async_turn_off(self) -> None: ...
126
146
  def toggle(self) -> None: ...
127
147
  async def async_toggle(self) -> None: ...
148
+ @cached_property
128
149
  def supported_features(self) -> ClimateEntityFeature: ...
150
+ @cached_property
129
151
  def min_temp(self) -> float: ...
152
+ @cached_property
130
153
  def max_temp(self) -> float: ...
154
+ @cached_property
131
155
  def min_humidity(self) -> float: ...
156
+ @cached_property
132
157
  def max_humidity(self) -> float: ...
133
158
 
134
159
  async def async_service_aux_heat(entity: ClimateEntity, service_call: ServiceCall) -> None: ...
@@ -37,10 +37,10 @@ class CloudAlexaConfig(alexa_config.AbstractConfig):
37
37
  _prefs: Incomplete
38
38
  _cloud: Incomplete
39
39
  _token: Incomplete
40
- _token_valid: Incomplete
40
+ _token_valid: datetime | None
41
41
  _cur_entity_prefs: Incomplete
42
- _alexa_sync_unsub: Incomplete
43
- _endpoint: Incomplete
42
+ _alexa_sync_unsub: Callable[[], None] | None
43
+ _endpoint: str | URL | None
44
44
  def __init__(self, hass: HomeAssistant, config: dict, cloud_user: str, prefs: CloudPreferences, cloud: Cloud[CloudClient]) -> None: ...
45
45
  @property
46
46
  def enabled(self) -> bool: ...
@@ -27,12 +27,12 @@ class CloudClient(Interface):
27
27
  _websession: Incomplete
28
28
  google_user_config: Incomplete
29
29
  alexa_user_config: Incomplete
30
- _alexa_config: Incomplete
31
- _google_config: Incomplete
30
+ _alexa_config: alexa_config.CloudAlexaConfig | None
31
+ _google_config: google_config.CloudGoogleConfig | None
32
32
  _alexa_config_init_lock: Incomplete
33
33
  _google_config_init_lock: Incomplete
34
- _relayer_region: Incomplete
35
- _cloud_ice_servers_listener: Incomplete
34
+ _relayer_region: str | None
35
+ _cloud_ice_servers_listener: Callable[[], None] | None
36
36
  def __init__(self, hass: HomeAssistant, prefs: CloudPreferences, websession: aiohttp.ClientSession, alexa_user_config: dict[str, Any], google_user_config: dict[str, Any]) -> None: ...
37
37
  @property
38
38
  def base_path(self) -> Path: ...
@@ -23,8 +23,8 @@ class CloudPreferences:
23
23
  _prefs: dict[str, Any]
24
24
  _hass: Incomplete
25
25
  _store: Incomplete
26
- _listeners: Incomplete
27
- last_updated: Incomplete
26
+ _listeners: list[Callable[[CloudPreferences], Coroutine[Any, Any, None]]]
27
+ last_updated: set[str]
28
28
  def __init__(self, hass: HomeAssistant) -> None: ...
29
29
  async def async_initialize(self) -> None: ...
30
30
  def async_listen_updates(self, listener: Callable[[CloudPreferences], Coroutine[Any, Any, None]]) -> Callable[[], None]: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
2
3
  from .sensor import CommandSensorData as CommandSensorData
3
4
  from _typeshed import Incomplete
@@ -26,7 +27,7 @@ class CommandBinarySensor(ManualTriggerEntity, BinarySensorEntity):
26
27
  _payload_off: Incomplete
27
28
  _value_template: Incomplete
28
29
  _scan_interval: Incomplete
29
- _process_updates: Incomplete
30
+ _process_updates: asyncio.Lock | None
30
31
  def __init__(self, data: CommandSensorData, config: ConfigType, payload_on: str, payload_off: str, value_template: Template | None, scan_interval: timedelta) -> None: ...
31
32
  async def async_added_to_hass(self) -> None: ...
32
33
  async def _update_entity_state(self, now: datetime | None = None) -> None: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
2
3
  from .utils import async_call_shell_with_timeout as async_call_shell_with_timeout, async_check_output_or_log as async_check_output_or_log
3
4
  from _typeshed import Incomplete
@@ -19,7 +20,7 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
19
20
 
20
21
  class CommandCover(ManualTriggerEntity, CoverEntity):
21
22
  _attr_should_poll: bool
22
- _state: Incomplete
23
+ _state: int | None
23
24
  _command_open: Incomplete
24
25
  _command_close: Incomplete
25
26
  _command_stop: Incomplete
@@ -27,7 +28,7 @@ class CommandCover(ManualTriggerEntity, CoverEntity):
27
28
  _value_template: Incomplete
28
29
  _timeout: Incomplete
29
30
  _scan_interval: Incomplete
30
- _process_updates: Incomplete
31
+ _process_updates: asyncio.Lock | None
31
32
  def __init__(self, config: ConfigType, command_open: str, command_close: str, command_stop: str, command_state: str | None, value_template: Template | None, timeout: int, scan_interval: timedelta) -> None: ...
32
33
  async def async_added_to_hass(self) -> None: ...
33
34
  async def _async_move_cover(self, command: str) -> bool: ...
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, CONF_JSON_ATTRIBUTES as CONF_JSON_ATTRIBUTES, CONF_JSON_ATTRIBUTES_PATH as CONF_JSON_ATTRIBUTES_PATH, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
2
3
  from .utils import async_check_output_or_log as async_check_output_or_log
3
4
  from _typeshed import Incomplete
@@ -22,13 +23,13 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
22
23
  class CommandSensor(ManualTriggerSensorEntity):
23
24
  _attr_should_poll: bool
24
25
  data: Incomplete
25
- _attr_extra_state_attributes: Incomplete
26
+ _attr_extra_state_attributes: dict[str, Any]
26
27
  _json_attributes: Incomplete
27
28
  _json_attributes_path: Incomplete
28
29
  _attr_native_value: Incomplete
29
30
  _value_template: Incomplete
30
31
  _scan_interval: Incomplete
31
- _process_updates: Incomplete
32
+ _process_updates: asyncio.Lock | None
32
33
  def __init__(self, data: CommandSensorData, config: ConfigType, value_template: Template | None, json_attributes: list[str] | None, json_attributes_path: str | None, scan_interval: timedelta) -> None: ...
33
34
  @property
34
35
  def extra_state_attributes(self) -> dict[str, Any]: ...
@@ -38,7 +39,7 @@ class CommandSensor(ManualTriggerSensorEntity):
38
39
  async def async_update(self) -> None: ...
39
40
 
40
41
  class CommandSensorData:
41
- value: Incomplete
42
+ value: str | None
42
43
  hass: Incomplete
43
44
  command: Incomplete
44
45
  timeout: Incomplete
@@ -1,3 +1,4 @@
1
+ import asyncio
1
2
  from .const import CONF_COMMAND_TIMEOUT as CONF_COMMAND_TIMEOUT, LOGGER as LOGGER, TRIGGER_ENTITY_OPTIONS as TRIGGER_ENTITY_OPTIONS
2
3
  from .utils import async_call_shell_with_timeout as async_call_shell_with_timeout, async_check_output_or_log as async_check_output_or_log
3
4
  from _typeshed import Incomplete
@@ -27,7 +28,7 @@ class CommandSwitch(ManualTriggerEntity, SwitchEntity):
27
28
  _value_template: Incomplete
28
29
  _timeout: Incomplete
29
30
  _scan_interval: Incomplete
30
- _process_updates: Incomplete
31
+ _process_updates: asyncio.Lock | None
31
32
  def __init__(self, config: ConfigType, object_id: str, command_on: str, command_off: str, command_state: str | None, value_template: Template | None, timeout: int, scan_interval: timedelta) -> None: ...
32
33
  async def async_added_to_hass(self) -> None: ...
33
34
  async def _switch(self, command: str) -> bool: ...
@@ -39,7 +39,7 @@ def _get_requests(hass: HomeAssistant) -> dict[str, Configurator]: ...
39
39
  class Configurator:
40
40
  hass: Incomplete
41
41
  _cur_id: int
42
- _requests: Incomplete
42
+ _requests: dict[str, tuple[str, list[dict[str, str]], ConfiguratorCallback | None]]
43
43
  def __init__(self, hass: HomeAssistant) -> None: ...
44
44
  def async_request_config(self, name: str, callback: ConfiguratorCallback | None, description: str | None, submit_caption: str | None, fields: list[dict[str, str]] | None, entity_picture: str | None) -> str: ...
45
45
  def async_notify_errors(self, request_id: str, error: str) -> None: ...
@@ -44,8 +44,8 @@ class CounterStorageCollection(collection.DictStorageCollection):
44
44
  class Counter(collection.CollectionEntity, RestoreEntity):
45
45
  _attr_should_poll: bool
46
46
  editable: bool
47
- _config: Incomplete
48
- _state: Incomplete
47
+ _config: ConfigType
48
+ _state: int | None
49
49
  def __init__(self, config: ConfigType) -> None: ...
50
50
  @classmethod
51
51
  def from_storage(cls, config: ConfigType) -> Self: ...
@@ -11,6 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
11
11
  from homeassistant.helpers.typing import ConfigType as ConfigType
12
12
  from homeassistant.loader import bind_hass as bind_hass
13
13
  from homeassistant.util.hass_dict import HassKey as HassKey
14
+ from propcache import cached_property
14
15
  from typing import Any
15
16
 
16
17
  _LOGGER: Incomplete
@@ -67,9 +68,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
67
68
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
68
69
 
69
70
  class CoverEntityDescription(EntityDescription, frozen_or_thawed=True):
70
- device_class: CoverDeviceClass | None
71
+ device_class: CoverDeviceClass | None = ...
71
72
  def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
72
- def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
73
73
 
74
74
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
75
75
 
@@ -84,8 +84,11 @@ class CoverEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
84
84
  _attr_state: None
85
85
  _attr_supported_features: CoverEntityFeature | None
86
86
  _cover_is_last_toggle_direction_open: bool
87
+ @cached_property
87
88
  def current_cover_position(self) -> int | None: ...
89
+ @cached_property
88
90
  def current_cover_tilt_position(self) -> int | None: ...
91
+ @cached_property
89
92
  def device_class(self) -> CoverDeviceClass | None: ...
90
93
  @property
91
94
  def state(self) -> str | None: ...
@@ -93,8 +96,11 @@ class CoverEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
93
96
  def state_attributes(self) -> dict[str, Any]: ...
94
97
  @property
95
98
  def supported_features(self) -> CoverEntityFeature: ...
99
+ @cached_property
96
100
  def is_opening(self) -> bool | None: ...
101
+ @cached_property
97
102
  def is_closing(self) -> bool | None: ...
103
+ @cached_property
98
104
  def is_closed(self) -> bool | None: ...
99
105
  def open_cover(self, **kwargs: Any) -> None: ...
100
106
  async def async_open_cover(self, **kwargs: Any) -> None: ...
@@ -18,8 +18,8 @@ class BaseCrownstoneFlowHandler(ConfigEntryBaseFlow):
18
18
  cloud: CrownstoneCloud
19
19
  flow_type: Incomplete
20
20
  create_entry_callback: Incomplete
21
- usb_path: Incomplete
22
- usb_sphere_id: Incomplete
21
+ usb_path: str | None
22
+ usb_sphere_id: str | None
23
23
  def __init__(self, flow_type: str, create_entry_cb: Callable[[], ConfigFlowResult]) -> None: ...
24
24
  async def async_step_usb_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
25
25
  async def async_step_usb_manual_config(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -29,7 +29,7 @@ class CrownstoneConfigFlowHandler(BaseCrownstoneFlowHandler, ConfigFlow, domain=
29
29
  VERSION: int
30
30
  @staticmethod
31
31
  def async_get_options_flow(config_entry: ConfigEntry) -> CrownstoneOptionsFlowHandler: ...
32
- login_info: Incomplete
32
+ login_info: dict[str, Any]
33
33
  def __init__(self) -> None: ...
34
34
  cloud: Incomplete
35
35
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -38,6 +38,6 @@ class CrownstoneConfigFlowHandler(BaseCrownstoneFlowHandler, ConfigFlow, domain=
38
38
  class CrownstoneOptionsFlowHandler(BaseCrownstoneFlowHandler, OptionsFlow):
39
39
  options: Incomplete
40
40
  def __init__(self, config_entry: ConfigEntry) -> None: ...
41
- cloud: Incomplete
41
+ cloud: CrownstoneCloud
42
42
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
43
43
  def async_create_new_entry(self) -> ConfigFlowResult: ...
@@ -12,6 +12,7 @@ from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, c
12
12
  from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
13
13
  from homeassistant.helpers import aiohttp_client as aiohttp_client
14
14
  from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
15
+ from typing import Any
15
16
 
16
17
  _LOGGER: Incomplete
17
18
 
@@ -21,8 +22,8 @@ class CrownstoneEntryManager:
21
22
  sse: CrownstoneSSEAsync
22
23
  hass: Incomplete
23
24
  config_entry: Incomplete
24
- listeners: Incomplete
25
- usb_sphere_id: Incomplete
25
+ listeners: dict[str, Any]
26
+ usb_sphere_id: str | None
26
27
  def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None: ...
27
28
  async def async_setup(self) -> bool: ...
28
29
  async def async_process_events(self, sse_client: CrownstoneSSEAsync) -> None: ...
@@ -1,22 +1,25 @@
1
1
  from .const import DOMAIN as DOMAIN
2
2
  from datetime import date
3
3
  from homeassistant.helpers.entity import Entity, EntityDescription
4
+ from propcache import cached_property
4
5
 
5
6
  __all__ = ['DOMAIN', 'DateEntity', 'DateEntityDescription']
6
7
 
7
8
  class DateEntityDescription(EntityDescription, frozen_or_thawed=True):
8
9
  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: ...
9
- 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: ...
10
10
 
11
11
  class DateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
12
12
  entity_description: DateEntityDescription
13
13
  _attr_device_class: None
14
14
  _attr_native_value: date | None
15
15
  _attr_state: None
16
+ @cached_property
16
17
  def device_class(self) -> None: ...
18
+ @cached_property
17
19
  def state_attributes(self) -> None: ...
18
20
  @property
19
21
  def state(self) -> str | None: ...
22
+ @cached_property
20
23
  def native_value(self) -> date | None: ...
21
24
  def set_value(self, value: date) -> None: ...
22
25
  async def async_set_value(self, value: date) -> None: ...
@@ -1,22 +1,25 @@
1
1
  from .const import ATTR_DATETIME as ATTR_DATETIME, DOMAIN as DOMAIN
2
2
  from datetime import datetime
3
3
  from homeassistant.helpers.entity import Entity, EntityDescription
4
+ from propcache import cached_property
4
5
 
5
6
  __all__ = ['ATTR_DATETIME', 'DOMAIN', 'DateTimeEntity', 'DateTimeEntityDescription']
6
7
 
7
8
  class DateTimeEntityDescription(EntityDescription, frozen_or_thawed=True):
8
9
  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: ...
9
- 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: ...
10
10
 
11
11
  class DateTimeEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
12
12
  entity_description: DateTimeEntityDescription
13
13
  _attr_device_class: None
14
14
  _attr_state: None
15
15
  _attr_native_value: datetime | None
16
+ @cached_property
16
17
  def device_class(self) -> None: ...
18
+ @cached_property
17
19
  def state_attributes(self) -> None: ...
18
20
  @property
19
21
  def state(self) -> str | None: ...
22
+ @cached_property
20
23
  def native_value(self) -> datetime | None: ...
21
24
  def set_value(self, value: datetime) -> None: ...
22
25
  async def async_set_value(self, value: datetime) -> None: ...
@@ -23,7 +23,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
23
23
 
24
24
  class DeconzSceneButton(DeconzSceneMixin, ButtonEntity):
25
25
  TYPE = BUTTON_DOMAIN
26
- entity_description: Incomplete
26
+ entity_description: DeconzButtonDescription
27
27
  _attr_name: Incomplete
28
28
  def __init__(self, device: PydeconzScene, hub: DeconzHub, description: DeconzButtonDescription) -> None: ...
29
29
  async def async_press(self) -> None: ...
@@ -25,7 +25,7 @@ def async_unload_events(hub: DeconzHub) -> None: ...
25
25
  class DeconzEventBase(DeconzBase):
26
26
  _unsubscribe: Incomplete
27
27
  device: Incomplete
28
- device_id: Incomplete
28
+ device_id: str | None
29
29
  event_id: Incomplete
30
30
  def __init__(self, device: AncillaryControl | Presence | RelativeRotary | Switch, hub: DeconzHub) -> None: ...
31
31
  def async_will_remove_from_hass(self) -> None: ...
@@ -13,7 +13,7 @@ from pydeconz.models.sensor import SensorBase as PydeconzSensorBase
13
13
  type _DeviceType = PydeconzGroup | PydeconzLightBase | PydeconzSensorBase | PydeconzScene
14
14
  class DeconzBase[_DeviceT: _DeviceType]:
15
15
  unique_id_suffix: str | None
16
- _device: Incomplete
16
+ _device: _DeviceT
17
17
  hub: Incomplete
18
18
  def __init__(self, device: _DeviceT, hub: DeconzHub) -> None: ...
19
19
  @property
@@ -21,12 +21,12 @@ class DeconzHub:
21
21
  available: bool
22
22
  ignore_state_updates: bool
23
23
  signal_reachable: Incomplete
24
- deconz_ids: Incomplete
25
- entities: Incomplete
26
- events: Incomplete
27
- clip_sensors: Incomplete
28
- deconz_groups: Incomplete
29
- ignored_devices: Incomplete
24
+ deconz_ids: dict[str, str]
25
+ entities: dict[str, set[str]]
26
+ events: list[DeconzAlarmEvent | DeconzEvent | DeconzPresenceEvent | DeconzRelativeRotaryEvent]
27
+ clip_sensors: set[tuple[Callable[[EventType, str], None], str]]
28
+ deconz_groups: set[tuple[Callable[[EventType, str], None], str]]
29
+ ignored_devices: set[tuple[Callable[[EventType, str], None], str]]
30
30
  def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, api: DeconzSession) -> None: ...
31
31
  @staticmethod
32
32
  def get_hub(hass: HomeAssistant, config_entry: ConfigEntry) -> DeconzHub: ...
@@ -40,8 +40,8 @@ class DeconzBaseLight[_LightDeviceT: Group | Light](DeconzDevice[_LightDeviceT],
40
40
  _attr_color_mode: Incomplete
41
41
  _attr_min_color_temp_kelvin = DEFAULT_MIN_KELVIN
42
42
  _attr_max_color_temp_kelvin = DEFAULT_MAX_KELVIN
43
- api: Incomplete
44
- _attr_supported_color_modes: Incomplete
43
+ api: GroupHandler | LightHandler
44
+ _attr_supported_color_modes: set[ColorMode]
45
45
  _attr_effect_list: Incomplete
46
46
  def __init__(self, device: _LightDeviceT, hub: DeconzHub) -> None: ...
47
47
  @property
@@ -20,13 +20,13 @@ class DemoCover(CoverEntity):
20
20
  _position: Incomplete
21
21
  _attr_device_class: Incomplete
22
22
  _attr_supported_features: Incomplete
23
- _set_position: Incomplete
24
- _set_tilt_position: Incomplete
23
+ _set_position: int | None
24
+ _set_tilt_position: int | None
25
25
  _tilt_position: Incomplete
26
26
  _requested_closing: bool
27
27
  _requested_closing_tilt: bool
28
- _unsub_listener_cover: Incomplete
29
- _unsub_listener_cover_tilt: Incomplete
28
+ _unsub_listener_cover: CALLBACK_TYPE | None
29
+ _unsub_listener_cover_tilt: CALLBACK_TYPE | None
30
30
  _is_opening: bool
31
31
  _is_closing: bool
32
32
  _closed: bool
@@ -20,11 +20,11 @@ class BaseDemoFan(FanEntity):
20
20
  hass: Incomplete
21
21
  _unique_id: Incomplete
22
22
  _attr_supported_features: Incomplete
23
- _percentage: Incomplete
23
+ _percentage: int | None
24
24
  _preset_modes: Incomplete
25
- _preset_mode: Incomplete
26
- _oscillating: Incomplete
27
- _direction: Incomplete
25
+ _preset_mode: str | None
26
+ _oscillating: bool | None
27
+ _direction: str | None
28
28
  _attr_name: Incomplete
29
29
  def __init__(self, hass: HomeAssistant, unique_id: str, name: str, supported_features: FanEntityFeature, preset_modes: list[str] | None) -> None: ...
30
30
  @property
@@ -19,7 +19,7 @@ def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEnt
19
19
  class DemoManager:
20
20
  _hass: Incomplete
21
21
  _add_entities: Incomplete
22
- _managed_devices: Incomplete
22
+ _managed_devices: list[DemoGeolocationEvent]
23
23
  def __init__(self, hass: HomeAssistant, add_entities: AddEntitiesCallback) -> None: ...
24
24
  def _generate_random_event(self) -> DemoGeolocationEvent: ...
25
25
  def _init_regular_updates(self) -> None: ...
@@ -45,7 +45,7 @@ class DemoYoutubePlayer(AbstractDemoPlayer):
45
45
  _attr_media_content_id: Incomplete
46
46
  _attr_media_title: Incomplete
47
47
  _attr_media_duration: Incomplete
48
- _progress: Incomplete
48
+ _progress: int | None
49
49
  _progress_updated_at: Incomplete
50
50
  def __init__(self, name: str, youtube_id: str, media_title: str, duration: int) -> None: ...
51
51
  @property
@@ -66,7 +66,7 @@ class DemoMusicPlayer(AbstractDemoPlayer):
66
66
  _attr_supported_features = MUSIC_PLAYER_SUPPORT
67
67
  tracks: Incomplete
68
68
  _cur_track: int
69
- _attr_group_members: Incomplete
69
+ _attr_group_members: list[str]
70
70
  _attr_repeat: Incomplete
71
71
  def __init__(self, name: str = 'Walkman') -> None: ...
72
72
  @property
@@ -13,7 +13,7 @@ class DemoRemote(RemoteEntity):
13
13
  _attr_should_poll: bool
14
14
  _attr_name: Incomplete
15
15
  _attr_is_on: Incomplete
16
- _last_command_sent: Incomplete
16
+ _last_command_sent: str | None
17
17
  def __init__(self, name: str | None, state: bool) -> None: ...
18
18
  @property
19
19
  def extra_state_attributes(self) -> dict[str, Any] | None: ...
@@ -27,7 +27,7 @@ class StateDemoVacuum(StateVacuumEntity):
27
27
  _attr_supported_features: Incomplete
28
28
  _attr_activity: Incomplete
29
29
  _fan_speed: Incomplete
30
- _cleaned_area: int
30
+ _cleaned_area: float
31
31
  _battery_level: int
32
32
  def __init__(self, name: str, supported_features: VacuumEntityFeature) -> None: ...
33
33
  @property
@@ -1,6 +1,7 @@
1
1
  from .const import CONF_ROUND_DIGITS as CONF_ROUND_DIGITS, CONF_TIME_WINDOW as CONF_TIME_WINDOW, CONF_UNIT as CONF_UNIT, CONF_UNIT_PREFIX as CONF_UNIT_PREFIX, CONF_UNIT_TIME as CONF_UNIT_TIME
2
2
  from _typeshed import Incomplete
3
- from datetime import timedelta
3
+ from datetime import datetime, timedelta
4
+ from decimal import Decimal
4
5
  from homeassistant.components.sensor import ATTR_STATE_CLASS as ATTR_STATE_CLASS, RestoreSensor as RestoreSensor, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
5
6
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
7
  from homeassistant.const import ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, CONF_NAME as CONF_NAME, CONF_SOURCE as CONF_SOURCE, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN, UnitOfTime as UnitOfTime
@@ -30,7 +31,7 @@ class DerivativeSensor(RestoreSensor, SensorEntity):
30
31
  _sensor_source_id: Incomplete
31
32
  _round_digits: Incomplete
32
33
  _attr_native_value: Incomplete
33
- _state_list: Incomplete
34
+ _state_list: list[tuple[datetime, datetime, Decimal]]
34
35
  _attr_name: Incomplete
35
36
  _attr_extra_state_attributes: Incomplete
36
37
  _unit_template: Incomplete