homeassistant-stubs 2025.7.4__py3-none-any.whl → 2025.8.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.

Potentially problematic release.


This version of homeassistant-stubs might be problematic. Click here for more details.

Files changed (490) hide show
  1. homeassistant-stubs/bootstrap.pyi +1 -1
  2. homeassistant-stubs/components/airnow/__init__.pyi +0 -1
  3. homeassistant-stubs/components/airnow/config_flow.pyi +2 -2
  4. homeassistant-stubs/components/airos/__init__.pyi +9 -0
  5. homeassistant-stubs/components/airos/config_flow.pyi +14 -0
  6. homeassistant-stubs/components/airos/const.pyi +5 -0
  7. homeassistant-stubs/components/airos/coordinator.pyi +16 -0
  8. homeassistant-stubs/components/airos/diagnostics.pyi +13 -0
  9. homeassistant-stubs/components/airos/entity.pyi +11 -0
  10. homeassistant-stubs/components/airos/sensor.pyi +29 -0
  11. homeassistant-stubs/components/airq/const.pyi +0 -1
  12. homeassistant-stubs/components/airq/sensor.pyi +2 -2
  13. homeassistant-stubs/components/airthings/__init__.pyi +1 -3
  14. homeassistant-stubs/components/airthings/coordinator.pyi +3 -1
  15. homeassistant-stubs/components/airthings/sensor.pyi +1 -1
  16. homeassistant-stubs/components/alexa_devices/__init__.pyi +6 -0
  17. homeassistant-stubs/components/alexa_devices/config_flow.pyi +10 -0
  18. homeassistant-stubs/components/alexa_devices/coordinator.pyi +4 -3
  19. homeassistant-stubs/components/alexa_devices/services.pyi +24 -0
  20. homeassistant-stubs/components/amberelectric/__init__.pyi +7 -1
  21. homeassistant-stubs/components/amberelectric/const.pyi +8 -1
  22. homeassistant-stubs/components/amberelectric/coordinator.pyi +1 -2
  23. homeassistant-stubs/components/amberelectric/helpers.pyi +6 -0
  24. homeassistant-stubs/components/amberelectric/sensor.pyi +2 -2
  25. homeassistant-stubs/components/amberelectric/services.pyi +15 -0
  26. homeassistant-stubs/components/analytics/__init__.pyi +1 -0
  27. homeassistant-stubs/components/analytics/analytics.pyi +3 -0
  28. homeassistant-stubs/components/analytics/http.pyi +10 -0
  29. homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
  30. homeassistant-stubs/components/analytics_insights/config_flow.pyi +2 -2
  31. homeassistant-stubs/components/androidtv_remote/__init__.pyi +2 -6
  32. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +6 -6
  33. homeassistant-stubs/components/androidtv_remote/diagnostics.pyi +1 -1
  34. homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -2
  35. homeassistant-stubs/components/androidtv_remote/helpers.pyi +3 -1
  36. homeassistant-stubs/components/androidtv_remote/media_player.pyi +4 -4
  37. homeassistant-stubs/components/androidtv_remote/remote.pyi +1 -1
  38. homeassistant-stubs/components/assist_pipeline/__init__.pyi +2 -2
  39. homeassistant-stubs/components/assist_pipeline/const.pyi +0 -1
  40. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +2 -5
  41. homeassistant-stubs/components/asuswrt/router.pyi +3 -1
  42. homeassistant-stubs/components/awair/const.pyi +1 -0
  43. homeassistant-stubs/components/awair/sensor.pyi +1 -1
  44. homeassistant-stubs/components/backup/__init__.pyi +6 -2
  45. homeassistant-stubs/components/backup/coordinator.pyi +0 -1
  46. homeassistant-stubs/components/backup/manager.pyi +6 -3
  47. homeassistant-stubs/components/backup/onboarding.pyi +1 -1
  48. homeassistant-stubs/components/backup/services.pyi +7 -0
  49. homeassistant-stubs/components/backup/websocket.pyi +4 -1
  50. homeassistant-stubs/components/blue_current/__init__.pyi +5 -5
  51. homeassistant-stubs/components/blue_current/const.pyi +11 -0
  52. homeassistant-stubs/components/blue_current/switch.pyi +40 -0
  53. homeassistant-stubs/components/bosch_alarm/__init__.pyi +1 -1
  54. homeassistant-stubs/components/bosch_alarm/services.pyi +3 -2
  55. homeassistant-stubs/components/bring/__init__.pyi +5 -0
  56. homeassistant-stubs/components/bring/const.pyi +4 -0
  57. homeassistant-stubs/components/bring/services.pyi +14 -0
  58. homeassistant-stubs/components/cloud/backup.pyi +3 -3
  59. homeassistant-stubs/components/cloud/repairs.pyi +3 -3
  60. homeassistant-stubs/components/cloud/subscription.pyi +2 -1
  61. homeassistant-stubs/components/cloud/tts.pyi +2 -1
  62. homeassistant-stubs/components/command_line/sensor.pyi +0 -2
  63. homeassistant-stubs/components/demo/vacuum.pyi +0 -3
  64. homeassistant-stubs/components/derivative/__init__.pyi +5 -1
  65. homeassistant-stubs/components/derivative/config_flow.pyi +2 -0
  66. homeassistant-stubs/components/derivative/sensor.pyi +7 -4
  67. homeassistant-stubs/components/devolo_home_control/config_flow.pyi +3 -7
  68. homeassistant-stubs/components/devolo_home_control/entity.pyi +0 -1
  69. homeassistant-stubs/components/devolo_home_network/coordinator.pyi +2 -2
  70. homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -2
  71. homeassistant-stubs/components/devolo_home_network/entity.pyi +1 -1
  72. homeassistant-stubs/components/devolo_home_network/sensor.pyi +1 -1
  73. homeassistant-stubs/components/discovergy/__init__.pyi +1 -0
  74. homeassistant-stubs/components/discovergy/coordinator.pyi +1 -0
  75. homeassistant-stubs/components/dnsip/__init__.pyi +0 -1
  76. homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
  77. homeassistant-stubs/components/downloader/services.pyi +1 -0
  78. homeassistant-stubs/components/ecovacs/binary_sensor.pyi +13 -3
  79. homeassistant-stubs/components/ecovacs/sensor.pyi +13 -0
  80. homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -7
  81. homeassistant-stubs/components/eheimdigital/config_flow.pyi +2 -1
  82. homeassistant-stubs/components/elevenlabs/config_flow.pyi +1 -1
  83. homeassistant-stubs/components/elevenlabs/const.pyi +0 -2
  84. homeassistant-stubs/components/elevenlabs/tts.pyi +2 -3
  85. homeassistant-stubs/components/enphase_envoy/__init__.pyi +0 -2
  86. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
  87. homeassistant-stubs/components/esphome/config_flow.pyi +2 -0
  88. homeassistant-stubs/components/esphome/encryption_key_storage.pyi +29 -0
  89. homeassistant-stubs/components/esphome/entity.pyi +3 -1
  90. homeassistant-stubs/components/esphome/entry_data.pyi +14 -6
  91. homeassistant-stubs/components/esphome/manager.pyi +3 -1
  92. homeassistant-stubs/components/feedreader/__init__.pyi +0 -1
  93. homeassistant-stubs/components/feedreader/config_flow.pyi +3 -3
  94. homeassistant-stubs/components/forecast_solar/__init__.pyi +0 -1
  95. homeassistant-stubs/components/forecast_solar/config_flow.pyi +2 -2
  96. homeassistant-stubs/components/fritz/__init__.pyi +0 -1
  97. homeassistant-stubs/components/fritz/config_flow.pyi +2 -2
  98. homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +0 -1
  99. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +2 -2
  100. homeassistant-stubs/components/frontend/__init__.pyi +1 -0
  101. homeassistant-stubs/components/generic_hygrostat/__init__.pyi +3 -1
  102. homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +1 -0
  103. homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +3 -3
  104. homeassistant-stubs/components/generic_thermostat/__init__.pyi +5 -1
  105. homeassistant-stubs/components/generic_thermostat/climate.pyi +3 -3
  106. homeassistant-stubs/components/generic_thermostat/config_flow.pyi +1 -0
  107. homeassistant-stubs/components/geo_location/trigger.pyi +0 -1
  108. homeassistant-stubs/components/gios/const.pyi +2 -0
  109. homeassistant-stubs/components/gios/sensor.pyi +1 -1
  110. homeassistant-stubs/components/google_assistant_sdk/application_credentials.pyi +1 -0
  111. homeassistant-stubs/components/google_cloud/const.pyi +1 -0
  112. homeassistant-stubs/components/google_cloud/stt.pyi +3 -2
  113. homeassistant-stubs/components/guardian/__init__.pyi +1 -1
  114. homeassistant-stubs/components/guardian/services.pyi +2 -1
  115. homeassistant-stubs/components/habitica/button.pyi +3 -4
  116. homeassistant-stubs/components/habitica/coordinator.pyi +2 -3
  117. homeassistant-stubs/components/habitica/entity.pyi +1 -1
  118. homeassistant-stubs/components/habitica/sensor.pyi +3 -18
  119. homeassistant-stubs/components/habitica/switch.pyi +4 -3
  120. homeassistant-stubs/components/habitica/util.pyi +2 -1
  121. homeassistant-stubs/components/heos/__init__.pyi +1 -1
  122. homeassistant-stubs/components/heos/config_flow.pyi +3 -0
  123. homeassistant-stubs/components/heos/services.pyi +3 -2
  124. homeassistant-stubs/components/here_travel_time/__init__.pyi +3 -1
  125. homeassistant-stubs/components/here_travel_time/config_flow.pyi +3 -2
  126. homeassistant-stubs/components/here_travel_time/const.pyi +1 -0
  127. homeassistant-stubs/components/here_travel_time/coordinator.pyi +1 -1
  128. homeassistant-stubs/components/here_travel_time/model.pyi +2 -1
  129. homeassistant-stubs/components/history_stats/__init__.pyi +5 -1
  130. homeassistant-stubs/components/history_stats/config_flow.pyi +14 -0
  131. homeassistant-stubs/components/history_stats/coordinator.pyi +3 -1
  132. homeassistant-stubs/components/history_stats/data.pyi +2 -1
  133. homeassistant-stubs/components/history_stats/helpers.pyi +1 -1
  134. homeassistant-stubs/components/history_stats/sensor.pyi +7 -4
  135. homeassistant-stubs/components/holiday/__init__.pyi +0 -1
  136. homeassistant-stubs/components/holiday/config_flow.pyi +2 -2
  137. homeassistant-stubs/components/home_connect/__init__.pyi +1 -1
  138. homeassistant-stubs/components/home_connect/services.pyi +3 -2
  139. homeassistant-stubs/components/homeassistant/__init__.pyi +2 -1
  140. homeassistant-stubs/components/homeassistant/triggers/time.pyi +2 -1
  141. homeassistant-stubs/components/homeassistant_hardware/coordinator.pyi +2 -1
  142. homeassistant-stubs/components/homee/__init__.pyi +1 -1
  143. homeassistant-stubs/components/homee/config_flow.pyi +5 -0
  144. homeassistant-stubs/components/homekit/__init__.pyi +2 -1
  145. homeassistant-stubs/components/http/__init__.pyi +1 -2
  146. homeassistant-stubs/components/huawei_lte/__init__.pyi +1 -2
  147. homeassistant-stubs/components/huawei_lte/config_flow.pyi +5 -4
  148. homeassistant-stubs/components/huawei_lte/const.pyi +1 -1
  149. homeassistant-stubs/components/huawei_lte/diagnostics.pyi +18 -0
  150. homeassistant-stubs/components/husqvarna_automower/button.pyi +2 -2
  151. homeassistant-stubs/components/husqvarna_automower/calendar.pyi +3 -0
  152. homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +15 -13
  153. homeassistant-stubs/components/husqvarna_automower/entity.pyi +2 -6
  154. homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +2 -2
  155. homeassistant-stubs/components/husqvarna_automower/sensor.pyi +5 -0
  156. homeassistant-stubs/components/hydrawise/binary_sensor.pyi +1 -1
  157. homeassistant-stubs/components/hydrawise/const.pyi +1 -0
  158. homeassistant-stubs/components/hydrawise/coordinator.pyi +9 -2
  159. homeassistant-stubs/components/hydrawise/entity.pyi +1 -1
  160. homeassistant-stubs/components/hydrawise/sensor.pyi +1 -1
  161. homeassistant-stubs/components/hydrawise/switch.pyi +1 -1
  162. homeassistant-stubs/components/hydrawise/valve.pyi +1 -1
  163. homeassistant-stubs/components/hyperion/__init__.pyi +0 -1
  164. homeassistant-stubs/components/hyperion/config_flow.pyi +2 -2
  165. homeassistant-stubs/components/imgw_pib/sensor.pyi +7 -1
  166. homeassistant-stubs/components/immich/__init__.pyi +6 -0
  167. homeassistant-stubs/components/immich/media_source.pyi +1 -0
  168. homeassistant-stubs/components/immich/services.pyi +18 -0
  169. homeassistant-stubs/components/input_text/__init__.pyi +1 -1
  170. homeassistant-stubs/components/integration/__init__.pyi +5 -1
  171. homeassistant-stubs/components/integration/config_flow.pyi +1 -0
  172. homeassistant-stubs/components/integration/sensor.pyi +5 -6
  173. homeassistant-stubs/components/iron_os/__init__.pyi +0 -3
  174. homeassistant-stubs/components/iron_os/const.pyi +4 -0
  175. homeassistant-stubs/components/iron_os/coordinator.pyi +1 -1
  176. homeassistant-stubs/components/iron_os/number.pyi +20 -4
  177. homeassistant-stubs/components/iron_os/switch.pyi +2 -0
  178. homeassistant-stubs/components/isy994/__init__.pyi +0 -1
  179. homeassistant-stubs/components/isy994/config_flow.pyi +3 -3
  180. homeassistant-stubs/components/jellyfin/browse_media.pyi +2 -1
  181. homeassistant-stubs/components/jellyfin/media_player.pyi +5 -2
  182. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +5 -15
  183. homeassistant-stubs/components/jewish_calendar/config_flow.pyi +2 -2
  184. homeassistant-stubs/components/jewish_calendar/entity.pyi +19 -5
  185. homeassistant-stubs/components/jewish_calendar/sensor.pyi +11 -7
  186. homeassistant-stubs/components/knx/__init__.pyi +6 -40
  187. homeassistant-stubs/components/knx/binary_sensor.pyi +3 -2
  188. homeassistant-stubs/components/knx/button.pyi +1 -1
  189. homeassistant-stubs/components/knx/climate.pyi +1 -1
  190. homeassistant-stubs/components/knx/config_flow.pyi +14 -21
  191. homeassistant-stubs/components/knx/const.pyi +1 -1
  192. homeassistant-stubs/components/knx/cover.pyi +3 -2
  193. homeassistant-stubs/components/knx/date.pyi +1 -1
  194. homeassistant-stubs/components/knx/datetime.pyi +1 -1
  195. homeassistant-stubs/components/knx/entity.pyi +1 -1
  196. homeassistant-stubs/components/knx/fan.pyi +1 -1
  197. homeassistant-stubs/components/knx/knx_module.pyi +43 -0
  198. homeassistant-stubs/components/knx/light.pyi +3 -2
  199. homeassistant-stubs/components/knx/notify.pyi +1 -1
  200. homeassistant-stubs/components/knx/number.pyi +1 -1
  201. homeassistant-stubs/components/knx/scene.pyi +1 -1
  202. homeassistant-stubs/components/knx/select.pyi +1 -1
  203. homeassistant-stubs/components/knx/sensor.pyi +1 -1
  204. homeassistant-stubs/components/knx/services.pyi +2 -2
  205. homeassistant-stubs/components/knx/storage/config_store.pyi +4 -0
  206. homeassistant-stubs/components/knx/storage/const.pyi +8 -7
  207. homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +3 -10
  208. homeassistant-stubs/components/knx/storage/knx_selector.pyi +4 -0
  209. homeassistant-stubs/components/knx/storage/migration.pyi +5 -0
  210. homeassistant-stubs/components/knx/storage/util.pyi +16 -0
  211. homeassistant-stubs/components/knx/switch.pyi +3 -2
  212. homeassistant-stubs/components/knx/text.pyi +1 -1
  213. homeassistant-stubs/components/knx/time.pyi +1 -1
  214. homeassistant-stubs/components/knx/weather.pyi +1 -1
  215. homeassistant-stubs/components/knx/websocket.pyi +1 -1
  216. homeassistant-stubs/components/lamarzocco/config_flow.pyi +2 -2
  217. homeassistant-stubs/components/lcn/binary_sensor.pyi +1 -20
  218. homeassistant-stubs/components/lcn/helpers.pyi +1 -0
  219. homeassistant-stubs/components/lcn/light.pyi +2 -1
  220. homeassistant-stubs/components/letpot/coordinator.pyi +3 -4
  221. homeassistant-stubs/components/letpot/switch.pyi +1 -1
  222. homeassistant-stubs/components/letpot/time.pyi +1 -1
  223. homeassistant-stubs/components/lifx/const.pyi +1 -0
  224. homeassistant-stubs/components/lifx/coordinator.pyi +5 -1
  225. homeassistant-stubs/components/lifx/manager.pyi +1 -1
  226. homeassistant-stubs/components/linkplay/select.pyi +35 -0
  227. homeassistant-stubs/components/litterrobot/sensor.pyi +3 -0
  228. homeassistant-stubs/components/matrix/__init__.pyi +1 -1
  229. homeassistant-stubs/components/matrix/services.pyi +3 -2
  230. homeassistant-stubs/components/matter/entity.pyi +2 -2
  231. homeassistant-stubs/components/matter/number.pyi +29 -1
  232. homeassistant-stubs/components/matter/select.pyi +2 -2
  233. homeassistant-stubs/components/matter/vacuum.pyi +2 -1
  234. homeassistant-stubs/components/mcp_server/server.pyi +1 -1
  235. homeassistant-stubs/components/mealie/const.pyi +2 -0
  236. homeassistant-stubs/components/mealie/services.pyi +4 -1
  237. homeassistant-stubs/components/media_player/const.pyi +2 -2
  238. homeassistant-stubs/components/media_source/const.pyi +3 -0
  239. homeassistant-stubs/components/media_source/local_source.pyi +1 -1
  240. homeassistant-stubs/components/media_source/models.pyi +6 -2
  241. homeassistant-stubs/components/met_eireann/__init__.pyi +2 -17
  242. homeassistant-stubs/components/met_eireann/coordinator.pyi +28 -0
  243. homeassistant-stubs/components/met_eireann/weather.pyi +1 -3
  244. homeassistant-stubs/components/miele/__init__.pyi +5 -0
  245. homeassistant-stubs/components/miele/coordinator.pyi +1 -1
  246. homeassistant-stubs/components/miele/entity.pyi +2 -0
  247. homeassistant-stubs/components/miele/sensor.pyi +7 -6
  248. homeassistant-stubs/components/miele/services.pyi +24 -0
  249. homeassistant-stubs/components/miele/vacuum.pyi +0 -2
  250. homeassistant-stubs/components/modem_callerid/sensor.pyi +2 -2
  251. homeassistant-stubs/components/mold_indicator/__init__.pyi +8 -1
  252. homeassistant-stubs/components/mold_indicator/config_flow.pyi +2 -0
  253. homeassistant-stubs/components/mold_indicator/sensor.pyi +2 -2
  254. homeassistant-stubs/components/mqtt/climate.pyi +1 -37
  255. homeassistant-stubs/components/mqtt/config_flow.pyi +38 -6
  256. homeassistant-stubs/components/mqtt/const.pyi +33 -2
  257. homeassistant-stubs/components/mqtt/repairs.pyi +15 -0
  258. homeassistant-stubs/components/mqtt/vacuum.pyi +4 -3
  259. homeassistant-stubs/components/nasweb/const.pyi +1 -0
  260. homeassistant-stubs/components/nasweb/coordinator.pyi +3 -1
  261. homeassistant-stubs/components/nasweb/sensor.pyi +54 -0
  262. homeassistant-stubs/components/netatmo/climate.pyi +1 -1
  263. homeassistant-stubs/components/netatmo/const.pyi +1 -0
  264. homeassistant-stubs/components/nextdns/__init__.pyi +2 -3
  265. homeassistant-stubs/components/nextdns/coordinator.pyi +10 -2
  266. homeassistant-stubs/components/nordpool/const.pyi +1 -0
  267. homeassistant-stubs/components/nordpool/services.pyi +5 -1
  268. homeassistant-stubs/components/number/const.pyi +2 -1
  269. homeassistant-stubs/components/nut/__init__.pyi +0 -1
  270. homeassistant-stubs/components/onewire/__init__.pyi +0 -1
  271. homeassistant-stubs/components/onewire/config_flow.pyi +2 -2
  272. homeassistant-stubs/components/onkyo/__init__.pyi +2 -3
  273. homeassistant-stubs/components/onkyo/config_flow.pyi +9 -6
  274. homeassistant-stubs/components/onkyo/const.pyi +7 -65
  275. homeassistant-stubs/components/onkyo/media_player.pyi +16 -44
  276. homeassistant-stubs/components/onkyo/receiver.pyi +24 -25
  277. homeassistant-stubs/components/onkyo/services.pyi +3 -3
  278. homeassistant-stubs/components/onkyo/util.pyi +3 -0
  279. homeassistant-stubs/components/open_router/__init__.pyi +15 -0
  280. homeassistant-stubs/components/open_router/ai_task.pyi +17 -0
  281. homeassistant-stubs/components/open_router/config_flow.pyi +30 -0
  282. homeassistant-stubs/components/open_router/const.pyi +8 -0
  283. homeassistant-stubs/components/open_router/conversation.pyi +20 -0
  284. homeassistant-stubs/components/open_router/entity.pyi +33 -0
  285. homeassistant-stubs/components/openai_conversation/__init__.pyi +4 -2
  286. homeassistant-stubs/components/openai_conversation/ai_task.pyi +16 -0
  287. homeassistant-stubs/components/openai_conversation/config_flow.pyi +2 -3
  288. homeassistant-stubs/components/openai_conversation/const.pyi +9 -1
  289. homeassistant-stubs/components/openai_conversation/conversation.pyi +6 -22
  290. homeassistant-stubs/components/openai_conversation/entity.pyi +36 -0
  291. homeassistant-stubs/components/opower/__init__.pyi +8 -0
  292. homeassistant-stubs/components/opower/config_flow.pyi +30 -0
  293. homeassistant-stubs/components/opower/const.pyi +4 -0
  294. homeassistant-stubs/components/opower/coordinator.pyi +24 -0
  295. homeassistant-stubs/components/opower/sensor.pyi +35 -0
  296. homeassistant-stubs/components/pegel_online/__init__.pyi +1 -1
  297. homeassistant-stubs/components/pegel_online/sensor.pyi +2 -0
  298. homeassistant-stubs/components/pi_hole/__init__.pyi +6 -2
  299. homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -2
  300. homeassistant-stubs/components/pi_hole/const.pyi +1 -0
  301. homeassistant-stubs/components/pi_hole/sensor.pyi +5 -0
  302. homeassistant-stubs/components/pi_hole/update.pyi +3 -3
  303. homeassistant-stubs/components/ping/__init__.pyi +0 -1
  304. homeassistant-stubs/components/ping/config_flow.pyi +3 -3
  305. homeassistant-stubs/components/plugwise/select.pyi +1 -1
  306. homeassistant-stubs/components/proximity/__init__.pyi +0 -1
  307. homeassistant-stubs/components/proximity/config_flow.pyi +3 -3
  308. homeassistant-stubs/components/purpleair/__init__.pyi +0 -1
  309. homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
  310. homeassistant-stubs/components/pyload/config_flow.pyi +4 -0
  311. homeassistant-stubs/components/recorder/pool.pyi +2 -1
  312. homeassistant-stubs/components/renault/__init__.pyi +1 -1
  313. homeassistant-stubs/components/renault/services.pyi +3 -2
  314. homeassistant-stubs/components/reolink/__init__.pyi +0 -1
  315. homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
  316. homeassistant-stubs/components/reolink/number.pyi +1 -1
  317. homeassistant-stubs/components/reolink/sensor.pyi +1 -1
  318. homeassistant-stubs/components/rest/sensor.pyi +1 -3
  319. homeassistant-stubs/components/roborock/__init__.pyi +0 -1
  320. homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
  321. homeassistant-stubs/components/roborock/vacuum.pyi +0 -2
  322. homeassistant-stubs/components/roku/__init__.pyi +0 -1
  323. homeassistant-stubs/components/roku/config_flow.pyi +2 -2
  324. homeassistant-stubs/components/russound_rio/const.pyi +2 -0
  325. homeassistant-stubs/components/russound_rio/media_player.pyi +6 -0
  326. homeassistant-stubs/components/scrape/sensor.pyi +1 -2
  327. homeassistant-stubs/components/sensor/const.pyi +2 -1
  328. homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
  329. homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
  330. homeassistant-stubs/components/shelly/button.pyi +2 -2
  331. homeassistant-stubs/components/shelly/climate.pyi +2 -2
  332. homeassistant-stubs/components/shelly/coordinator.pyi +5 -1
  333. homeassistant-stubs/components/shelly/entity.pyi +3 -0
  334. homeassistant-stubs/components/shelly/event.pyi +2 -2
  335. homeassistant-stubs/components/shelly/sensor.pyi +2 -2
  336. homeassistant-stubs/components/shelly/utils.pyi +2 -2
  337. homeassistant-stubs/components/sleepiq/const.pyi +2 -0
  338. homeassistant-stubs/components/sleepiq/number.pyi +7 -3
  339. homeassistant-stubs/components/sleepiq/select.pyi +15 -2
  340. homeassistant-stubs/components/smhi/coordinator.pyi +3 -0
  341. homeassistant-stubs/components/smhi/entity.pyi +3 -1
  342. homeassistant-stubs/components/smhi/sensor.pyi +30 -0
  343. homeassistant-stubs/components/smhi/weather.pyi +4 -2
  344. homeassistant-stubs/components/sonarr/__init__.pyi +0 -1
  345. homeassistant-stubs/components/sonarr/config_flow.pyi +2 -2
  346. homeassistant-stubs/components/speedtestdotnet/__init__.pyi +0 -1
  347. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +2 -2
  348. homeassistant-stubs/components/sql/__init__.pyi +0 -1
  349. homeassistant-stubs/components/sql/config_flow.pyi +2 -2
  350. homeassistant-stubs/components/squeezebox/__init__.pyi +3 -2
  351. homeassistant-stubs/components/squeezebox/browse_media.pyi +3 -1
  352. homeassistant-stubs/components/squeezebox/const.pyi +2 -3
  353. homeassistant-stubs/components/squeezebox/coordinator.pyi +2 -2
  354. homeassistant-stubs/components/squeezebox/media_player.pyi +3 -2
  355. homeassistant-stubs/components/statistics/__init__.pyi +3 -1
  356. homeassistant-stubs/components/statistics/config_flow.pyi +1 -0
  357. homeassistant-stubs/components/statistics/sensor.pyi +5 -5
  358. homeassistant-stubs/components/stookwijzer/__init__.pyi +4 -0
  359. homeassistant-stubs/components/stookwijzer/const.pyi +2 -0
  360. homeassistant-stubs/components/stookwijzer/services.pyi +17 -0
  361. homeassistant-stubs/components/switch_as_x/__init__.pyi +2 -2
  362. homeassistant-stubs/components/switch_as_x/entity.pyi +1 -3
  363. homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -0
  364. homeassistant-stubs/components/switchbot_cloud/const.pyi +1 -0
  365. homeassistant-stubs/components/switchbot_cloud/fan.pyi +26 -0
  366. homeassistant-stubs/components/switchbot_cloud/light.pyi +40 -0
  367. homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +17 -1
  368. homeassistant-stubs/components/synology_dsm/__init__.pyi +0 -1
  369. homeassistant-stubs/components/synology_dsm/config_flow.pyi +2 -2
  370. homeassistant-stubs/components/tankerkoenig/__init__.pyi +10 -0
  371. homeassistant-stubs/components/tankerkoenig/binary_sensor.pyi +23 -0
  372. homeassistant-stubs/components/tankerkoenig/config_flow.pyi +33 -0
  373. homeassistant-stubs/components/tankerkoenig/const.pyi +13 -0
  374. homeassistant-stubs/components/tankerkoenig/coordinator.pyi +22 -0
  375. homeassistant-stubs/components/tankerkoenig/diagnostics.pyi +10 -0
  376. homeassistant-stubs/components/tankerkoenig/entity.pyi +11 -0
  377. homeassistant-stubs/components/tankerkoenig/sensor.pyi +28 -0
  378. homeassistant-stubs/components/threshold/__init__.pyi +5 -1
  379. homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -4
  380. homeassistant-stubs/components/threshold/config_flow.pyi +1 -0
  381. homeassistant-stubs/components/time_date/config_flow.pyi +1 -2
  382. homeassistant-stubs/components/trafikverket_train/__init__.pyi +0 -1
  383. homeassistant-stubs/components/trafikverket_train/config_flow.pyi +2 -2
  384. homeassistant-stubs/components/trend/__init__.pyi +3 -1
  385. homeassistant-stubs/components/trend/binary_sensor.pyi +3 -4
  386. homeassistant-stubs/components/trend/config_flow.pyi +1 -0
  387. homeassistant-stubs/components/tts/entity.pyi +0 -2
  388. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +3 -2
  389. homeassistant-stubs/components/unifiprotect/__init__.pyi +5 -5
  390. homeassistant-stubs/components/unifiprotect/config_flow.pyi +5 -5
  391. homeassistant-stubs/components/unifiprotect/repairs.pyi +0 -6
  392. homeassistant-stubs/components/unifiprotect/services.pyi +1 -1
  393. homeassistant-stubs/components/uptime_kuma/__init__.pyi +14 -0
  394. homeassistant-stubs/components/uptime_kuma/config_flow.pyi +26 -0
  395. homeassistant-stubs/components/uptime_kuma/const.pyi +7 -0
  396. homeassistant-stubs/components/uptime_kuma/coordinator.pyi +30 -0
  397. homeassistant-stubs/components/uptime_kuma/diagnostics.pyi +9 -0
  398. homeassistant-stubs/components/uptime_kuma/sensor.pyi +46 -0
  399. homeassistant-stubs/components/uptime_kuma/update.pyi +39 -0
  400. homeassistant-stubs/components/vacuum/__init__.pyi +8 -0
  401. homeassistant-stubs/components/velbus/__init__.pyi +1 -1
  402. homeassistant-stubs/components/velbus/const.pyi +0 -1
  403. homeassistant-stubs/components/velbus/services.pyi +4 -4
  404. homeassistant-stubs/components/vodafone_station/__init__.pyi +0 -1
  405. homeassistant-stubs/components/vodafone_station/config_flow.pyi +2 -2
  406. homeassistant-stubs/components/volvo/__init__.pyi +15 -0
  407. homeassistant-stubs/components/volvo/api.pyi +14 -0
  408. homeassistant-stubs/components/volvo/application_credentials.pyi +9 -0
  409. homeassistant-stubs/components/volvo/config_flow.pyi +36 -0
  410. homeassistant-stubs/components/volvo/const.pyi +8 -0
  411. homeassistant-stubs/components/volvo/coordinator.pyi +46 -0
  412. homeassistant-stubs/components/volvo/entity.pyi +33 -0
  413. homeassistant-stubs/components/volvo/sensor.pyi +35 -0
  414. homeassistant-stubs/components/wallbox/__init__.pyi +4 -5
  415. homeassistant-stubs/components/wallbox/coordinator.pyi +8 -2
  416. homeassistant-stubs/components/wallbox/lock.pyi +5 -4
  417. homeassistant-stubs/components/wallbox/number.pyi +6 -5
  418. homeassistant-stubs/components/wallbox/select.pyi +4 -3
  419. homeassistant-stubs/components/wallbox/sensor.pyi +5 -4
  420. homeassistant-stubs/components/wallbox/switch.pyi +5 -4
  421. homeassistant-stubs/components/waqi/__init__.pyi +3 -5
  422. homeassistant-stubs/components/waqi/coordinator.pyi +3 -2
  423. homeassistant-stubs/components/waqi/sensor.pyi +2 -13
  424. homeassistant-stubs/components/webostv/__init__.pyi +0 -1
  425. homeassistant-stubs/components/webostv/config_flow.pyi +3 -3
  426. homeassistant-stubs/components/websocket_api/commands.pyi +4 -0
  427. homeassistant-stubs/components/wiz/fan.pyi +34 -0
  428. homeassistant-stubs/components/wled/__init__.pyi +0 -1
  429. homeassistant-stubs/components/wled/config_flow.pyi +2 -2
  430. homeassistant-stubs/components/workday/__init__.pyi +0 -1
  431. homeassistant-stubs/components/workday/config_flow.pyi +2 -2
  432. homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +0 -1
  433. homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +2 -2
  434. homeassistant-stubs/components/yalexs_ble/lock.pyi +14 -2
  435. homeassistant-stubs/components/zone/condition.pyi +22 -0
  436. homeassistant-stubs/components/zone/trigger.pyi +2 -1
  437. homeassistant-stubs/components/zwave_js/__init__.pyi +12 -10
  438. homeassistant-stubs/components/zwave_js/api.pyi +36 -35
  439. homeassistant-stubs/components/zwave_js/binary_sensor.pyi +7 -7
  440. homeassistant-stubs/components/zwave_js/button.pyi +5 -5
  441. homeassistant-stubs/components/zwave_js/climate.pyi +5 -5
  442. homeassistant-stubs/components/zwave_js/config_flow.pyi +6 -4
  443. homeassistant-stubs/components/zwave_js/const.pyi +0 -3
  444. homeassistant-stubs/components/zwave_js/cover.pyi +7 -7
  445. homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi +1 -1
  446. homeassistant-stubs/components/zwave_js/diagnostics.pyi +5 -5
  447. homeassistant-stubs/components/zwave_js/event.pyi +4 -4
  448. homeassistant-stubs/components/zwave_js/fan.pyi +6 -6
  449. homeassistant-stubs/components/zwave_js/helpers.pyi +10 -6
  450. homeassistant-stubs/components/zwave_js/humidifier.pyi +4 -4
  451. homeassistant-stubs/components/zwave_js/light.pyi +15 -5
  452. homeassistant-stubs/components/zwave_js/lock.pyi +3 -3
  453. homeassistant-stubs/components/zwave_js/models.pyi +12 -0
  454. homeassistant-stubs/components/zwave_js/number.pyi +6 -6
  455. homeassistant-stubs/components/zwave_js/select.pyi +8 -8
  456. homeassistant-stubs/components/zwave_js/sensor.pyi +10 -10
  457. homeassistant-stubs/components/zwave_js/siren.pyi +4 -4
  458. homeassistant-stubs/components/zwave_js/switch.pyi +7 -7
  459. homeassistant-stubs/components/zwave_js/triggers/event.pyi +1 -2
  460. homeassistant-stubs/components/zwave_js/triggers/trigger_helpers.pyi +1 -1
  461. homeassistant-stubs/components/zwave_js/update.pyi +28 -18
  462. homeassistant-stubs/config.pyi +0 -2
  463. homeassistant-stubs/config_entries.pyi +3 -0
  464. homeassistant-stubs/const.pyi +2 -0
  465. homeassistant-stubs/core.pyi +12 -8
  466. homeassistant-stubs/helpers/condition.pyi +25 -6
  467. homeassistant-stubs/helpers/config_validation.pyi +0 -2
  468. homeassistant-stubs/helpers/device.pyi +2 -0
  469. homeassistant-stubs/helpers/device_registry.pyi +16 -8
  470. homeassistant-stubs/helpers/entity.pyi +3 -1
  471. homeassistant-stubs/helpers/entity_platform.pyi +30 -9
  472. homeassistant-stubs/helpers/frame.pyi +1 -1
  473. homeassistant-stubs/helpers/helper_integration.pyi +2 -1
  474. homeassistant-stubs/helpers/llm.pyi +5 -1
  475. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -0
  476. homeassistant-stubs/helpers/selector.pyi +42 -37
  477. homeassistant-stubs/helpers/service.pyi +9 -26
  478. homeassistant-stubs/helpers/target.pyi +59 -0
  479. homeassistant-stubs/helpers/trigger.pyi +3 -1
  480. homeassistant-stubs/helpers/trigger_template_entity.pyi +5 -1
  481. homeassistant-stubs/loader.pyi +2 -9
  482. homeassistant-stubs/runner.pyi +1 -0
  483. homeassistant-stubs/util/resource.pyi +7 -0
  484. homeassistant-stubs/util/unit_conversion.pyi +1 -1
  485. {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/METADATA +2 -2
  486. {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/RECORD +488 -419
  487. homeassistant-stubs/components/backup/basic_websocket.pyi +0 -12
  488. homeassistant-stubs/helpers/backup.pyi +0 -24
  489. {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/WHEEL +0 -0
  490. {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,35 @@
1
+ from .const import DATA_BATTERY_CAPACITY as DATA_BATTERY_CAPACITY
2
+ from .coordinator import VolvoBaseCoordinator as VolvoBaseCoordinator, VolvoConfigEntry as VolvoConfigEntry
3
+ from .entity import VolvoEntity as VolvoEntity, VolvoEntityDescription as VolvoEntityDescription, value_to_translation_key as value_to_translation_key
4
+ from _typeshed import Incomplete
5
+ from collections.abc import Callable as Callable
6
+ from dataclasses import dataclass
7
+ from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
8
+ from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, UnitOfElectricCurrent as UnitOfElectricCurrent, UnitOfEnergy as UnitOfEnergy, UnitOfEnergyDistance as UnitOfEnergyDistance, UnitOfLength as UnitOfLength, UnitOfPower as UnitOfPower, UnitOfSpeed as UnitOfSpeed, UnitOfTime as UnitOfTime, UnitOfVolume as UnitOfVolume
9
+ from homeassistant.core import HomeAssistant as HomeAssistant
10
+ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
11
+ from typing import Any
12
+ from volvocarsapi.models import VolvoCarsApiBaseModel as VolvoCarsApiBaseModel, VolvoCarsValue
13
+
14
+ PARALLEL_UPDATES: int
15
+ _LOGGER: Incomplete
16
+
17
+ @dataclass(frozen=True, kw_only=True)
18
+ class VolvoSensorDescription(VolvoEntityDescription, SensorEntityDescription):
19
+ source_fields: list[str] | None = ...
20
+ value_fn: Callable[[VolvoCarsValue], Any] | None = ...
21
+
22
+ def _availability_status(field: VolvoCarsValue) -> str: ...
23
+ def _calculate_time_to_service(field: VolvoCarsValue) -> int: ...
24
+ def _charging_power_value(field: VolvoCarsValue) -> int: ...
25
+ def _charging_power_status_value(field: VolvoCarsValue) -> str | None: ...
26
+
27
+ _CHARGING_POWER_STATUS_OPTIONS: Incomplete
28
+ _DESCRIPTIONS: tuple[VolvoSensorDescription, ...]
29
+
30
+ async def async_setup_entry(hass: HomeAssistant, entry: VolvoConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
31
+
32
+ class VolvoSensor(VolvoEntity, SensorEntity):
33
+ entity_description: VolvoSensorDescription
34
+ _attr_native_value: Incomplete
35
+ def _update_state(self, api_field: VolvoCarsApiBaseModel | None) -> None: ...
@@ -1,12 +1,11 @@
1
- from .const import DOMAIN as DOMAIN, UPDATE_INTERVAL as UPDATE_INTERVAL
2
- from .coordinator import InvalidAuth as InvalidAuth, WallboxCoordinator as WallboxCoordinator, async_validate_input as async_validate_input
1
+ from .const import UPDATE_INTERVAL as UPDATE_INTERVAL
2
+ from .coordinator import InvalidAuth as InvalidAuth, WallboxConfigEntry as WallboxConfigEntry, WallboxCoordinator as WallboxCoordinator, async_validate_input as async_validate_input
3
3
  from _typeshed import Incomplete
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
4
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
6
5
  from homeassistant.core import HomeAssistant as HomeAssistant
7
6
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
8
7
 
9
8
  PLATFORMS: Incomplete
10
9
 
11
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
12
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
10
+ async def async_setup_entry(hass: HomeAssistant, entry: WallboxConfigEntry) -> bool: ...
11
+ async def async_unload_entry(hass: HomeAssistant, entry: WallboxConfigEntry) -> bool: ...
@@ -10,16 +10,17 @@ from wallbox import Wallbox as Wallbox
10
10
 
11
11
  _LOGGER: Incomplete
12
12
  CHARGER_STATUS: dict[int, ChargerStatus]
13
+ type WallboxConfigEntry = ConfigEntry[WallboxCoordinator]
13
14
 
14
15
  def _require_authentication[_WallboxCoordinatorT: WallboxCoordinator, **_P](func: Callable[Concatenate[_WallboxCoordinatorT, _P], Any]) -> Callable[Concatenate[_WallboxCoordinatorT, _P], Any]: ...
15
16
  def _validate(wallbox: Wallbox) -> None: ...
16
17
  async def async_validate_input(hass: HomeAssistant, wallbox: Wallbox) -> None: ...
17
18
 
18
19
  class WallboxCoordinator(DataUpdateCoordinator[dict[str, Any]]):
19
- config_entry: ConfigEntry
20
+ config_entry: WallboxConfigEntry
20
21
  _station: Incomplete
21
22
  _wallbox: Incomplete
22
- def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, wallbox: Wallbox) -> None: ...
23
+ def __init__(self, hass: HomeAssistant, config_entry: WallboxConfigEntry, wallbox: Wallbox) -> None: ...
23
24
  def authenticate(self) -> None: ...
24
25
  @_require_authentication
25
26
  def _get_data(self) -> dict[str, Any]: ...
@@ -44,3 +45,8 @@ class WallboxCoordinator(DataUpdateCoordinator[dict[str, Any]]):
44
45
  async def async_set_eco_smart(self, option: str) -> None: ...
45
46
 
46
47
  class InvalidAuth(HomeAssistantError): ...
48
+
49
+ class InsufficientRights(HomeAssistantError):
50
+ hass: Incomplete
51
+ def __init__(self, *args: object, translation_domain: str | None = None, translation_key: str | None = None, translation_placeholders: dict[str, str] | None = None, hass: HomeAssistant) -> None: ...
52
+ def _create_insufficient_rights_issue(self) -> None: ...
@@ -1,16 +1,17 @@
1
- from .const import CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_LOCKED_UNLOCKED_KEY as CHARGER_LOCKED_UNLOCKED_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, DOMAIN as DOMAIN
2
- from .coordinator import WallboxCoordinator as WallboxCoordinator
1
+ from .const import CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_LOCKED_UNLOCKED_KEY as CHARGER_LOCKED_UNLOCKED_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY
2
+ from .coordinator import WallboxConfigEntry as WallboxConfigEntry, WallboxCoordinator as WallboxCoordinator
3
3
  from .entity import WallboxEntity as WallboxEntity
4
4
  from _typeshed import Incomplete
5
5
  from homeassistant.components.lock import LockEntity as LockEntity, LockEntityDescription as LockEntityDescription
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
6
  from homeassistant.core import HomeAssistant as HomeAssistant
8
7
  from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
9
8
  from typing import Any
10
9
 
11
10
  LOCK_TYPES: dict[str, LockEntityDescription]
12
11
 
13
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
12
+ async def async_setup_entry(hass: HomeAssistant, entry: WallboxConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
13
+
14
+ PARALLEL_UPDATES: int
14
15
 
15
16
  class WallboxLock(WallboxEntity, LockEntity):
16
17
  entity_description: Incomplete
@@ -1,11 +1,10 @@
1
- from .const import BIDIRECTIONAL_MODEL_PREFIXES as BIDIRECTIONAL_MODEL_PREFIXES, CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_ENERGY_PRICE_KEY as CHARGER_ENERGY_PRICE_KEY, CHARGER_MAX_AVAILABLE_POWER_KEY as CHARGER_MAX_AVAILABLE_POWER_KEY, CHARGER_MAX_CHARGING_CURRENT_KEY as CHARGER_MAX_CHARGING_CURRENT_KEY, CHARGER_MAX_ICP_CURRENT_KEY as CHARGER_MAX_ICP_CURRENT_KEY, CHARGER_PART_NUMBER_KEY as CHARGER_PART_NUMBER_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, DOMAIN as DOMAIN
2
- from .coordinator import WallboxCoordinator as WallboxCoordinator
1
+ from .const import BIDIRECTIONAL_MODEL_PREFIXES as BIDIRECTIONAL_MODEL_PREFIXES, CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_ENERGY_PRICE_KEY as CHARGER_ENERGY_PRICE_KEY, CHARGER_MAX_AVAILABLE_POWER_KEY as CHARGER_MAX_AVAILABLE_POWER_KEY, CHARGER_MAX_CHARGING_CURRENT_KEY as CHARGER_MAX_CHARGING_CURRENT_KEY, CHARGER_MAX_ICP_CURRENT_KEY as CHARGER_MAX_ICP_CURRENT_KEY, CHARGER_PART_NUMBER_KEY as CHARGER_PART_NUMBER_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY
2
+ from .coordinator import WallboxConfigEntry as WallboxConfigEntry, WallboxCoordinator as WallboxCoordinator
3
3
  from .entity import WallboxEntity as WallboxEntity
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Awaitable, Callable as Callable
6
6
  from dataclasses import dataclass
7
7
  from homeassistant.components.number import NumberEntity as NumberEntity, NumberEntityDescription as NumberEntityDescription
8
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
8
  from homeassistant.core import HomeAssistant as HomeAssistant
10
9
  from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
11
10
 
@@ -19,13 +18,15 @@ class WallboxNumberEntityDescription(NumberEntityDescription):
19
18
 
20
19
  NUMBER_TYPES: dict[str, WallboxNumberEntityDescription]
21
20
 
22
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
21
+ async def async_setup_entry(hass: HomeAssistant, entry: WallboxConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
22
+
23
+ PARALLEL_UPDATES: int
23
24
 
24
25
  class WallboxNumber(WallboxEntity, NumberEntity):
25
26
  entity_description: WallboxNumberEntityDescription
26
27
  _coordinator: Incomplete
27
28
  _attr_unique_id: Incomplete
28
- def __init__(self, coordinator: WallboxCoordinator, entry: ConfigEntry, description: WallboxNumberEntityDescription) -> None: ...
29
+ def __init__(self, coordinator: WallboxCoordinator, entry: WallboxConfigEntry, description: WallboxNumberEntityDescription) -> None: ...
29
30
  @property
30
31
  def native_max_value(self) -> float: ...
31
32
  @property
@@ -1,11 +1,10 @@
1
1
  from .const import CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_ECO_SMART_KEY as CHARGER_ECO_SMART_KEY, CHARGER_FEATURES_KEY as CHARGER_FEATURES_KEY, CHARGER_PLAN_KEY as CHARGER_PLAN_KEY, CHARGER_POWER_BOOST_KEY as CHARGER_POWER_BOOST_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, DOMAIN as DOMAIN, EcoSmartMode as EcoSmartMode
2
- from .coordinator import WallboxCoordinator as WallboxCoordinator
2
+ from .coordinator import WallboxConfigEntry as WallboxConfigEntry, WallboxCoordinator as WallboxCoordinator
3
3
  from .entity import WallboxEntity as WallboxEntity
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Awaitable, Callable as Callable
6
6
  from dataclasses import dataclass
7
7
  from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
8
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
8
  from homeassistant.core import HomeAssistant as HomeAssistant
10
9
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
11
10
  from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
@@ -18,7 +17,9 @@ class WallboxSelectEntityDescription(SelectEntityDescription):
18
17
 
19
18
  SELECT_TYPES: dict[str, WallboxSelectEntityDescription]
20
19
 
21
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
20
+ async def async_setup_entry(hass: HomeAssistant, entry: WallboxConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
21
+
22
+ PARALLEL_UPDATES: int
22
23
 
23
24
  class WallboxSelect(WallboxEntity, SelectEntity):
24
25
  entity_description: WallboxSelectEntityDescription
@@ -1,10 +1,9 @@
1
- from .const import CHARGER_ADDED_DISCHARGED_ENERGY_KEY as CHARGER_ADDED_DISCHARGED_ENERGY_KEY, CHARGER_ADDED_ENERGY_KEY as CHARGER_ADDED_ENERGY_KEY, CHARGER_ADDED_GREEN_ENERGY_KEY as CHARGER_ADDED_GREEN_ENERGY_KEY, CHARGER_ADDED_GRID_ENERGY_KEY as CHARGER_ADDED_GRID_ENERGY_KEY, CHARGER_ADDED_RANGE_KEY as CHARGER_ADDED_RANGE_KEY, CHARGER_CHARGING_POWER_KEY as CHARGER_CHARGING_POWER_KEY, CHARGER_CHARGING_SPEED_KEY as CHARGER_CHARGING_SPEED_KEY, CHARGER_COST_KEY as CHARGER_COST_KEY, CHARGER_CURRENCY_KEY as CHARGER_CURRENCY_KEY, CHARGER_CURRENT_MODE_KEY as CHARGER_CURRENT_MODE_KEY, CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_DEPOT_PRICE_KEY as CHARGER_DEPOT_PRICE_KEY, CHARGER_ENERGY_PRICE_KEY as CHARGER_ENERGY_PRICE_KEY, CHARGER_MAX_AVAILABLE_POWER_KEY as CHARGER_MAX_AVAILABLE_POWER_KEY, CHARGER_MAX_CHARGING_CURRENT_KEY as CHARGER_MAX_CHARGING_CURRENT_KEY, CHARGER_MAX_ICP_CURRENT_KEY as CHARGER_MAX_ICP_CURRENT_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, CHARGER_STATE_OF_CHARGE_KEY as CHARGER_STATE_OF_CHARGE_KEY, CHARGER_STATUS_DESCRIPTION_KEY as CHARGER_STATUS_DESCRIPTION_KEY, DOMAIN as DOMAIN
2
- from .coordinator import WallboxCoordinator as WallboxCoordinator
1
+ from .const import CHARGER_ADDED_DISCHARGED_ENERGY_KEY as CHARGER_ADDED_DISCHARGED_ENERGY_KEY, CHARGER_ADDED_ENERGY_KEY as CHARGER_ADDED_ENERGY_KEY, CHARGER_ADDED_GREEN_ENERGY_KEY as CHARGER_ADDED_GREEN_ENERGY_KEY, CHARGER_ADDED_GRID_ENERGY_KEY as CHARGER_ADDED_GRID_ENERGY_KEY, CHARGER_ADDED_RANGE_KEY as CHARGER_ADDED_RANGE_KEY, CHARGER_CHARGING_POWER_KEY as CHARGER_CHARGING_POWER_KEY, CHARGER_CHARGING_SPEED_KEY as CHARGER_CHARGING_SPEED_KEY, CHARGER_COST_KEY as CHARGER_COST_KEY, CHARGER_CURRENCY_KEY as CHARGER_CURRENCY_KEY, CHARGER_CURRENT_MODE_KEY as CHARGER_CURRENT_MODE_KEY, CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_DEPOT_PRICE_KEY as CHARGER_DEPOT_PRICE_KEY, CHARGER_ENERGY_PRICE_KEY as CHARGER_ENERGY_PRICE_KEY, CHARGER_MAX_AVAILABLE_POWER_KEY as CHARGER_MAX_AVAILABLE_POWER_KEY, CHARGER_MAX_CHARGING_CURRENT_KEY as CHARGER_MAX_CHARGING_CURRENT_KEY, CHARGER_MAX_ICP_CURRENT_KEY as CHARGER_MAX_ICP_CURRENT_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, CHARGER_STATE_OF_CHARGE_KEY as CHARGER_STATE_OF_CHARGE_KEY, CHARGER_STATUS_DESCRIPTION_KEY as CHARGER_STATUS_DESCRIPTION_KEY
2
+ from .coordinator import WallboxConfigEntry as WallboxConfigEntry, WallboxCoordinator as WallboxCoordinator
3
3
  from .entity import WallboxEntity as WallboxEntity
4
4
  from _typeshed import Incomplete
5
5
  from dataclasses import dataclass
6
6
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.const import PERCENTAGE as PERCENTAGE, UnitOfElectricCurrent as UnitOfElectricCurrent, UnitOfEnergy as UnitOfEnergy, UnitOfLength as UnitOfLength, UnitOfPower as UnitOfPower
9
8
  from homeassistant.core import HomeAssistant as HomeAssistant
10
9
  from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
@@ -16,7 +15,9 @@ class WallboxSensorEntityDescription(SensorEntityDescription):
16
15
 
17
16
  SENSOR_TYPES: dict[str, WallboxSensorEntityDescription]
18
17
 
19
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
18
+ async def async_setup_entry(hass: HomeAssistant, entry: WallboxConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
19
+
20
+ PARALLEL_UPDATES: int
20
21
 
21
22
  class WallboxSensor(WallboxEntity, SensorEntity):
22
23
  entity_description: WallboxSensorEntityDescription
@@ -1,16 +1,17 @@
1
- from .const import CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_PAUSE_RESUME_KEY as CHARGER_PAUSE_RESUME_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, CHARGER_STATUS_DESCRIPTION_KEY as CHARGER_STATUS_DESCRIPTION_KEY, ChargerStatus as ChargerStatus, DOMAIN as DOMAIN
2
- from .coordinator import WallboxCoordinator as WallboxCoordinator
1
+ from .const import CHARGER_DATA_KEY as CHARGER_DATA_KEY, CHARGER_PAUSE_RESUME_KEY as CHARGER_PAUSE_RESUME_KEY, CHARGER_SERIAL_NUMBER_KEY as CHARGER_SERIAL_NUMBER_KEY, CHARGER_STATUS_DESCRIPTION_KEY as CHARGER_STATUS_DESCRIPTION_KEY, ChargerStatus as ChargerStatus
2
+ from .coordinator import WallboxConfigEntry as WallboxConfigEntry, WallboxCoordinator as WallboxCoordinator
3
3
  from .entity import WallboxEntity as WallboxEntity
4
4
  from _typeshed import Incomplete
5
5
  from homeassistant.components.switch import SwitchEntity as SwitchEntity, SwitchEntityDescription as SwitchEntityDescription
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
6
  from homeassistant.core import HomeAssistant as HomeAssistant
8
7
  from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
9
8
  from typing import Any
10
9
 
11
10
  SWITCH_TYPES: dict[str, SwitchEntityDescription]
12
11
 
13
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
12
+ async def async_setup_entry(hass: HomeAssistant, entry: WallboxConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
13
+
14
+ PARALLEL_UPDATES: int
14
15
 
15
16
  class WallboxSwitch(WallboxEntity, SwitchEntity):
16
17
  entity_description: Incomplete
@@ -1,11 +1,9 @@
1
- from .const import DOMAIN as DOMAIN
2
- from .coordinator import WAQIDataUpdateCoordinator as WAQIDataUpdateCoordinator
3
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
1
+ from .coordinator import WAQIConfigEntry as WAQIConfigEntry, WAQIDataUpdateCoordinator as WAQIDataUpdateCoordinator
4
2
  from homeassistant.const import CONF_API_KEY as CONF_API_KEY, Platform as Platform
5
3
  from homeassistant.core import HomeAssistant as HomeAssistant
6
4
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
7
5
 
8
6
  PLATFORMS: list[Platform]
9
7
 
10
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
11
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
8
+ async def async_setup_entry(hass: HomeAssistant, entry: WAQIConfigEntry) -> bool: ...
9
+ async def async_unload_entry(hass: HomeAssistant, entry: WAQIConfigEntry) -> bool: ...
@@ -5,8 +5,9 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
7
7
 
8
+ type WAQIConfigEntry = ConfigEntry[WAQIDataUpdateCoordinator]
8
9
  class WAQIDataUpdateCoordinator(DataUpdateCoordinator[WAQIAirQuality]):
9
- config_entry: ConfigEntry
10
+ config_entry: WAQIConfigEntry
10
11
  _client: Incomplete
11
- def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry, client: WAQIClient) -> None: ...
12
+ def __init__(self, hass: HomeAssistant, config_entry: WAQIConfigEntry, client: WAQIClient) -> None: ...
12
13
  async def _async_update_data(self) -> WAQIAirQuality: ...
@@ -1,11 +1,10 @@
1
1
  from .const import DOMAIN as DOMAIN
2
- from .coordinator import WAQIDataUpdateCoordinator as WAQIDataUpdateCoordinator
2
+ from .coordinator import WAQIConfigEntry as WAQIConfigEntry, WAQIDataUpdateCoordinator as WAQIDataUpdateCoordinator
3
3
  from _typeshed import Incomplete
4
4
  from aiowaqi import WAQIAirQuality as WAQIAirQuality
5
5
  from collections.abc import Callable as Callable
6
6
  from dataclasses import dataclass
7
7
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
8
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
8
  from homeassistant.const import PERCENTAGE as PERCENTAGE, UnitOfPressure as UnitOfPressure, UnitOfTemperature as UnitOfTemperature
10
9
  from homeassistant.core import HomeAssistant as HomeAssistant
11
10
  from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
@@ -13,16 +12,6 @@ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
13
12
  from homeassistant.helpers.typing import StateType as StateType
14
13
  from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
15
14
 
16
- _LOGGER: Incomplete
17
- ATTR_DOMINENTPOL: str
18
- ATTR_HUMIDITY: str
19
- ATTR_NITROGEN_DIOXIDE: str
20
- ATTR_OZONE: str
21
- ATTR_PM10: str
22
- ATTR_PM2_5: str
23
- ATTR_PRESSURE: str
24
- ATTR_SULFUR_DIOXIDE: str
25
-
26
15
  @dataclass(frozen=True, kw_only=True)
27
16
  class WAQISensorEntityDescription(SensorEntityDescription):
28
17
  available_fn: Callable[[WAQIAirQuality], bool] = ...
@@ -30,7 +19,7 @@ class WAQISensorEntityDescription(SensorEntityDescription):
30
19
 
31
20
  SENSORS: list[WAQISensorEntityDescription]
32
21
 
33
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
22
+ async def async_setup_entry(hass: HomeAssistant, entry: WAQIConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
34
23
 
35
24
  class WaqiSensor(CoordinatorEntity[WAQIDataUpdateCoordinator], SensorEntity):
36
25
  _attr_has_entity_name: bool
@@ -12,5 +12,4 @@ CONFIG_SCHEMA: Incomplete
12
12
 
13
13
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
14
14
  async def async_setup_entry(hass: HomeAssistant, entry: WebOsTvConfigEntry) -> bool: ...
15
- async def async_update_options(hass: HomeAssistant, entry: WebOsTvConfigEntry) -> None: ...
16
15
  async def async_unload_entry(hass: HomeAssistant, entry: WebOsTvConfigEntry) -> bool: ...
@@ -4,7 +4,7 @@ from .helpers import get_sources as get_sources
4
4
  from _typeshed import Incomplete
5
5
  from aiowebostv import WebOsClient
6
6
  from collections.abc import Mapping
7
- from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
7
+ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
8
8
  from homeassistant.const import CONF_CLIENT_SECRET as CONF_CLIENT_SECRET, CONF_HOST as CONF_HOST
9
9
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
10
10
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
@@ -23,7 +23,7 @@ class FlowHandler(ConfigFlow, domain=DOMAIN):
23
23
  def __init__(self) -> None: ...
24
24
  @staticmethod
25
25
  @callback
26
- def async_get_options_flow(config_entry: WebOsTvConfigEntry) -> OptionsFlow: ...
26
+ def async_get_options_flow(config_entry: WebOsTvConfigEntry) -> OptionsFlowHandler: ...
27
27
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
28
28
  async def async_step_pairing(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
29
29
  async def async_step_ssdp(self, discovery_info: SsdpServiceInfo) -> ConfigFlowResult: ...
@@ -32,7 +32,7 @@ class FlowHandler(ConfigFlow, domain=DOMAIN):
32
32
  async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
33
33
  async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
34
34
 
35
- class OptionsFlowHandler(OptionsFlow):
35
+ class OptionsFlowHandler(OptionsFlowWithReload):
36
36
  host: Incomplete
37
37
  key: Incomplete
38
38
  def __init__(self, config_entry: WebOsTvConfigEntry) -> None: ...
@@ -20,6 +20,7 @@ from homeassistant.setup import async_get_loaded_integrations as async_get_loade
20
20
  from homeassistant.util.json import format_unserializable_data as format_unserializable_data
21
21
  from typing import Any
22
22
 
23
+ ALL_CONDITION_DESCRIPTIONS_JSON_CACHE: str
23
24
  ALL_SERVICE_DESCRIPTIONS_JSON_CACHE: str
24
25
  ALL_TRIGGER_DESCRIPTIONS_JSON_CACHE: str
25
26
  _LOGGER: Incomplete
@@ -49,6 +50,9 @@ def _forward_entity_changes(send_message: Callable[[str | bytes | dict[str, Any]
49
50
  @callback
50
51
  def handle_subscribe_entities(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
51
52
  def _send_handle_entities_init_response(connection: ActiveConnection, message_id_as_bytes: bytes, serialized_states: list[bytes]) -> None: ...
53
+ async def _async_get_all_condition_descriptions_json(hass: HomeAssistant) -> bytes: ...
54
+ @decorators.async_response
55
+ async def handle_subscribe_condition_platforms(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
52
56
  async def _async_get_all_service_descriptions_json(hass: HomeAssistant) -> bytes: ...
53
57
  @decorators.async_response
54
58
  async def handle_get_services(hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]) -> None: ...
@@ -0,0 +1,34 @@
1
+ from . import WizConfigEntry as WizConfigEntry
2
+ from .entity import WizEntity as WizEntity
3
+ from .models import WizData as WizData
4
+ from _typeshed import Incomplete
5
+ from homeassistant.components.fan import DIRECTION_FORWARD as DIRECTION_FORWARD, DIRECTION_REVERSE as DIRECTION_REVERSE, FanEntity as FanEntity, FanEntityFeature as FanEntityFeature
6
+ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
7
+ from homeassistant.helpers.entity import ToggleEntity as ToggleEntity
8
+ from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
9
+ from homeassistant.util.percentage import percentage_to_ranged_value as percentage_to_ranged_value, ranged_value_to_percentage as ranged_value_to_percentage
10
+ from pywizlight.bulblibrary import BulbType as BulbType, Features as Features
11
+ from typing import Any, ClassVar
12
+
13
+ PRESET_MODE_BREEZE: str
14
+
15
+ async def async_setup_entry(hass: HomeAssistant, entry: WizConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
16
+
17
+ class WizFanEntity(WizEntity, FanEntity):
18
+ _attr_name: Incomplete
19
+ is_on: ClassVar
20
+ _attr_preset_modes: Incomplete
21
+ _attr_supported_features: Incomplete
22
+ _attr_speed_count: Incomplete
23
+ def __init__(self, wiz_data: WizData, name: str) -> None: ...
24
+ _attr_is_on: Incomplete
25
+ _attr_percentage: Incomplete
26
+ _attr_preset_mode: Incomplete
27
+ _attr_current_direction: Incomplete
28
+ @callback
29
+ def _async_update_attrs(self) -> None: ...
30
+ async def async_set_preset_mode(self, preset_mode: str) -> None: ...
31
+ async def async_set_percentage(self, percentage: int) -> None: ...
32
+ async def async_turn_on(self, percentage: int | None = None, preset_mode: str | None = None, **kwargs: Any) -> None: ...
33
+ async def async_turn_off(self, **kwargs: Any) -> None: ...
34
+ async def async_set_direction(self, direction: str) -> None: ...
@@ -15,4 +15,3 @@ CONFIG_SCHEMA: Incomplete
15
15
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
16
16
  async def async_setup_entry(hass: HomeAssistant, entry: WLEDConfigEntry) -> bool: ...
17
17
  async def async_unload_entry(hass: HomeAssistant, entry: WLEDConfigEntry) -> bool: ...
18
- async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
@@ -1,6 +1,6 @@
1
1
  from .const import CONF_KEEP_MAIN_LIGHT as CONF_KEEP_MAIN_LIGHT, DEFAULT_KEEP_MAIN_LIGHT as DEFAULT_KEEP_MAIN_LIGHT, DOMAIN as DOMAIN
2
2
  from homeassistant.components import onboarding as onboarding
3
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
3
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
4
4
  from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC
5
5
  from homeassistant.core import callback as callback
6
6
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
@@ -20,5 +20,5 @@ class WLEDFlowHandler(ConfigFlow, domain=DOMAIN):
20
20
  async def async_step_zeroconf_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
21
21
  async def _async_get_device(self, host: str) -> Device: ...
22
22
 
23
- class WLEDOptionsFlowHandler(OptionsFlow):
23
+ class WLEDOptionsFlowHandler(OptionsFlowWithReload):
24
24
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -9,5 +9,4 @@ from homeassistant.setup import SetupPhases as SetupPhases, async_pause_setup as
9
9
 
10
10
  async def _async_validate_country_and_province(hass: HomeAssistant, entry: ConfigEntry, country: str | None, province: str | None) -> None: ...
11
11
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
12
- async def async_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
13
12
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -1,7 +1,7 @@
1
1
  import voluptuous as vol
2
2
  from .const import ALLOWED_DAYS as ALLOWED_DAYS, CONF_ADD_HOLIDAYS as CONF_ADD_HOLIDAYS, CONF_CATEGORY as CONF_CATEGORY, CONF_EXCLUDES as CONF_EXCLUDES, CONF_OFFSET as CONF_OFFSET, CONF_PROVINCE as CONF_PROVINCE, CONF_REMOVE_HOLIDAYS as CONF_REMOVE_HOLIDAYS, CONF_WORKDAYS as CONF_WORKDAYS, DEFAULT_EXCLUDES as DEFAULT_EXCLUDES, DEFAULT_NAME as DEFAULT_NAME, DEFAULT_OFFSET as DEFAULT_OFFSET, DEFAULT_WORKDAYS as DEFAULT_WORKDAYS, DOMAIN as DOMAIN, LOGGER as LOGGER
3
3
  from _typeshed import Incomplete
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
4
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
5
5
  from homeassistant.const import CONF_COUNTRY as CONF_COUNTRY, CONF_LANGUAGE as CONF_LANGUAGE, CONF_NAME as CONF_NAME
6
6
  from homeassistant.core import callback as callback
7
7
  from homeassistant.data_entry_flow import AbortFlow as AbortFlow
@@ -24,7 +24,7 @@ class WorkdayConfigFlow(ConfigFlow, domain=DOMAIN):
24
24
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
25
25
  async def async_step_options(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
26
26
 
27
- class WorkdayOptionsFlowHandler(OptionsFlow):
27
+ class WorkdayOptionsFlowHandler(OptionsFlowWithReload):
28
28
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
29
29
 
30
30
  class AddDatesError(HomeAssistantError): ...
@@ -7,6 +7,5 @@ from homeassistant.core import HomeAssistant as HomeAssistant
7
7
 
8
8
  type YaleConfigEntry = ConfigEntry[YaleDataUpdateCoordinator]
9
9
  async def async_setup_entry(hass: HomeAssistant, entry: YaleConfigEntry) -> bool: ...
10
- async def update_listener(hass: HomeAssistant, entry: YaleConfigEntry) -> None: ...
11
10
  async def async_unload_entry(hass: HomeAssistant, entry: YaleConfigEntry) -> bool: ...
12
11
  async def async_migrate_entry(hass: HomeAssistant, entry: YaleConfigEntry) -> bool: ...
@@ -1,7 +1,7 @@
1
1
  from .const import CONF_AREA_ID as CONF_AREA_ID, CONF_LOCK_CODE_DIGITS as CONF_LOCK_CODE_DIGITS, DEFAULT_AREA_ID as DEFAULT_AREA_ID, DOMAIN as DOMAIN, YALE_BASE_ERRORS as YALE_BASE_ERRORS
2
2
  from _typeshed import Incomplete
3
3
  from collections.abc import Mapping
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
4
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
5
5
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
6
6
  from homeassistant.core import callback as callback
7
7
  from typing import Any
@@ -23,5 +23,5 @@ class YaleConfigFlow(ConfigFlow, domain=DOMAIN):
23
23
  async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
24
24
  async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
25
25
 
26
- class YaleOptionsFlowHandler(OptionsFlow):
26
+ class YaleOptionsFlowHandler(OptionsFlowWithReload):
27
27
  async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
@@ -1,5 +1,6 @@
1
1
  from . import YALEXSBLEConfigEntry as YALEXSBLEConfigEntry
2
2
  from .entity import YALEXSBLEEntity as YALEXSBLEEntity
3
+ from .models import YaleXSBLEData as YaleXSBLEData
3
4
  from _typeshed import Incomplete
4
5
  from homeassistant.components.lock import LockEntity as LockEntity
5
6
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
@@ -9,8 +10,8 @@ from yalexs_ble import ConnectionInfo as ConnectionInfo, LockInfo as LockInfo, L
9
10
 
10
11
  async def async_setup_entry(hass: HomeAssistant, entry: YALEXSBLEConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
11
12
 
12
- class YaleXSBLELock(YALEXSBLEEntity, LockEntity):
13
- _attr_name: Incomplete
13
+ class YaleXSBLEBaseLock(YALEXSBLEEntity, LockEntity):
14
+ _secure_mode: bool
14
15
  _attr_is_locked: bool
15
16
  _attr_is_locking: bool
16
17
  _attr_is_unlocking: bool
@@ -18,4 +19,15 @@ class YaleXSBLELock(YALEXSBLEEntity, LockEntity):
18
19
  @callback
19
20
  def _async_update_state(self, new_state: LockState, lock_info: LockInfo, connection_info: ConnectionInfo) -> None: ...
20
21
  async def async_unlock(self, **kwargs: Any) -> None: ...
22
+
23
+ class YaleXSBLELock(YaleXSBLEBaseLock, LockEntity):
24
+ _attr_name: Incomplete
25
+ async def async_lock(self, **kwargs: Any) -> None: ...
26
+
27
+ class YaleXSBLESecureModeLock(YaleXSBLEBaseLock):
28
+ _attr_entity_registry_enabled_default: bool
29
+ _attr_translation_key: str
30
+ _secure_mode: bool
31
+ _attr_unique_id: Incomplete
32
+ def __init__(self, data: YaleXSBLEData) -> None: ...
21
33
  async def async_lock(self, **kwargs: Any) -> None: ...
@@ -0,0 +1,22 @@
1
+ from . import in_zone as in_zone
2
+ from _typeshed import Incomplete
3
+ from homeassistant.const import ATTR_GPS_ACCURACY as ATTR_GPS_ACCURACY, ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE as ATTR_LONGITUDE, CONF_CONDITION as CONF_CONDITION, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_ZONE as CONF_ZONE, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
4
+ from homeassistant.core import HomeAssistant as HomeAssistant, State as State
5
+ from homeassistant.exceptions import ConditionErrorContainer as ConditionErrorContainer, ConditionErrorMessage as ConditionErrorMessage
6
+ from homeassistant.helpers.condition import Condition as Condition, ConditionCheckerType as ConditionCheckerType, trace_condition_function as trace_condition_function
7
+ from homeassistant.helpers.typing import ConfigType as ConfigType, TemplateVarsType as TemplateVarsType
8
+
9
+ _CONDITION_SCHEMA: Incomplete
10
+
11
+ def zone(hass: HomeAssistant, zone_ent: str | State | None, entity: str | State | None) -> bool: ...
12
+
13
+ class ZoneCondition(Condition):
14
+ _config: Incomplete
15
+ def __init__(self, hass: HomeAssistant, config: ConfigType) -> None: ...
16
+ @classmethod
17
+ async def async_validate_condition_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
18
+ async def async_condition_from_config(self) -> ConditionCheckerType: ...
19
+
20
+ CONDITIONS: dict[str, type[Condition]]
21
+
22
+ async def async_get_conditions(hass: HomeAssistant) -> dict[str, type[Condition]]: ...
@@ -1,7 +1,8 @@
1
+ from . import condition as condition
1
2
  from _typeshed import Incomplete
2
3
  from homeassistant.const import ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_EVENT as CONF_EVENT, CONF_PLATFORM as CONF_PLATFORM, CONF_ZONE as CONF_ZONE
3
4
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, EventStateChangedData as EventStateChangedData, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
4
- from homeassistant.helpers import condition as condition, location as location
5
+ from homeassistant.helpers import location as location
5
6
  from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
6
7
  from homeassistant.helpers.trigger import TriggerActionType as TriggerActionType, TriggerInfo as TriggerInfo
7
8
  from homeassistant.helpers.typing import ConfigType as ConfigType
@@ -1,15 +1,16 @@
1
1
  import asyncio
2
2
  from .addon import get_addon_manager as get_addon_manager
3
3
  from .api import async_register_api as async_register_api
4
- from .const import ATTR_ACKNOWLEDGED_FRAMES as ATTR_ACKNOWLEDGED_FRAMES, ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_COMMAND_CLASS_NAME as ATTR_COMMAND_CLASS_NAME, ATTR_DATA_TYPE as ATTR_DATA_TYPE, ATTR_DATA_TYPE_LABEL as ATTR_DATA_TYPE_LABEL, ATTR_DIRECTION as ATTR_DIRECTION, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_EVENT as ATTR_EVENT, ATTR_EVENT_DATA as ATTR_EVENT_DATA, ATTR_EVENT_LABEL as ATTR_EVENT_LABEL, ATTR_EVENT_TYPE as ATTR_EVENT_TYPE, ATTR_EVENT_TYPE_LABEL as ATTR_EVENT_TYPE_LABEL, ATTR_HOME_ID as ATTR_HOME_ID, ATTR_LABEL as ATTR_LABEL, ATTR_NODE_ID as ATTR_NODE_ID, ATTR_PARAMETERS as ATTR_PARAMETERS, ATTR_PROPERTY as ATTR_PROPERTY, ATTR_PROPERTY_KEY as ATTR_PROPERTY_KEY, ATTR_PROPERTY_KEY_NAME as ATTR_PROPERTY_KEY_NAME, ATTR_PROPERTY_NAME as ATTR_PROPERTY_NAME, ATTR_STATUS as ATTR_STATUS, ATTR_TEST_NODE_ID as ATTR_TEST_NODE_ID, ATTR_TYPE as ATTR_TYPE, ATTR_VALUE as ATTR_VALUE, ATTR_VALUE_RAW as ATTR_VALUE_RAW, CONF_ADDON_DEVICE as CONF_ADDON_DEVICE, CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY as CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY, CONF_ADDON_LR_S2_AUTHENTICATED_KEY as CONF_ADDON_LR_S2_AUTHENTICATED_KEY, CONF_ADDON_NETWORK_KEY as CONF_ADDON_NETWORK_KEY, CONF_ADDON_S0_LEGACY_KEY as CONF_ADDON_S0_LEGACY_KEY, CONF_ADDON_S2_ACCESS_CONTROL_KEY as CONF_ADDON_S2_ACCESS_CONTROL_KEY, CONF_ADDON_S2_AUTHENTICATED_KEY as CONF_ADDON_S2_AUTHENTICATED_KEY, CONF_ADDON_S2_UNAUTHENTICATED_KEY as CONF_ADDON_S2_UNAUTHENTICATED_KEY, CONF_DATA_COLLECTION_OPTED_IN as CONF_DATA_COLLECTION_OPTED_IN, CONF_INSTALLER_MODE as CONF_INSTALLER_MODE, CONF_INTEGRATION_CREATED_ADDON as CONF_INTEGRATION_CREATED_ADDON, CONF_KEEP_OLD_DEVICES as CONF_KEEP_OLD_DEVICES, CONF_LR_S2_ACCESS_CONTROL_KEY as CONF_LR_S2_ACCESS_CONTROL_KEY, CONF_LR_S2_AUTHENTICATED_KEY as CONF_LR_S2_AUTHENTICATED_KEY, CONF_NETWORK_KEY as CONF_NETWORK_KEY, CONF_S0_LEGACY_KEY as CONF_S0_LEGACY_KEY, CONF_S2_ACCESS_CONTROL_KEY as CONF_S2_ACCESS_CONTROL_KEY, CONF_S2_AUTHENTICATED_KEY as CONF_S2_AUTHENTICATED_KEY, CONF_S2_UNAUTHENTICATED_KEY as CONF_S2_UNAUTHENTICATED_KEY, CONF_USB_PATH as CONF_USB_PATH, CONF_USE_ADDON as CONF_USE_ADDON, DATA_CLIENT as DATA_CLIENT, DOMAIN as DOMAIN, DRIVER_READY_TIMEOUT as DRIVER_READY_TIMEOUT, EVENT_DEVICE_ADDED_TO_REGISTRY as EVENT_DEVICE_ADDED_TO_REGISTRY, EVENT_VALUE_UPDATED as EVENT_VALUE_UPDATED, LIB_LOGGER as LIB_LOGGER, LOGGER as LOGGER, LR_ADDON_VERSION as LR_ADDON_VERSION, USER_AGENT as USER_AGENT, ZWAVE_JS_NOTIFICATION_EVENT as ZWAVE_JS_NOTIFICATION_EVENT, ZWAVE_JS_VALUE_NOTIFICATION_EVENT as ZWAVE_JS_VALUE_NOTIFICATION_EVENT, ZWAVE_JS_VALUE_UPDATED_EVENT as ZWAVE_JS_VALUE_UPDATED_EVENT
4
+ from .const import ATTR_ACKNOWLEDGED_FRAMES as ATTR_ACKNOWLEDGED_FRAMES, ATTR_COMMAND_CLASS as ATTR_COMMAND_CLASS, ATTR_COMMAND_CLASS_NAME as ATTR_COMMAND_CLASS_NAME, ATTR_DATA_TYPE as ATTR_DATA_TYPE, ATTR_DATA_TYPE_LABEL as ATTR_DATA_TYPE_LABEL, ATTR_DIRECTION as ATTR_DIRECTION, ATTR_ENDPOINT as ATTR_ENDPOINT, ATTR_EVENT as ATTR_EVENT, ATTR_EVENT_DATA as ATTR_EVENT_DATA, ATTR_EVENT_LABEL as ATTR_EVENT_LABEL, ATTR_EVENT_TYPE as ATTR_EVENT_TYPE, ATTR_EVENT_TYPE_LABEL as ATTR_EVENT_TYPE_LABEL, ATTR_HOME_ID as ATTR_HOME_ID, ATTR_LABEL as ATTR_LABEL, ATTR_NODE_ID as ATTR_NODE_ID, ATTR_PARAMETERS as ATTR_PARAMETERS, ATTR_PROPERTY as ATTR_PROPERTY, ATTR_PROPERTY_KEY as ATTR_PROPERTY_KEY, ATTR_PROPERTY_KEY_NAME as ATTR_PROPERTY_KEY_NAME, ATTR_PROPERTY_NAME as ATTR_PROPERTY_NAME, ATTR_STATUS as ATTR_STATUS, ATTR_TEST_NODE_ID as ATTR_TEST_NODE_ID, ATTR_TYPE as ATTR_TYPE, ATTR_VALUE as ATTR_VALUE, ATTR_VALUE_RAW as ATTR_VALUE_RAW, CONF_ADDON_DEVICE as CONF_ADDON_DEVICE, CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY as CONF_ADDON_LR_S2_ACCESS_CONTROL_KEY, CONF_ADDON_LR_S2_AUTHENTICATED_KEY as CONF_ADDON_LR_S2_AUTHENTICATED_KEY, CONF_ADDON_NETWORK_KEY as CONF_ADDON_NETWORK_KEY, CONF_ADDON_S0_LEGACY_KEY as CONF_ADDON_S0_LEGACY_KEY, CONF_ADDON_S2_ACCESS_CONTROL_KEY as CONF_ADDON_S2_ACCESS_CONTROL_KEY, CONF_ADDON_S2_AUTHENTICATED_KEY as CONF_ADDON_S2_AUTHENTICATED_KEY, CONF_ADDON_S2_UNAUTHENTICATED_KEY as CONF_ADDON_S2_UNAUTHENTICATED_KEY, CONF_DATA_COLLECTION_OPTED_IN as CONF_DATA_COLLECTION_OPTED_IN, CONF_INSTALLER_MODE as CONF_INSTALLER_MODE, CONF_INTEGRATION_CREATED_ADDON as CONF_INTEGRATION_CREATED_ADDON, CONF_KEEP_OLD_DEVICES as CONF_KEEP_OLD_DEVICES, CONF_LR_S2_ACCESS_CONTROL_KEY as CONF_LR_S2_ACCESS_CONTROL_KEY, CONF_LR_S2_AUTHENTICATED_KEY as CONF_LR_S2_AUTHENTICATED_KEY, CONF_NETWORK_KEY as CONF_NETWORK_KEY, CONF_S0_LEGACY_KEY as CONF_S0_LEGACY_KEY, CONF_S2_ACCESS_CONTROL_KEY as CONF_S2_ACCESS_CONTROL_KEY, CONF_S2_AUTHENTICATED_KEY as CONF_S2_AUTHENTICATED_KEY, CONF_S2_UNAUTHENTICATED_KEY as CONF_S2_UNAUTHENTICATED_KEY, CONF_USB_PATH as CONF_USB_PATH, CONF_USE_ADDON as CONF_USE_ADDON, DOMAIN as DOMAIN, EVENT_DEVICE_ADDED_TO_REGISTRY as EVENT_DEVICE_ADDED_TO_REGISTRY, EVENT_VALUE_UPDATED as EVENT_VALUE_UPDATED, LIB_LOGGER as LIB_LOGGER, LOGGER as LOGGER, LR_ADDON_VERSION as LR_ADDON_VERSION, USER_AGENT as USER_AGENT, ZWAVE_JS_NOTIFICATION_EVENT as ZWAVE_JS_NOTIFICATION_EVENT, ZWAVE_JS_VALUE_NOTIFICATION_EVENT as ZWAVE_JS_VALUE_NOTIFICATION_EVENT, ZWAVE_JS_VALUE_UPDATED_EVENT as ZWAVE_JS_VALUE_UPDATED_EVENT
5
5
  from .discovery import ZwaveDiscoveryInfo as ZwaveDiscoveryInfo, async_discover_node_values as async_discover_node_values, async_discover_single_value as async_discover_single_value
6
6
  from .helpers import async_disable_server_logging_if_needed as async_disable_server_logging_if_needed, async_enable_server_logging_if_needed as async_enable_server_logging_if_needed, async_enable_statistics as async_enable_statistics, get_device_id as get_device_id, get_device_id_ext as get_device_id_ext, get_network_identifier_for_notification as get_network_identifier_for_notification, get_unique_id as get_unique_id, get_valueless_base_unique_id as get_valueless_base_unique_id
7
7
  from .migrate import async_migrate_discovered_value as async_migrate_discovered_value
8
+ from .models import ZwaveJSConfigEntry as ZwaveJSConfigEntry, ZwaveJSData as ZwaveJSData
8
9
  from .services import async_setup_services as async_setup_services
9
10
  from _typeshed import Incomplete
10
11
  from homeassistant.components.hassio import AddonError as AddonError, AddonManager as AddonManager, AddonState as AddonState
11
12
  from homeassistant.components.persistent_notification import async_create as async_create
12
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState
13
+ from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
13
14
  from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_DOMAIN as ATTR_DOMAIN, ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_URL as CONF_URL, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, EVENT_LOGGING_CHANGED as EVENT_LOGGING_CHANGED, Platform as Platform
14
15
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
15
16
  from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady, HomeAssistantError as HomeAssistantError
@@ -25,12 +26,13 @@ from zwave_js_server.model.node import Node as ZwaveNode
25
26
  from zwave_js_server.model.value import Value as Value, ValueNotification as ValueNotification
26
27
 
27
28
  CONNECT_TIMEOUT: int
28
- DATA_DRIVER_EVENTS: str
29
+ DRIVER_READY_TIMEOUT: int
29
30
  CONFIG_SCHEMA: Incomplete
31
+ MIN_CONTROLLER_FIRMWARE_SDK_VERSION: Incomplete
30
32
  PLATFORMS: Incomplete
31
33
 
32
34
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
33
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
35
+ async def async_setup_entry(hass: HomeAssistant, entry: ZwaveJSConfigEntry) -> bool: ...
34
36
  def _get_listen_task_error(listen_task: asyncio.Task) -> tuple[BaseException | None, str]: ...
35
37
 
36
38
  class DriverEvents:
@@ -39,7 +41,7 @@ class DriverEvents:
39
41
  dev_reg: Incomplete
40
42
  hass: Incomplete
41
43
  controller_events: Incomplete
42
- def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
44
+ def __init__(self, hass: HomeAssistant, entry: ZwaveJSConfigEntry) -> None: ...
43
45
  async def setup(self, driver: Driver) -> None: ...
44
46
 
45
47
  class ControllerEvents:
@@ -58,7 +60,7 @@ class ControllerEvents:
58
60
  def async_on_node_removed(self, event: dict) -> None: ...
59
61
  @callback
60
62
  def async_on_identify(self, event: dict) -> None: ...
61
- async def async_check_preprovisioned_device(self, node: ZwaveNode) -> None: ...
63
+ async def async_check_pre_provisioned_device(self, node: ZwaveNode) -> None: ...
62
64
  async def async_register_node_in_dev_reg(self, node: ZwaveNode) -> dr.DeviceEntry: ...
63
65
 
64
66
  class NodeEvents:
@@ -78,9 +80,9 @@ class NodeEvents:
78
80
  @callback
79
81
  def async_on_value_updated_fire_event(self, value_updates_disc_info: dict[str, ZwaveDiscoveryInfo], value: Value) -> None: ...
80
82
 
81
- async def client_listen(hass: HomeAssistant, entry: ConfigEntry, client: ZwaveClient, driver_ready: asyncio.Event) -> None: ...
82
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
83
- async def async_remove_entry(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
84
- async def async_ensure_addon_running(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
83
+ async def client_listen(hass: HomeAssistant, entry: ZwaveJSConfigEntry, client: ZwaveClient, driver_ready: asyncio.Event) -> None: ...
84
+ async def async_unload_entry(hass: HomeAssistant, entry: ZwaveJSConfigEntry) -> bool: ...
85
+ async def async_remove_entry(hass: HomeAssistant, entry: ZwaveJSConfigEntry) -> None: ...
86
+ async def async_ensure_addon_running(hass: HomeAssistant, entry: ZwaveJSConfigEntry) -> None: ...
85
87
  @callback
86
88
  def _get_addon_manager(hass: HomeAssistant) -> AddonManager: ...