homeassistant-stubs 2024.11.2__py3-none-any.whl → 2024.12.0__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 (393) hide show
  1. homeassistant-stubs/__main__.pyi +1 -0
  2. homeassistant-stubs/auth/mfa_modules/totp.pyi +4 -4
  3. homeassistant-stubs/backup_restore.pyi +17 -0
  4. homeassistant-stubs/components/airnow/config_flow.pyi +3 -3
  5. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +2 -2
  6. homeassistant-stubs/components/amberelectric/config_flow.pyi +1 -1
  7. homeassistant-stubs/components/amberelectric/coordinator.pyi +7 -7
  8. homeassistant-stubs/components/amberelectric/sensor.pyi +3 -4
  9. homeassistant-stubs/components/analytics_insights/config_flow.pyi +3 -3
  10. homeassistant-stubs/components/androidtv/config_flow.pyi +2 -2
  11. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
  12. homeassistant-stubs/components/apsystems/coordinator.pyi +1 -1
  13. homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +2 -3
  14. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -2
  15. homeassistant-stubs/components/assist_pipeline/vad.pyi +7 -4
  16. homeassistant-stubs/components/axis/config_flow.pyi +2 -2
  17. homeassistant-stubs/components/backup/http.pyi +7 -3
  18. homeassistant-stubs/components/backup/manager.pyi +8 -0
  19. homeassistant-stubs/components/backup/websocket.pyi +1 -0
  20. homeassistant-stubs/components/bang_olufsen/const.pyi +1 -6
  21. homeassistant-stubs/components/bang_olufsen/diagnostics.pyi +6 -0
  22. homeassistant-stubs/components/bang_olufsen/media_player.pyi +11 -5
  23. homeassistant-stubs/components/bang_olufsen/websocket.pyi +2 -2
  24. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +7 -3
  25. homeassistant-stubs/components/bmw_connected_drive/const.pyi +3 -0
  26. homeassistant-stubs/components/brother/sensor.pyi +0 -1
  27. homeassistant-stubs/components/cambridge_audio/__init__.pyi +1 -0
  28. homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -0
  29. homeassistant-stubs/components/cambridge_audio/media_player.pyi +1 -0
  30. homeassistant-stubs/components/cambridge_audio/select.pyi +3 -1
  31. homeassistant-stubs/components/cambridge_audio/switch.pyi +3 -1
  32. homeassistant-stubs/components/camera/__init__.pyi +5 -3
  33. homeassistant-stubs/components/camera/webrtc.pyi +10 -6
  34. homeassistant-stubs/components/canary/config_flow.pyi +0 -2
  35. homeassistant-stubs/components/climate/__init__.pyi +10 -3
  36. homeassistant-stubs/components/climate/const.pyi +6 -0
  37. homeassistant-stubs/components/climate/reproduce_state.pyi +1 -1
  38. homeassistant-stubs/components/climate/significant_change.pyi +1 -1
  39. homeassistant-stubs/components/cloud/prefs.pyi +1 -1
  40. homeassistant-stubs/components/crownstone/config_flow.pyi +1 -2
  41. homeassistant-stubs/components/deconz/config_flow.pyi +1 -5
  42. homeassistant-stubs/components/demo/climate.pyi +8 -1
  43. homeassistant-stubs/components/demo/config_flow.pyi +0 -1
  44. homeassistant-stubs/components/discovergy/config_flow.pyi +2 -5
  45. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +0 -2
  46. homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
  47. homeassistant-stubs/components/doorbird/config_flow.pyi +0 -2
  48. homeassistant-stubs/components/dsmr/config_flow.pyi +0 -2
  49. homeassistant-stubs/components/ecovacs/sensor.pyi +1 -1
  50. homeassistant-stubs/components/elevenlabs/config_flow.pyi +2 -2
  51. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
  52. homeassistant-stubs/components/eq3btsmart/__init__.pyi +7 -6
  53. homeassistant-stubs/components/eq3btsmart/binary_sensor.pyi +26 -0
  54. homeassistant-stubs/components/eq3btsmart/climate.pyi +4 -15
  55. homeassistant-stubs/components/eq3btsmart/const.pyi +14 -0
  56. homeassistant-stubs/components/eq3btsmart/entity.pyi +17 -3
  57. homeassistant-stubs/components/eq3btsmart/models.pyi +1 -3
  58. homeassistant-stubs/components/eq3btsmart/number.pyi +33 -0
  59. homeassistant-stubs/components/eq3btsmart/sensor.pyi +28 -0
  60. homeassistant-stubs/components/eq3btsmart/switch.pyi +30 -0
  61. homeassistant-stubs/components/esphome/assist_satellite.pyi +1 -0
  62. homeassistant-stubs/components/esphome/config_flow.pyi +0 -2
  63. homeassistant-stubs/components/esphome/entry_data.pyi +8 -1
  64. homeassistant-stubs/components/esphome/ffmpeg_proxy.pyi +1 -0
  65. homeassistant-stubs/components/esphome/media_player.pyi +2 -1
  66. homeassistant-stubs/components/esphome/select.pyi +18 -1
  67. homeassistant-stubs/components/fan/__init__.pyi +1 -1
  68. homeassistant-stubs/components/feedreader/config_flow.pyi +2 -2
  69. homeassistant-stubs/components/filesize/config_flow.pyi +2 -5
  70. homeassistant-stubs/components/fitbit/config_flow.pyi +0 -1
  71. homeassistant-stubs/components/fitbit/sensor.pyi +12 -15
  72. homeassistant-stubs/components/flux_led/config_flow.pyi +1 -3
  73. homeassistant-stubs/components/forecast_solar/config_flow.pyi +0 -2
  74. homeassistant-stubs/components/fritz/config_flow.pyi +4 -4
  75. homeassistant-stubs/components/fritzbox/config_flow.pyi +1 -1
  76. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +0 -2
  77. homeassistant-stubs/components/fully_kiosk/__init__.pyi +3 -2
  78. homeassistant-stubs/components/fully_kiosk/binary_sensor.pyi +2 -3
  79. homeassistant-stubs/components/fully_kiosk/button.pyi +2 -3
  80. homeassistant-stubs/components/fully_kiosk/camera.pyi +2 -3
  81. homeassistant-stubs/components/fully_kiosk/diagnostics.pyi +2 -3
  82. homeassistant-stubs/components/fully_kiosk/image.pyi +2 -3
  83. homeassistant-stubs/components/fully_kiosk/media_player.pyi +3 -3
  84. homeassistant-stubs/components/fully_kiosk/notify.pyi +2 -3
  85. homeassistant-stubs/components/fully_kiosk/number.pyi +2 -3
  86. homeassistant-stubs/components/fully_kiosk/sensor.pyi +2 -3
  87. homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -3
  88. homeassistant-stubs/components/fyta/__init__.pyi +1 -0
  89. homeassistant-stubs/components/glances/__init__.pyi +0 -2
  90. homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
  91. homeassistant-stubs/components/google/config_flow.pyi +0 -2
  92. homeassistant-stubs/components/google_assistant_sdk/config_flow.pyi +0 -2
  93. homeassistant-stubs/components/google_cloud/config_flow.pyi +2 -2
  94. homeassistant-stubs/components/google_cloud/helpers.pyi +1 -1
  95. homeassistant-stubs/components/here_travel_time/config_flow.pyi +1 -2
  96. homeassistant-stubs/components/history/__init__.pyi +1 -1
  97. homeassistant-stubs/components/history/helpers.pyi +1 -2
  98. homeassistant-stubs/components/history/websocket_api.pyi +1 -1
  99. homeassistant-stubs/components/history_stats/data.pyi +1 -0
  100. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +4 -3
  101. homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +0 -1
  102. homeassistant-stubs/components/homekit/config_flow.pyi +1 -2
  103. homeassistant-stubs/components/homewizard/button.pyi +2 -0
  104. homeassistant-stubs/components/homewizard/config_flow.pyi +5 -1
  105. homeassistant-stubs/components/homewizard/const.pyi +1 -1
  106. homeassistant-stubs/components/homewizard/coordinator.pyi +3 -3
  107. homeassistant-stubs/components/homewizard/number.pyi +2 -0
  108. homeassistant-stubs/components/homewizard/sensor.pyi +1 -1
  109. homeassistant-stubs/components/homewizard/switch.pyi +4 -2
  110. homeassistant-stubs/components/huawei_lte/config_flow.pyi +0 -2
  111. homeassistant-stubs/components/husqvarna_automower/api.pyi +6 -0
  112. homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +7 -0
  113. homeassistant-stubs/components/husqvarna_automower/button.pyi +1 -0
  114. homeassistant-stubs/components/husqvarna_automower/config_flow.pyi +2 -1
  115. homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +2 -1
  116. homeassistant-stubs/components/husqvarna_automower/number.pyi +1 -0
  117. homeassistant-stubs/components/husqvarna_automower/select.pyi +1 -0
  118. homeassistant-stubs/components/husqvarna_automower/switch.pyi +1 -0
  119. homeassistant-stubs/components/hydrawise/sensor.pyi +2 -9
  120. homeassistant-stubs/components/hyperion/config_flow.pyi +0 -2
  121. homeassistant-stubs/components/ibeacon/config_flow.pyi +0 -3
  122. homeassistant-stubs/components/imap/config_flow.pyi +3 -3
  123. homeassistant-stubs/components/imap/sensor.pyi +1 -1
  124. homeassistant-stubs/components/intent/timers.pyi +6 -0
  125. homeassistant-stubs/components/islamic_prayer_times/config_flow.pyi +0 -3
  126. homeassistant-stubs/components/isy994/config_flow.pyi +0 -2
  127. homeassistant-stubs/components/jellyfin/config_flow.pyi +3 -3
  128. homeassistant-stubs/components/jewish_calendar/__init__.pyi +6 -17
  129. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +2 -4
  130. homeassistant-stubs/components/jewish_calendar/config_flow.pyi +3 -4
  131. homeassistant-stubs/components/jewish_calendar/entity.pyi +15 -4
  132. homeassistant-stubs/components/jewish_calendar/sensor.pyi +3 -5
  133. homeassistant-stubs/components/knx/__init__.pyi +1 -1
  134. homeassistant-stubs/components/knx/config_flow.pyi +0 -1
  135. homeassistant-stubs/components/knx/light.pyi +3 -3
  136. homeassistant-stubs/components/knx/telegrams.pyi +1 -0
  137. homeassistant-stubs/components/knx/websocket.pyi +1 -0
  138. homeassistant-stubs/components/kraken/config_flow.pyi +0 -3
  139. homeassistant-stubs/components/lamarzocco/__init__.pyi +1 -1
  140. homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +1 -1
  141. homeassistant-stubs/components/lamarzocco/button.pyi +7 -3
  142. homeassistant-stubs/components/lamarzocco/calendar.pyi +1 -1
  143. homeassistant-stubs/components/lamarzocco/config_flow.pyi +10 -6
  144. homeassistant-stubs/components/lamarzocco/coordinator.pyi +3 -3
  145. homeassistant-stubs/components/lamarzocco/diagnostics.pyi +1 -1
  146. homeassistant-stubs/components/lamarzocco/entity.pyi +3 -2
  147. homeassistant-stubs/components/lamarzocco/number.pyi +5 -3
  148. homeassistant-stubs/components/lamarzocco/select.pyi +3 -2
  149. homeassistant-stubs/components/lamarzocco/sensor.pyi +1 -1
  150. homeassistant-stubs/components/lamarzocco/switch.pyi +4 -2
  151. homeassistant-stubs/components/lamarzocco/update.pyi +3 -1
  152. homeassistant-stubs/components/lcn/__init__.pyi +4 -4
  153. homeassistant-stubs/components/lcn/config_flow.pyi +0 -4
  154. homeassistant-stubs/components/lcn/helpers.pyi +2 -4
  155. homeassistant-stubs/components/lcn/schemas.pyi +2 -13
  156. homeassistant-stubs/components/lcn/services.pyi +2 -0
  157. homeassistant-stubs/components/lektrico/binary_sensor.pyi +27 -0
  158. homeassistant-stubs/components/linkplay/button.pyi +28 -0
  159. homeassistant-stubs/components/linkplay/diagnostics.pyi +5 -0
  160. homeassistant-stubs/components/linkplay/entity.pyi +16 -0
  161. homeassistant-stubs/components/linkplay/media_player.pyi +3 -8
  162. homeassistant-stubs/components/linkplay/utils.pyi +12 -0
  163. homeassistant-stubs/components/litejet/config_flow.pyi +0 -3
  164. homeassistant-stubs/components/matter/adapter.pyi +1 -0
  165. homeassistant-stubs/components/matter/const.pyi +1 -0
  166. homeassistant-stubs/components/matter/discovery.pyi +1 -0
  167. homeassistant-stubs/components/matter/entity.pyi +2 -1
  168. homeassistant-stubs/components/matter/models.pyi +4 -2
  169. homeassistant-stubs/components/media_extractor/__init__.pyi +1 -2
  170. homeassistant-stubs/components/media_extractor/config_flow.pyi +0 -1
  171. homeassistant-stubs/components/mikrotik/config_flow.pyi +0 -3
  172. homeassistant-stubs/components/mjpeg/config_flow.pyi +0 -3
  173. homeassistant-stubs/components/mold_indicator/sensor.pyi +3 -5
  174. homeassistant-stubs/components/monzo/coordinator.pyi +1 -1
  175. homeassistant-stubs/components/mopeka/config_flow.pyi +0 -2
  176. homeassistant-stubs/components/mqtt/__init__.pyi +1 -0
  177. homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +1 -0
  178. homeassistant-stubs/components/mqtt/binary_sensor.pyi +1 -0
  179. homeassistant-stubs/components/mqtt/button.pyi +1 -0
  180. homeassistant-stubs/components/mqtt/camera.pyi +1 -0
  181. homeassistant-stubs/components/mqtt/climate.pyi +1 -0
  182. homeassistant-stubs/components/mqtt/config_flow.pyi +3 -4
  183. homeassistant-stubs/components/mqtt/cover.pyi +1 -0
  184. homeassistant-stubs/components/mqtt/device_tracker.pyi +1 -0
  185. homeassistant-stubs/components/mqtt/entity.pyi +1 -0
  186. homeassistant-stubs/components/mqtt/event.pyi +1 -0
  187. homeassistant-stubs/components/mqtt/fan.pyi +1 -0
  188. homeassistant-stubs/components/mqtt/humidifier.pyi +1 -0
  189. homeassistant-stubs/components/mqtt/image.pyi +1 -0
  190. homeassistant-stubs/components/mqtt/lawn_mower.pyi +1 -0
  191. homeassistant-stubs/components/mqtt/light/__init__.pyi +2 -0
  192. homeassistant-stubs/components/mqtt/lock.pyi +1 -0
  193. homeassistant-stubs/components/mqtt/notify.pyi +1 -0
  194. homeassistant-stubs/components/mqtt/number.pyi +1 -0
  195. homeassistant-stubs/components/mqtt/scene.pyi +1 -0
  196. homeassistant-stubs/components/mqtt/select.pyi +1 -0
  197. homeassistant-stubs/components/mqtt/sensor.pyi +1 -0
  198. homeassistant-stubs/components/mqtt/siren.pyi +1 -0
  199. homeassistant-stubs/components/mqtt/subscription.pyi +1 -1
  200. homeassistant-stubs/components/mqtt/switch.pyi +1 -0
  201. homeassistant-stubs/components/mqtt/text.pyi +1 -0
  202. homeassistant-stubs/components/mqtt/update.pyi +1 -0
  203. homeassistant-stubs/components/mqtt/vacuum.pyi +1 -0
  204. homeassistant-stubs/components/mqtt/valve.pyi +1 -0
  205. homeassistant-stubs/components/mqtt/water_heater.pyi +1 -0
  206. homeassistant-stubs/components/music_assistant/__init__.pyi +27 -0
  207. homeassistant-stubs/components/music_assistant/config_flow.pyi +24 -0
  208. homeassistant-stubs/components/music_assistant/const.pyi +12 -0
  209. homeassistant-stubs/components/music_assistant/entity.pyi +24 -0
  210. homeassistant-stubs/components/music_assistant/media_browser.pyi +33 -0
  211. homeassistant-stubs/components/music_assistant/media_player.pyi +96 -0
  212. homeassistant-stubs/components/nasweb/__init__.pyi +19 -0
  213. homeassistant-stubs/components/nasweb/config_flow.pyi +27 -0
  214. homeassistant-stubs/components/nasweb/const.pyi +5 -0
  215. homeassistant-stubs/components/nasweb/coordinator.pyi +42 -0
  216. homeassistant-stubs/components/nasweb/nasweb_data.pyi +20 -0
  217. homeassistant-stubs/components/nasweb/switch.pyi +35 -0
  218. homeassistant-stubs/components/nest/camera.pyi +3 -5
  219. homeassistant-stubs/components/netatmo/config_flow.pyi +0 -1
  220. homeassistant-stubs/components/nightscout/sensor.pyi +4 -3
  221. homeassistant-stubs/components/nordpool/__init__.pyi +9 -0
  222. homeassistant-stubs/components/nordpool/config_flow.pyi +19 -0
  223. homeassistant-stubs/components/nordpool/const.pyi +9 -0
  224. homeassistant-stubs/components/nordpool/coordinator.pyi +20 -0
  225. homeassistant-stubs/components/nordpool/diagnostics.pyi +5 -0
  226. homeassistant-stubs/components/nordpool/entity.pyi +14 -0
  227. homeassistant-stubs/components/nordpool/sensor.pyi +69 -0
  228. homeassistant-stubs/components/number/const.pyi +3 -1
  229. homeassistant-stubs/components/nut/__init__.pyi +4 -1
  230. homeassistant-stubs/components/nut/config_flow.pyi +0 -2
  231. homeassistant-stubs/components/nut/sensor.pyi +1 -1
  232. homeassistant-stubs/components/onewire/config_flow.pyi +4 -2
  233. homeassistant-stubs/components/onkyo/config_flow.pyi +3 -2
  234. homeassistant-stubs/components/openai_conversation/config_flow.pyi +0 -1
  235. homeassistant-stubs/components/opensky/config_flow.pyi +3 -3
  236. homeassistant-stubs/components/p1_monitor/__init__.pyi +3 -3
  237. homeassistant-stubs/components/p1_monitor/diagnostics.pyi +1 -2
  238. homeassistant-stubs/components/p1_monitor/sensor.pyi +1 -1
  239. homeassistant-stubs/components/ping/__init__.pyi +2 -6
  240. homeassistant-stubs/components/ping/config_flow.pyi +2 -2
  241. homeassistant-stubs/components/plugwise/climate.pyi +4 -2
  242. homeassistant-stubs/components/plugwise/entity.pyi +2 -2
  243. homeassistant-stubs/components/plugwise/number.pyi +2 -2
  244. homeassistant-stubs/components/plugwise/select.pyi +2 -1
  245. homeassistant-stubs/components/proximity/config_flow.pyi +0 -3
  246. homeassistant-stubs/components/pure_energie/__init__.pyi +4 -5
  247. homeassistant-stubs/components/pure_energie/diagnostics.pyi +2 -4
  248. homeassistant-stubs/components/pure_energie/sensor.pyi +3 -3
  249. homeassistant-stubs/components/purpleair/config_flow.pyi +1 -2
  250. homeassistant-stubs/components/rainmachine/config_flow.pyi +0 -3
  251. homeassistant-stubs/components/recollect_waste/config_flow.pyi +1 -3
  252. homeassistant-stubs/components/recorder/core.pyi +1 -0
  253. homeassistant-stubs/components/recorder/history/legacy.pyi +4 -4
  254. homeassistant-stubs/components/recorder/history/modern.pyi +2 -2
  255. homeassistant-stubs/components/recorder/pool.pyi +1 -1
  256. homeassistant-stubs/components/recorder/queries.pyi +1 -0
  257. homeassistant-stubs/components/recorder/statistics.pyi +1 -1
  258. homeassistant-stubs/components/recorder/table_managers/states.pyi +7 -0
  259. homeassistant-stubs/components/recorder/websocket_api.pyi +1 -1
  260. homeassistant-stubs/components/renault/config_flow.pyi +4 -5
  261. homeassistant-stubs/components/renault/services.pyi +1 -0
  262. homeassistant-stubs/components/reolink/__init__.pyi +28 -0
  263. homeassistant-stubs/components/reolink/binary_sensor.pyi +34 -0
  264. homeassistant-stubs/components/reolink/button.pyi +48 -0
  265. homeassistant-stubs/components/reolink/camera.pyi +28 -0
  266. homeassistant-stubs/components/reolink/config_flow.pyi +35 -0
  267. homeassistant-stubs/components/reolink/const.pyi +2 -0
  268. homeassistant-stubs/components/reolink/diagnostics.pyi +5 -0
  269. homeassistant-stubs/components/reolink/entity.pyi +69 -0
  270. homeassistant-stubs/components/reolink/exceptions.pyi +7 -0
  271. homeassistant-stubs/components/reolink/host.pyi +82 -0
  272. homeassistant-stubs/components/reolink/light.pyi +55 -0
  273. homeassistant-stubs/components/reolink/media_source.pyi +27 -0
  274. homeassistant-stubs/components/reolink/number.pyi +69 -0
  275. homeassistant-stubs/components/reolink/select.pyi +54 -0
  276. homeassistant-stubs/components/reolink/sensor.pyi +55 -0
  277. homeassistant-stubs/components/reolink/services.pyi +12 -0
  278. homeassistant-stubs/components/reolink/siren.pyi +26 -0
  279. homeassistant-stubs/components/reolink/switch.pyi +65 -0
  280. homeassistant-stubs/components/reolink/update.pyi +71 -0
  281. homeassistant-stubs/components/reolink/util.pyi +18 -0
  282. homeassistant-stubs/components/rfxtrx/config_flow.pyi +2 -3
  283. homeassistant-stubs/components/ring/__init__.pyi +0 -1
  284. homeassistant-stubs/components/ring/camera.pyi +22 -6
  285. homeassistant-stubs/components/rituals_perfume_genie/select.pyi +1 -1
  286. homeassistant-stubs/components/roborock/config_flow.pyi +5 -3
  287. homeassistant-stubs/components/roborock/sensor.pyi +1 -1
  288. homeassistant-stubs/components/roku/config_flow.pyi +3 -3
  289. homeassistant-stubs/components/romy/sensor.pyi +1 -1
  290. homeassistant-stubs/components/rtsp_to_webrtc/__init__.pyi +1 -0
  291. homeassistant-stubs/components/rtsp_to_webrtc/config_flow.pyi +0 -2
  292. homeassistant-stubs/components/sensor/const.pyi +4 -2
  293. homeassistant-stubs/components/sensor/device_condition.pyi +2 -0
  294. homeassistant-stubs/components/sensor/device_trigger.pyi +2 -0
  295. homeassistant-stubs/components/shelly/config_flow.pyi +0 -2
  296. homeassistant-stubs/components/shelly/update.pyi +4 -1
  297. homeassistant-stubs/components/simplisafe/config_flow.pyi +0 -2
  298. homeassistant-stubs/components/smlight/config_flow.pyi +1 -1
  299. homeassistant-stubs/components/solarlog/coordinator.pyi +1 -0
  300. homeassistant-stubs/components/sonarr/config_flow.pyi +0 -2
  301. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
  302. homeassistant-stubs/components/spotify/browse_media.pyi +2 -2
  303. homeassistant-stubs/components/spotify/coordinator.pyi +2 -4
  304. homeassistant-stubs/components/sql/config_flow.pyi +2 -2
  305. homeassistant-stubs/components/statistics/sensor.pyi +2 -4
  306. homeassistant-stubs/components/stookwijzer/__init__.pyi +15 -0
  307. homeassistant-stubs/components/stookwijzer/config_flow.pyi +10 -0
  308. homeassistant-stubs/components/stookwijzer/const.pyi +5 -0
  309. homeassistant-stubs/components/stookwijzer/coordinator.pyi +15 -0
  310. homeassistant-stubs/components/stookwijzer/diagnostics.pyi +5 -0
  311. homeassistant-stubs/components/stookwijzer/sensor.pyi +31 -0
  312. homeassistant-stubs/components/stream/const.pyi +3 -2
  313. homeassistant-stubs/components/stream/core.pyi +2 -2
  314. homeassistant-stubs/components/stream/worker.pyi +15 -13
  315. homeassistant-stubs/components/suez_water/__init__.pyi +3 -3
  316. homeassistant-stubs/components/suez_water/config_flow.pyi +2 -1
  317. homeassistant-stubs/components/suez_water/const.pyi +3 -0
  318. homeassistant-stubs/components/suez_water/coordinator.pyi +35 -0
  319. homeassistant-stubs/components/suez_water/sensor.pyi +23 -17
  320. homeassistant-stubs/components/switchbot_cloud/sensor.pyi +3 -1
  321. homeassistant-stubs/components/switcher_kis/button.pyi +1 -1
  322. homeassistant-stubs/components/switcher_kis/cover.pyi +1 -1
  323. homeassistant-stubs/components/switcher_kis/light.pyi +1 -1
  324. homeassistant-stubs/components/switcher_kis/sensor.pyi +2 -0
  325. homeassistant-stubs/components/synology_dsm/config_flow.pyi +0 -2
  326. homeassistant-stubs/components/tedee/binary_sensor.pyi +1 -1
  327. homeassistant-stubs/components/tedee/coordinator.pyi +2 -2
  328. homeassistant-stubs/components/tedee/entity.pyi +1 -1
  329. homeassistant-stubs/components/tedee/lock.pyi +3 -1
  330. homeassistant-stubs/components/tedee/sensor.pyi +1 -1
  331. homeassistant-stubs/components/thethingsnetwork/__init__.pyi +1 -4
  332. homeassistant-stubs/components/threshold/binary_sensor.pyi +4 -0
  333. homeassistant-stubs/components/tibber/__init__.pyi +1 -2
  334. homeassistant-stubs/components/tibber/notify.pyi +1 -10
  335. homeassistant-stubs/components/tod/binary_sensor.pyi +3 -3
  336. homeassistant-stubs/components/tolo/config_flow.pyi +1 -1
  337. homeassistant-stubs/components/tplink/__init__.pyi +1 -1
  338. homeassistant-stubs/components/tplink/config_flow.pyi +6 -3
  339. homeassistant-stubs/components/tplink_omada/__init__.pyi +2 -2
  340. homeassistant-stubs/components/trafikverket_camera/config_flow.pyi +1 -1
  341. homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +2 -3
  342. homeassistant-stubs/components/trafikverket_train/__init__.pyi +3 -0
  343. homeassistant-stubs/components/trafikverket_train/config_flow.pyi +4 -3
  344. homeassistant-stubs/components/trafikverket_train/util.pyi +1 -2
  345. homeassistant-stubs/components/transmission/config_flow.pyi +0 -2
  346. homeassistant-stubs/components/trend/binary_sensor.pyi +1 -0
  347. homeassistant-stubs/components/tts/__init__.pyi +3 -1
  348. homeassistant-stubs/components/unifi/config_flow.pyi +2 -3
  349. homeassistant-stubs/components/unifiprotect/__init__.pyi +1 -1
  350. homeassistant-stubs/components/unifiprotect/config_flow.pyi +0 -2
  351. homeassistant-stubs/components/unifiprotect/const.pyi +5 -0
  352. homeassistant-stubs/components/unifiprotect/event.pyi +17 -4
  353. homeassistant-stubs/components/unifiprotect/views.pyi +7 -1
  354. homeassistant-stubs/components/upcloud/config_flow.pyi +0 -2
  355. homeassistant-stubs/components/watttime/config_flow.pyi +1 -3
  356. homeassistant-stubs/components/webostv/config_flow.pyi +0 -2
  357. homeassistant-stubs/components/websocket_api/http.pyi +2 -1
  358. homeassistant-stubs/components/wemo/config_flow.pyi +0 -3
  359. homeassistant-stubs/components/wled/config_flow.pyi +2 -2
  360. homeassistant-stubs/components/workday/config_flow.pyi +2 -2
  361. homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +5 -3
  362. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +0 -2
  363. homeassistant-stubs/components/youtube/config_flow.pyi +2 -2
  364. homeassistant-stubs/components/zeroconf/usage.pyi +1 -1
  365. homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
  366. homeassistant-stubs/components/zwave_js/api.pyi +9 -1
  367. homeassistant-stubs/components/zwave_js/config_flow.pyi +1 -2
  368. homeassistant-stubs/components/zwave_js/const.pyi +1 -0
  369. homeassistant-stubs/config_entries.pyi +15 -7
  370. homeassistant-stubs/const.pyi +26 -1
  371. homeassistant-stubs/core_config.pyi +1 -1
  372. homeassistant-stubs/data_entry_flow.pyi +3 -3
  373. homeassistant-stubs/helpers/device_registry.pyi +0 -1
  374. homeassistant-stubs/helpers/entity.pyi +1 -0
  375. homeassistant-stubs/helpers/entity_platform.pyi +1 -0
  376. homeassistant-stubs/helpers/frame.pyi +12 -3
  377. homeassistant-stubs/helpers/intent.pyi +1 -0
  378. homeassistant-stubs/helpers/llm.pyi +2 -3
  379. homeassistant-stubs/helpers/restore_state.pyi +0 -3
  380. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +5 -2
  381. homeassistant-stubs/helpers/trigger_template_entity.pyi +1 -1
  382. homeassistant-stubs/helpers/update_coordinator.pyi +3 -3
  383. homeassistant-stubs/loader.pyi +1 -0
  384. homeassistant-stubs/runner.pyi +0 -4
  385. homeassistant-stubs/util/json.pyi +3 -3
  386. homeassistant-stubs/util/unit_conversion.pyi +20 -1
  387. homeassistant-stubs/util/unit_system.pyi +7 -4
  388. homeassistant-stubs/util/yaml/loader.pyi +0 -19
  389. {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/METADATA +2 -2
  390. {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/RECORD +392 -337
  391. homeassistant-stubs/components/spotify/sensor.pyi +0 -31
  392. {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/WHEEL +0 -0
  393. {homeassistant_stubs-2024.11.2.dist-info → homeassistant_stubs-2024.12.0.dist-info}/licenses/LICENSE +0 -0
@@ -12,7 +12,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
12
12
  from homeassistant.helpers.typing import ConfigType as ConfigType
13
13
  from homeassistant.util.hass_dict import HassKey as HassKey
14
14
  from homeassistant.util.package import is_docker_env as is_docker_env
15
- from webrtc_models import RTCIceCandidate
15
+ from webrtc_models import RTCIceCandidateInit
16
16
 
17
17
  _LOGGER: Incomplete
18
18
  _SUPPORTED_STREAMS: Incomplete
@@ -37,5 +37,5 @@ class WebRTCProvider(CameraWebRTCProvider):
37
37
  def domain(self) -> str: ...
38
38
  def async_is_supported(self, stream_source: str) -> bool: ...
39
39
  async def async_handle_async_webrtc_offer(self, camera: Camera, offer_sdp: str, session_id: str, send_message: WebRTCSendMessage) -> None: ...
40
- async def async_on_webrtc_candidate(self, session_id: str, candidate: RTCIceCandidate) -> None: ...
40
+ async def async_on_webrtc_candidate(self, session_id: str, candidate: RTCIceCandidateInit) -> None: ...
41
41
  def async_close_session(self, session_id: str) -> None: ...
@@ -32,6 +32,4 @@ class OAuth2FlowHandler(config_entry_oauth2_flow.AbstractOAuth2FlowHandler, doma
32
32
  def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
33
33
 
34
34
  class OptionsFlowHandler(OptionsFlow):
35
- config_entry: Incomplete
36
- def __init__(self, config_entry: ConfigEntry) -> None: ...
37
35
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -23,6 +23,4 @@ class OAuth2FlowHandler(config_entry_oauth2_flow.AbstractOAuth2FlowHandler, doma
23
23
  def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
24
24
 
25
25
  class OptionsFlowHandler(OptionsFlow):
26
- config_entry: Incomplete
27
- def __init__(self, config_entry: ConfigEntry) -> None: ...
28
26
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -3,7 +3,7 @@ from .helpers import async_tts_voices as async_tts_voices, tts_options_schema as
3
3
  from _typeshed import Incomplete
4
4
  from homeassistant.components.file_upload import process_uploaded_file as process_uploaded_file
5
5
  from homeassistant.components.tts import CONF_LANG as CONF_LANG
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
6
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
7
7
  from homeassistant.core import callback as callback
8
8
  from homeassistant.helpers.selector import FileSelector as FileSelector, FileSelectorConfig as FileSelectorConfig, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig, SelectSelectorMode as SelectSelectorMode
9
9
  from typing import Any
@@ -23,5 +23,5 @@ class GoogleCloudConfigFlow(ConfigFlow, domain=DOMAIN):
23
23
  @staticmethod
24
24
  def async_get_options_flow(config_entry: ConfigEntry) -> GoogleCloudOptionsFlowHandler: ...
25
25
 
26
- class GoogleCloudOptionsFlowHandler(OptionsFlowWithConfigEntry):
26
+ class GoogleCloudOptionsFlowHandler(OptionsFlow):
27
27
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -9,6 +9,6 @@ from typing import Any
9
9
  DEFAULT_VOICE: str
10
10
 
11
11
  async def async_tts_voices(client: texttospeech.TextToSpeechAsyncClient) -> dict[str, list[str]]: ...
12
- def tts_options_schema(config_options: dict[str, Any], voices: dict[str, list[str]], from_config_flow: bool = False) -> vol.Schema: ...
12
+ def tts_options_schema(config_options: Mapping[str, Any], voices: dict[str, list[str]], from_config_flow: bool = False) -> vol.Schema: ...
13
13
  def tts_platform_schema() -> vol.Schema: ...
14
14
  def validate_service_account_info(info: Mapping[str, str]) -> None: ...
@@ -30,9 +30,8 @@ class HERETravelTimeConfigFlow(ConfigFlow, domain=DOMAIN):
30
30
  async def async_step_destination_entity(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
31
31
 
32
32
  class HERETravelTimeOptionsFlow(OptionsFlow):
33
- config_entry: Incomplete
34
33
  _config: Incomplete
35
- def __init__(self, config_entry: ConfigEntry) -> None: ...
34
+ def __init__(self) -> None: ...
36
35
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
37
36
  async def async_step_time_menu(self, _: None = None) -> ConfigFlowResult: ...
38
37
  async def async_step_no_time(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,6 +1,6 @@
1
1
  from . import websocket_api as websocket_api
2
2
  from .const import DOMAIN as DOMAIN
3
- from .helpers import entities_may_have_state_changes_after as entities_may_have_state_changes_after, has_recorder_run_after as has_recorder_run_after
3
+ from .helpers import entities_may_have_state_changes_after as entities_may_have_state_changes_after, has_states_before as has_states_before
4
4
  from _typeshed import Incomplete
5
5
  from aiohttp import web
6
6
  from datetime import datetime as dt
@@ -1,8 +1,7 @@
1
1
  from collections.abc import Iterable
2
2
  from datetime import datetime as dt
3
3
  from homeassistant.components.recorder import get_instance as get_instance
4
- from homeassistant.components.recorder.models import process_timestamp as process_timestamp
5
4
  from homeassistant.core import HomeAssistant as HomeAssistant
6
5
 
7
6
  def entities_may_have_state_changes_after(hass: HomeAssistant, entity_ids: Iterable, start_time: dt, no_attributes: bool) -> bool: ...
8
- def has_recorder_run_after(hass: HomeAssistant, run_time: dt) -> bool: ...
7
+ def has_states_before(hass: HomeAssistant, run_time: dt) -> bool: ...
@@ -1,6 +1,6 @@
1
1
  import asyncio
2
2
  from .const import EVENT_COALESCE_TIME as EVENT_COALESCE_TIME, MAX_PENDING_HISTORY_STATES as MAX_PENDING_HISTORY_STATES
3
- from .helpers import entities_may_have_state_changes_after as entities_may_have_state_changes_after, has_recorder_run_after as has_recorder_run_after
3
+ from .helpers import entities_may_have_state_changes_after as entities_may_have_state_changes_after, has_states_before as has_states_before
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Callable as Callable, Iterable
6
6
  from dataclasses import dataclass
@@ -7,6 +7,7 @@ from homeassistant.core import Event as Event, EventStateChangedData as EventSta
7
7
  from homeassistant.helpers.template import Template as Template
8
8
 
9
9
  MIN_TIME_UTC: Incomplete
10
+ _LOGGER: Incomplete
10
11
 
11
12
  @dataclass
12
13
  class HistoryStatsState:
@@ -6,7 +6,7 @@ from _typeshed import Incomplete
6
6
  from abc import ABC, abstractmethod
7
7
  from homeassistant.components.hassio import AddonError as AddonError, AddonInfo as AddonInfo, AddonManager as AddonManager, AddonState as AddonState
8
8
  from homeassistant.components.zha.repairs.wrong_silabs_firmware import probe_silabs_firmware_type as probe_silabs_firmware_type
9
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryBaseFlow as ConfigEntryBaseFlow, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
9
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryBaseFlow as ConfigEntryBaseFlow, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
10
10
  from homeassistant.core import callback as callback
11
11
  from homeassistant.data_entry_flow import AbortFlow as AbortFlow
12
12
  from homeassistant.helpers.hassio import is_hassio as is_hassio
@@ -51,10 +51,11 @@ class BaseFirmwareConfigFlow(BaseFirmwareInstallFlow, ConfigFlow, metaclass=abc.
51
51
  def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
52
52
  async def async_step_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
53
53
 
54
- class BaseFirmwareOptionsFlow(BaseFirmwareInstallFlow, OptionsFlowWithConfigEntry, metaclass=abc.ABCMeta):
54
+ class BaseFirmwareOptionsFlow(BaseFirmwareInstallFlow, OptionsFlow, metaclass=abc.ABCMeta):
55
+ _config_entry: Incomplete
55
56
  _probed_firmware_type: Incomplete
56
57
  context: Incomplete
57
- def __init__(self, *args: Any, **kwargs: Any) -> None: ...
58
+ def __init__(self, config_entry: ConfigEntry, *args: Any, **kwargs: Any) -> None: ...
58
59
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
59
60
  async def async_step_pick_firmware_zigbee(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
60
61
  async def async_step_pick_firmware_thread(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -77,7 +77,6 @@ class OptionsFlowHandler(OptionsFlow, ABC, metaclass=abc.ABCMeta):
77
77
  start_task: Incomplete
78
78
  stop_task: Incomplete
79
79
  _zha_migration_mgr: Incomplete
80
- config_entry: Incomplete
81
80
  original_addon_config: Incomplete
82
81
  revert_reason: Incomplete
83
82
  def __init__(self, config_entry: ConfigEntry) -> None: ...
@@ -54,10 +54,9 @@ class HomeKitConfigFlow(ConfigFlow, domain=DOMAIN):
54
54
  def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlowHandler: ...
55
55
 
56
56
  class OptionsFlowHandler(OptionsFlow):
57
- config_entry: Incomplete
58
57
  hk_options: Incomplete
59
58
  included_cameras: Incomplete
60
- def __init__(self, config_entry: ConfigEntry) -> None: ...
59
+ def __init__(self) -> None: ...
61
60
  async def async_step_yaml(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
62
61
  async def async_step_advanced(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
63
62
  async def async_step_cameras(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -8,6 +8,8 @@ from homeassistant.const import EntityCategory as EntityCategory
8
8
  from homeassistant.core import HomeAssistant as HomeAssistant
9
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
10
10
 
11
+ PARALLEL_UPDATES: int
12
+
11
13
  async def async_setup_entry(hass: HomeAssistant, entry: HomeWizardConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
12
14
 
13
15
  class HomeWizardIdentifyButton(HomeWizardEntity, ButtonEntity):
@@ -2,11 +2,13 @@ from .const import CONF_API_ENABLED as CONF_API_ENABLED, CONF_PRODUCT_NAME as CO
2
2
  from _typeshed import Incomplete
3
3
  from collections.abc import Mapping
4
4
  from homeassistant.components import onboarding as onboarding, zeroconf as zeroconf
5
+ from homeassistant.components.dhcp import DhcpServiceInfo as DhcpServiceInfo
5
6
  from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
6
7
  from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_PATH as CONF_PATH
7
8
  from homeassistant.data_entry_flow import AbortFlow as AbortFlow
8
9
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
9
- from homewizard_energy.models import Device as Device
10
+ from homeassistant.helpers.selector import TextSelector as TextSelector
11
+ from homewizard_energy.v1.models import Device as Device
10
12
  from typing import Any, NamedTuple
11
13
 
12
14
  _LOGGER: Incomplete
@@ -22,9 +24,11 @@ class HomeWizardConfigFlow(ConfigFlow, domain=DOMAIN):
22
24
  discovery: DiscoveryData
23
25
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
24
26
  async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
27
+ async def async_step_dhcp(self, discovery_info: DhcpServiceInfo) -> ConfigFlowResult: ...
25
28
  async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
26
29
  async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
27
30
  async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
31
+ async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
28
32
  @staticmethod
29
33
  async def _async_try_connect(ip_address: str) -> Device: ...
30
34
 
@@ -1,7 +1,7 @@
1
1
  from _typeshed import Incomplete
2
2
  from dataclasses import dataclass
3
3
  from homeassistant.const import Platform as Platform
4
- from homewizard_energy.models import Data as Data, Device as Device, State as State, System as System
4
+ from homewizard_energy.v1.models import Data as Data, Device as Device, State as State, System as System
5
5
 
6
6
  DOMAIN: str
7
7
  PLATFORMS: Incomplete
@@ -5,13 +5,13 @@ from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
7
7
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
8
- from homewizard_energy import HomeWizardEnergy
9
- from homewizard_energy.models import Device as Device
8
+ from homewizard_energy import HomeWizardEnergyV1
9
+ from homewizard_energy.v1.models import Device as Device
10
10
 
11
11
  _LOGGER: Incomplete
12
12
 
13
13
  class HWEnergyDeviceUpdateCoordinator(DataUpdateCoordinator[DeviceResponseEntry]):
14
- api: HomeWizardEnergy
14
+ api: HomeWizardEnergyV1
15
15
  api_disabled: bool
16
16
  _unsupported_error: bool
17
17
  config_entry: ConfigEntry
@@ -9,6 +9,8 @@ from homeassistant.core import HomeAssistant as HomeAssistant
9
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
10
10
  from homeassistant.util.color import brightness_to_value as brightness_to_value, value_to_brightness as value_to_brightness
11
11
 
12
+ PARALLEL_UPDATES: int
13
+
12
14
  async def async_setup_entry(hass: HomeAssistant, entry: HomeWizardConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
13
15
 
14
16
  class HWEnergyNumberEntity(HomeWizardEntity, NumberEntity):
@@ -11,7 +11,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant
11
11
  from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
12
12
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
13
13
  from homeassistant.helpers.typing import StateType as StateType
14
- from homewizard_energy.models import Data as Data, ExternalDevice
14
+ from homewizard_energy.v1.models import Data as Data, ExternalDevice
15
15
  from typing import Final
16
16
 
17
17
  PARALLEL_UPDATES: int
@@ -10,15 +10,17 @@ from homeassistant.components.switch import SwitchDeviceClass as SwitchDeviceCla
10
10
  from homeassistant.const import EntityCategory as EntityCategory
11
11
  from homeassistant.core import HomeAssistant as HomeAssistant
12
12
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
13
- from homewizard_energy import HomeWizardEnergy as HomeWizardEnergy
13
+ from homewizard_energy import HomeWizardEnergyV1 as HomeWizardEnergyV1
14
14
  from typing import Any
15
15
 
16
+ PARALLEL_UPDATES: int
17
+
16
18
  @dataclass(frozen=True, kw_only=True)
17
19
  class HomeWizardSwitchEntityDescription(SwitchEntityDescription):
18
20
  available_fn: Callable[[DeviceResponseEntry], bool]
19
21
  create_fn: Callable[[HWEnergyDeviceUpdateCoordinator], bool]
20
22
  is_on_fn: Callable[[DeviceResponseEntry], bool | None]
21
- set_fn: Callable[[HomeWizardEnergy, bool], Awaitable[Any]]
23
+ set_fn: Callable[[HomeWizardEnergyV1, bool], Awaitable[Any]]
22
24
  def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., available_fn, create_fn, is_on_fn, set_fn) -> None: ...
23
25
 
24
26
  SWITCHES: Incomplete
@@ -29,6 +29,4 @@ class ConfigFlowHandler(ConfigFlow, domain=DOMAIN):
29
29
  async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
30
30
 
31
31
  class OptionsFlowHandler(OptionsFlow):
32
- config_entry: Incomplete
33
- def __init__(self, config_entry: ConfigEntry) -> None: ...
34
32
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,6 +1,7 @@
1
1
  from _typeshed import Incomplete
2
2
  from aioautomower.auth import AbstractAuth
3
3
  from aiohttp import ClientSession as ClientSession
4
+ from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN
4
5
  from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
5
6
 
6
7
  _LOGGER: Incomplete
@@ -9,3 +10,8 @@ class AsyncConfigEntryAuth(AbstractAuth):
9
10
  _oauth_session: Incomplete
10
11
  def __init__(self, websession: ClientSession, oauth_session: config_entry_oauth2_flow.OAuth2Session) -> None: ...
11
12
  async def async_get_access_token(self) -> str: ...
13
+
14
+ class AsyncConfigFlowAuth(AbstractAuth):
15
+ token: Incomplete
16
+ def __init__(self, websession: ClientSession, token: dict) -> None: ...
17
+ async def async_get_access_token(self) -> str: ...
@@ -1,16 +1,22 @@
1
1
  from . import AutomowerConfigEntry as AutomowerConfigEntry
2
+ from .const import DOMAIN as DOMAIN
2
3
  from .coordinator import AutomowerDataUpdateCoordinator as AutomowerDataUpdateCoordinator
3
4
  from .entity import AutomowerBaseEntity as AutomowerBaseEntity
4
5
  from _typeshed import Incomplete
5
6
  from aioautomower.model import MowerAttributes as MowerAttributes
6
7
  from collections.abc import Callable as Callable
7
8
  from dataclasses import dataclass
9
+ from homeassistant.components.automation import automations_with_entity as automations_with_entity
8
10
  from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
11
+ from homeassistant.components.script import scripts_with_entity as scripts_with_entity
9
12
  from homeassistant.core import HomeAssistant as HomeAssistant
10
13
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
14
+ from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue, async_delete_issue as async_delete_issue
11
15
 
12
16
  _LOGGER: Incomplete
13
17
 
18
+ def entity_used_in(hass: HomeAssistant, entity_id: str) -> list[str]: ...
19
+
14
20
  @dataclass(frozen=True, kw_only=True)
15
21
  class AutomowerBinarySensorEntityDescription(BinarySensorEntityDescription):
16
22
  value_fn: Callable[[MowerAttributes], bool]
@@ -26,3 +32,4 @@ class AutomowerBinarySensorEntity(AutomowerBaseEntity, BinarySensorEntity):
26
32
  def __init__(self, mower_id: str, coordinator: AutomowerDataUpdateCoordinator, description: AutomowerBinarySensorEntityDescription) -> None: ...
27
33
  @property
28
34
  def is_on(self) -> bool: ...
35
+ async def async_added_to_hass(self) -> None: ...
@@ -12,6 +12,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
12
12
  from typing import Any
13
13
 
14
14
  _LOGGER: Incomplete
15
+ PARALLEL_UPDATES: int
15
16
 
16
17
  @dataclass(frozen=True, kw_only=True)
17
18
  class AutomowerButtonEntityDescription(ButtonEntityDescription):
@@ -1,10 +1,11 @@
1
1
  import logging
2
+ from .api import AsyncConfigFlowAuth as AsyncConfigFlowAuth
2
3
  from .const import DOMAIN as DOMAIN, NAME as NAME
3
4
  from _typeshed import Incomplete
4
5
  from collections.abc import Mapping
5
6
  from homeassistant.config_entries import ConfigFlowResult as ConfigFlowResult, SOURCE_REAUTH as SOURCE_REAUTH
6
7
  from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_NAME as CONF_NAME, CONF_TOKEN as CONF_TOKEN
7
- from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
8
+ from homeassistant.helpers import aiohttp_client as aiohttp_client, config_entry_oauth2_flow as config_entry_oauth2_flow
8
9
  from typing import Any
9
10
 
10
11
  _LOGGER: Incomplete
@@ -11,6 +11,8 @@ from homeassistant.exceptions import ServiceValidationError as ServiceValidation
11
11
  from homeassistant.helpers import entity_platform as entity_platform
12
12
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
13
13
 
14
+ _LOGGER: Incomplete
15
+ PARALLEL_UPDATES: int
14
16
  DOCKED_ACTIVITIES: Incomplete
15
17
  MOWING_ACTIVITIES: Incomplete
16
18
  PAUSED_STATES: Incomplete
@@ -18,7 +20,6 @@ SUPPORT_STATE_SERVICES: Incomplete
18
20
  MOW: str
19
21
  PARK: str
20
22
  OVERRIDE_MODES: Incomplete
21
- _LOGGER: Incomplete
22
23
 
23
24
  async def async_setup_entry(hass: HomeAssistant, entry: AutomowerConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
24
25
 
@@ -13,6 +13,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
13
13
  from typing import Any
14
14
 
15
15
  _LOGGER: Incomplete
16
+ PARALLEL_UPDATES: int
16
17
 
17
18
  def _async_get_cutting_height(data: MowerAttributes) -> int: ...
18
19
  async def async_set_work_area_cutting_height(coordinator: AutomowerDataUpdateCoordinator, mower_id: str, cheight: float, work_area_id: int) -> None: ...
@@ -8,6 +8,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
9
9
 
10
10
  _LOGGER: Incomplete
11
+ PARALLEL_UPDATES: int
11
12
  HEADLIGHT_MODES: list
12
13
 
13
14
  async def async_setup_entry(hass: HomeAssistant, entry: AutomowerConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
@@ -8,6 +8,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
9
9
  from typing import Any
10
10
 
11
+ PARALLEL_UPDATES: int
11
12
  _LOGGER: Incomplete
12
13
 
13
14
  async def async_setup_entry(hass: HomeAssistant, entry: AutomowerConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
@@ -4,12 +4,12 @@ from .entity import HydrawiseEntity as HydrawiseEntity
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Callable as Callable
6
6
  from dataclasses import dataclass
7
- from datetime import datetime
8
7
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
9
8
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
10
9
  from homeassistant.const import UnitOfTime as UnitOfTime, UnitOfVolume as UnitOfVolume
11
10
  from homeassistant.core import HomeAssistant as HomeAssistant
12
11
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
12
+ from pydrawise.schema import ControllerWaterUseSummary as ControllerWaterUseSummary
13
13
  from typing import Any
14
14
 
15
15
  @dataclass(frozen=True, kw_only=True)
@@ -17,14 +17,7 @@ class HydrawiseSensorEntityDescription(SensorEntityDescription):
17
17
  value_fn: Callable[[HydrawiseSensor], Any]
18
18
  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=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
19
19
 
20
- def _get_zone_watering_time(sensor: HydrawiseSensor) -> int: ...
21
- def _get_zone_next_cycle(sensor: HydrawiseSensor) -> datetime | None: ...
22
- def _get_zone_daily_active_water_use(sensor: HydrawiseSensor) -> float: ...
23
- def _get_zone_daily_active_water_time(sensor: HydrawiseSensor) -> float | None: ...
24
- def _get_controller_daily_active_water_use(sensor: HydrawiseSensor) -> float | None: ...
25
- def _get_controller_daily_inactive_water_use(sensor: HydrawiseSensor) -> float | None: ...
26
- def _get_controller_daily_active_water_time(sensor: HydrawiseSensor) -> float: ...
27
- def _get_controller_daily_total_water_use(sensor: HydrawiseSensor) -> float | None: ...
20
+ def _get_water_use(sensor: HydrawiseSensor) -> ControllerWaterUseSummary: ...
28
21
 
29
22
  WATER_USE_CONTROLLER_SENSORS: tuple[HydrawiseSensorEntityDescription, ...]
30
23
  WATER_USE_ZONE_SENSORS: tuple[HydrawiseSensorEntityDescription, ...]
@@ -39,7 +39,5 @@ class HyperionConfigFlow(ConfigFlow, domain=DOMAIN):
39
39
  def async_get_options_flow(config_entry: ConfigEntry) -> HyperionOptionsFlow: ...
40
40
 
41
41
  class HyperionOptionsFlow(OptionsFlow):
42
- _config_entry: Incomplete
43
- def __init__(self, config_entry: ConfigEntry) -> None: ...
44
42
  def _create_client(self) -> client.HyperionClient: ...
45
43
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,5 +1,4 @@
1
1
  from .const import CONF_ALLOW_NAMELESS_UUIDS as CONF_ALLOW_NAMELESS_UUIDS, DOMAIN as DOMAIN
2
- from _typeshed import Incomplete
3
2
  from homeassistant.components import bluetooth as bluetooth
4
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
5
4
  from homeassistant.core import callback as callback
@@ -13,6 +12,4 @@ class IBeaconConfigFlow(ConfigFlow, domain=DOMAIN):
13
12
  def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
14
13
 
15
14
  class IBeaconOptionsFlow(OptionsFlow):
16
- config_entry: Incomplete
17
- def __init__(self, config_entry: ConfigEntry) -> None: ...
18
15
  async def async_step_init(self, user_input: dict | None = None) -> ConfigFlowResult: ...
@@ -3,7 +3,7 @@ from .coordinator import connect_to_server as connect_to_server
3
3
  from .errors import InvalidAuth as InvalidAuth, InvalidFolder as InvalidFolder
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Mapping
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
6
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
7
7
  from homeassistant.const import CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL
8
8
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
9
9
  from homeassistant.data_entry_flow import AbortFlow as AbortFlow
@@ -28,7 +28,7 @@ class IMAPConfigFlow(ConfigFlow, domain=DOMAIN):
28
28
  async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
29
29
  async def async_step_reauth_confirm(self, user_input: dict[str, str] | None = None) -> ConfigFlowResult: ...
30
30
  @staticmethod
31
- def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
31
+ def async_get_options_flow(config_entry: ConfigEntry) -> ImapOptionsFlow: ...
32
32
 
33
- class OptionsFlow(OptionsFlowWithConfigEntry):
33
+ class ImapOptionsFlow(OptionsFlow):
34
34
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -3,7 +3,7 @@ from .const import DOMAIN as DOMAIN
3
3
  from .coordinator import ImapDataUpdateCoordinator as ImapDataUpdateCoordinator
4
4
  from _typeshed import Incomplete
5
5
  from homeassistant.components.sensor import SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
6
- from homeassistant.const import CONF_USERNAME as CONF_USERNAME
6
+ from homeassistant.const import CONF_USERNAME as CONF_USERNAME, EntityCategory as EntityCategory
7
7
  from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
9
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -104,6 +104,12 @@ class CancelTimerIntentHandler(intent.IntentHandler):
104
104
  slot_schema: Incomplete
105
105
  async def async_handle(self, intent_obj: intent.Intent) -> intent.IntentResponse: ...
106
106
 
107
+ class CancelAllTimersIntentHandler(intent.IntentHandler):
108
+ intent_type: Incomplete
109
+ description: str
110
+ slot_schema: Incomplete
111
+ async def async_handle(self, intent_obj: intent.Intent) -> intent.IntentResponse: ...
112
+
107
113
  class IncreaseTimerIntentHandler(intent.IntentHandler):
108
114
  intent_type: Incomplete
109
115
  description: str
@@ -1,5 +1,4 @@
1
1
  from .const import CALC_METHODS as CALC_METHODS, CONF_CALC_METHOD as CONF_CALC_METHOD, CONF_LAT_ADJ_METHOD as CONF_LAT_ADJ_METHOD, CONF_MIDNIGHT_MODE as CONF_MIDNIGHT_MODE, CONF_SCHOOL as CONF_SCHOOL, DEFAULT_CALC_METHOD as DEFAULT_CALC_METHOD, DEFAULT_LAT_ADJ_METHOD as DEFAULT_LAT_ADJ_METHOD, DEFAULT_MIDNIGHT_MODE as DEFAULT_MIDNIGHT_MODE, DEFAULT_SCHOOL as DEFAULT_SCHOOL, DOMAIN as DOMAIN, LAT_ADJ_METHODS as LAT_ADJ_METHODS, MIDNIGHT_MODES as MIDNIGHT_MODES, NAME as NAME, SCHOOLS as SCHOOLS
2
- from _typeshed import Incomplete
3
2
  from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
4
3
  from homeassistant.const import CONF_LATITUDE as CONF_LATITUDE, CONF_LOCATION as CONF_LOCATION, CONF_LONGITUDE as CONF_LONGITUDE, CONF_NAME as CONF_NAME
5
4
  from homeassistant.core import callback as callback
@@ -14,6 +13,4 @@ class IslamicPrayerFlowHandler(ConfigFlow, domain=DOMAIN):
14
13
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
15
14
 
16
15
  class IslamicPrayerOptionsFlowHandler(OptionsFlow):
17
- config_entry: Incomplete
18
- def __init__(self, config_entry: ConfigEntry) -> None: ...
19
16
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -31,8 +31,6 @@ class Isy994ConfigFlow(ConfigFlow, domain=DOMAIN):
31
31
  async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
32
32
 
33
33
  class OptionsFlowHandler(OptionsFlow):
34
- config_entry: Incomplete
35
- def __init__(self, config_entry: ConfigEntry) -> None: ...
36
34
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
37
35
 
38
36
  class InvalidHost(HomeAssistantError): ...
@@ -3,7 +3,7 @@ from .client_wrapper import CannotConnect as CannotConnect, InvalidAuth as Inval
3
3
  from .const import CONF_CLIENT_DEVICE_ID as CONF_CLIENT_DEVICE_ID, DOMAIN as DOMAIN, SUPPORTED_AUDIO_CODECS as SUPPORTED_AUDIO_CODECS
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Mapping
6
- from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
6
+ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
7
7
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_URL as CONF_URL, CONF_USERNAME as CONF_USERNAME
8
8
  from homeassistant.core import callback as callback
9
9
  from homeassistant.util.uuid import random_uuid_hex as random_uuid_hex
@@ -24,7 +24,7 @@ class JellyfinConfigFlow(ConfigFlow, domain=DOMAIN):
24
24
  async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
25
25
  async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
26
26
  @staticmethod
27
- def async_get_options_flow(config_entry: JellyfinConfigEntry) -> OptionsFlowWithConfigEntry: ...
27
+ def async_get_options_flow(config_entry: JellyfinConfigEntry) -> OptionsFlowHandler: ...
28
28
 
29
- class OptionsFlowHandler(OptionsFlowWithConfigEntry):
29
+ class OptionsFlowHandler(OptionsFlow):
30
30
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,20 +1,9 @@
1
- import homeassistant.helpers.entity_registry as er
2
- from .binary_sensor import BINARY_SENSORS as BINARY_SENSORS
3
- from .const import CONF_CANDLE_LIGHT_MINUTES as CONF_CANDLE_LIGHT_MINUTES, CONF_DIASPORA as CONF_DIASPORA, CONF_HAVDALAH_OFFSET_MINUTES as CONF_HAVDALAH_OFFSET_MINUTES, DEFAULT_CANDLE_LIGHT as DEFAULT_CANDLE_LIGHT, DEFAULT_DIASPORA as DEFAULT_DIASPORA, DEFAULT_HAVDALAH_OFFSET_MINUTES as DEFAULT_HAVDALAH_OFFSET_MINUTES, DEFAULT_LANGUAGE as DEFAULT_LANGUAGE, DEFAULT_NAME as DEFAULT_NAME, DOMAIN as DOMAIN
4
- from .sensor import INFO_SENSORS as INFO_SENSORS, TIME_SENSORS as TIME_SENSORS
5
- from _typeshed import Incomplete
6
- from hdate import Location
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, SOURCE_IMPORT as SOURCE_IMPORT
8
- from homeassistant.const import CONF_ELEVATION as CONF_ELEVATION, CONF_LANGUAGE as CONF_LANGUAGE, CONF_LATITUDE as CONF_LATITUDE, CONF_LOCATION as CONF_LOCATION, CONF_LONGITUDE as CONF_LONGITUDE, CONF_NAME as CONF_NAME, CONF_TIME_ZONE as CONF_TIME_ZONE, Platform as Platform
9
- from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
10
- from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
11
- from homeassistant.helpers.typing import ConfigType as ConfigType
1
+ from .const import CONF_CANDLE_LIGHT_MINUTES as CONF_CANDLE_LIGHT_MINUTES, CONF_DIASPORA as CONF_DIASPORA, CONF_HAVDALAH_OFFSET_MINUTES as CONF_HAVDALAH_OFFSET_MINUTES, DEFAULT_CANDLE_LIGHT as DEFAULT_CANDLE_LIGHT, DEFAULT_DIASPORA as DEFAULT_DIASPORA, DEFAULT_HAVDALAH_OFFSET_MINUTES as DEFAULT_HAVDALAH_OFFSET_MINUTES, DEFAULT_LANGUAGE as DEFAULT_LANGUAGE
2
+ from .entity import JewishCalendarConfigEntry as JewishCalendarConfigEntry, JewishCalendarData as JewishCalendarData
3
+ from homeassistant.const import CONF_ELEVATION as CONF_ELEVATION, CONF_LANGUAGE as CONF_LANGUAGE, CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_TIME_ZONE as CONF_TIME_ZONE, Platform as Platform
4
+ from homeassistant.core import HomeAssistant as HomeAssistant
12
5
 
13
6
  PLATFORMS: list[Platform]
14
- CONFIG_SCHEMA: Incomplete
15
7
 
16
- def get_unique_prefix(location: Location, language: str, candle_lighting_offset: int | None, havdalah_offset: int | None) -> str: ...
17
- async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
18
- async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
19
- async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
20
- def async_update_unique_ids(ent_reg: er.EntityRegistry, new_prefix: str, old_prefix: str) -> None: ...
8
+ async def async_setup_entry(hass: HomeAssistant, config_entry: JewishCalendarConfigEntry) -> bool: ...
9
+ async def async_unload_entry(hass: HomeAssistant, config_entry: JewishCalendarConfigEntry) -> bool: ...
@@ -1,12 +1,10 @@
1
- from .const import DOMAIN as DOMAIN
2
- from .entity import JewishCalendarEntity as JewishCalendarEntity
1
+ from .entity import JewishCalendarConfigEntry as JewishCalendarConfigEntry, JewishCalendarEntity as JewishCalendarEntity
3
2
  from _typeshed import Incomplete
4
3
  from collections.abc import Callable as Callable
5
4
  from dataclasses import dataclass
6
5
  from datetime import datetime
7
6
  from hdate.zmanim import Zmanim as Zmanim
8
7
  from homeassistant.components.binary_sensor import BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
9
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
10
8
  from homeassistant.const import EntityCategory as EntityCategory
11
9
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, callback as callback
12
10
  from homeassistant.helpers import event as event
@@ -23,7 +21,7 @@ class JewishCalendarBinarySensorEntityDescription(JewishCalendarBinarySensorMixI
23
21
 
24
22
  BINARY_SENSORS: tuple[JewishCalendarBinarySensorEntityDescription, ...]
25
23
 
26
- async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
24
+ async def async_setup_entry(hass: HomeAssistant, config_entry: JewishCalendarConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
27
25
 
28
26
  class JewishCalendarBinarySensor(JewishCalendarEntity, BinarySensorEntity):
29
27
  _attr_should_poll: bool
@@ -1,7 +1,7 @@
1
1
  import voluptuous as vol
2
2
  from .const import CONF_CANDLE_LIGHT_MINUTES as CONF_CANDLE_LIGHT_MINUTES, CONF_DIASPORA as CONF_DIASPORA, CONF_HAVDALAH_OFFSET_MINUTES as CONF_HAVDALAH_OFFSET_MINUTES, DEFAULT_CANDLE_LIGHT as DEFAULT_CANDLE_LIGHT, DEFAULT_DIASPORA as DEFAULT_DIASPORA, DEFAULT_HAVDALAH_OFFSET_MINUTES as DEFAULT_HAVDALAH_OFFSET_MINUTES, DEFAULT_LANGUAGE as DEFAULT_LANGUAGE, DEFAULT_NAME as DEFAULT_NAME, DOMAIN as DOMAIN
3
3
  from _typeshed import Incomplete
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithConfigEntry as OptionsFlowWithConfigEntry
4
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
5
5
  from homeassistant.const import CONF_ELEVATION as CONF_ELEVATION, CONF_LANGUAGE as CONF_LANGUAGE, CONF_LATITUDE as CONF_LATITUDE, CONF_LOCATION as CONF_LOCATION, CONF_LONGITUDE as CONF_LONGITUDE, CONF_TIME_ZONE as CONF_TIME_ZONE
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
7
7
  from homeassistant.helpers.selector import BooleanSelector as BooleanSelector, LocationSelector as LocationSelector, SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig
@@ -16,10 +16,9 @@ def _get_data_schema(hass: HomeAssistant) -> vol.Schema: ...
16
16
  class JewishCalendarConfigFlow(ConfigFlow, domain=DOMAIN):
17
17
  VERSION: int
18
18
  @staticmethod
19
- def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlowWithConfigEntry: ...
19
+ def async_get_options_flow(config_entry: ConfigEntry) -> JewishCalendarOptionsFlowHandler: ...
20
20
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
21
- async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult: ...
22
21
  async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
23
22
 
24
- class JewishCalendarOptionsFlowHandler(OptionsFlowWithConfigEntry):
23
+ class JewishCalendarOptionsFlowHandler(OptionsFlow):
25
24
  async def async_step_init(self, user_input: dict[str, str] | None = None) -> ConfigFlowResult: ...