homeassistant-stubs 2024.5.5__py3-none-any.whl → 2024.6.0b0__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 (940) hide show
  1. homeassistant-stubs/auth/__init__.pyi +1 -2
  2. homeassistant-stubs/auth/auth_store.pyi +3 -0
  3. homeassistant-stubs/auth/mfa_modules/__init__.pyi +2 -1
  4. homeassistant-stubs/auth/providers/__init__.pyi +2 -1
  5. homeassistant-stubs/block_async_io.pyi +2 -0
  6. homeassistant-stubs/bootstrap.pyi +6 -4
  7. homeassistant-stubs/components/abode/__init__.pyi +3 -37
  8. homeassistant-stubs/components/abode/alarm_control_panel.pyi +2 -1
  9. homeassistant-stubs/components/abode/binary_sensor.pyi +2 -1
  10. homeassistant-stubs/components/abode/camera.pyi +2 -1
  11. homeassistant-stubs/components/abode/cover.pyi +2 -1
  12. homeassistant-stubs/components/abode/entity.pyi +39 -0
  13. homeassistant-stubs/components/abode/light.pyi +2 -1
  14. homeassistant-stubs/components/abode/lock.pyi +2 -1
  15. homeassistant-stubs/components/abode/sensor.pyi +2 -1
  16. homeassistant-stubs/components/abode/switch.pyi +2 -1
  17. homeassistant-stubs/components/accuweather/__init__.pyi +3 -3
  18. homeassistant-stubs/components/accuweather/diagnostics.pyi +2 -4
  19. homeassistant-stubs/components/accuweather/sensor.pyi +3 -4
  20. homeassistant-stubs/components/accuweather/system_health.pyi +1 -0
  21. homeassistant-stubs/components/accuweather/weather.pyi +4 -6
  22. homeassistant-stubs/components/acmeda/__init__.pyi +3 -3
  23. homeassistant-stubs/components/acmeda/cover.pyi +3 -4
  24. homeassistant-stubs/components/acmeda/helpers.pyi +2 -1
  25. homeassistant-stubs/components/acmeda/sensor.pyi +3 -4
  26. homeassistant-stubs/components/adguard/__init__.pyi +4 -3
  27. homeassistant-stubs/components/adguard/entity.pyi +3 -3
  28. homeassistant-stubs/components/adguard/sensor.pyi +3 -4
  29. homeassistant-stubs/components/adguard/switch.pyi +3 -4
  30. homeassistant-stubs/components/aftership/__init__.pyi +3 -2
  31. homeassistant-stubs/components/aftership/sensor.pyi +2 -2
  32. homeassistant-stubs/components/air_quality/__init__.pyi +1 -1
  33. homeassistant-stubs/components/air_quality/const.pyi +3 -0
  34. homeassistant-stubs/components/air_quality/group.pyi +1 -0
  35. homeassistant-stubs/components/airgradient/__init__.pyi +11 -0
  36. homeassistant-stubs/components/airgradient/config_flow.pyi +14 -0
  37. homeassistant-stubs/components/airgradient/const.pyi +4 -0
  38. homeassistant-stubs/components/airgradient/coordinator.pyi +24 -0
  39. homeassistant-stubs/components/airgradient/entity.pyi +10 -0
  40. homeassistant-stubs/components/airgradient/select.pyi +36 -0
  41. homeassistant-stubs/components/airgradient/sensor.pyi +30 -0
  42. homeassistant-stubs/components/airly/__init__.pyi +3 -2
  43. homeassistant-stubs/components/airly/coordinator.pyi +1 -1
  44. homeassistant-stubs/components/airly/diagnostics.pyi +2 -4
  45. homeassistant-stubs/components/airly/sensor.pyi +2 -3
  46. homeassistant-stubs/components/airly/system_health.pyi +1 -0
  47. homeassistant-stubs/components/airnow/__init__.pyi +3 -2
  48. homeassistant-stubs/components/airnow/const.pyi +1 -0
  49. homeassistant-stubs/components/airnow/diagnostics.pyi +2 -4
  50. homeassistant-stubs/components/airnow/sensor.pyi +3 -4
  51. homeassistant-stubs/components/airq/__init__.pyi +5 -3
  52. homeassistant-stubs/components/airq/config_flow.pyi +8 -2
  53. homeassistant-stubs/components/airq/const.pyi +2 -0
  54. homeassistant-stubs/components/airq/coordinator.pyi +3 -1
  55. homeassistant-stubs/components/airq/sensor.pyi +3 -4
  56. homeassistant-stubs/components/airthings/__init__.pyi +3 -2
  57. homeassistant-stubs/components/airthings/sensor.pyi +2 -3
  58. homeassistant-stubs/components/airthings_ble/__init__.pyi +5 -3
  59. homeassistant-stubs/components/airthings_ble/sensor.pyi +6 -6
  60. homeassistant-stubs/components/airtouch5/__init__.pyi +4 -2
  61. homeassistant-stubs/components/airtouch5/climate.pyi +2 -2
  62. homeassistant-stubs/components/airvisual_pro/__init__.pyi +3 -2
  63. homeassistant-stubs/components/airvisual_pro/diagnostics.pyi +2 -4
  64. homeassistant-stubs/components/airvisual_pro/sensor.pyi +2 -4
  65. homeassistant-stubs/components/airzone_cloud/climate.pyi +6 -9
  66. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +15 -1
  67. homeassistant-stubs/components/alarm_control_panel/group.pyi +2 -1
  68. homeassistant-stubs/components/ambient_station/__init__.pyi +3 -2
  69. homeassistant-stubs/components/ambient_station/binary_sensor.pyi +3 -3
  70. homeassistant-stubs/components/ambient_station/diagnostics.pyi +3 -4
  71. homeassistant-stubs/components/ambient_station/sensor.pyi +3 -4
  72. homeassistant-stubs/components/analytics_insights/__init__.pyi +5 -4
  73. homeassistant-stubs/components/analytics_insights/coordinator.pyi +2 -2
  74. homeassistant-stubs/components/analytics_insights/sensor.pyi +2 -3
  75. homeassistant-stubs/components/androidtv/__init__.pyi +12 -4
  76. homeassistant-stubs/components/androidtv/const.pyi +0 -2
  77. homeassistant-stubs/components/androidtv/diagnostics.pyi +3 -3
  78. homeassistant-stubs/components/androidtv/entity.pyi +3 -9
  79. homeassistant-stubs/components/androidtv/media_player.pyi +4 -4
  80. homeassistant-stubs/components/androidtv_remote/__init__.pyi +4 -4
  81. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +1 -0
  82. homeassistant-stubs/components/androidtv_remote/diagnostics.pyi +2 -4
  83. homeassistant-stubs/components/androidtv_remote/media_player.pyi +3 -4
  84. homeassistant-stubs/components/androidtv_remote/remote.pyi +2 -4
  85. homeassistant-stubs/components/anova/__init__.pyi +3 -2
  86. homeassistant-stubs/components/anova/config_flow.pyi +0 -1
  87. homeassistant-stubs/components/anova/coordinator.pyi +7 -6
  88. homeassistant-stubs/components/anova/entity.pyi +2 -0
  89. homeassistant-stubs/components/anova/models.pyi +3 -3
  90. homeassistant-stubs/components/anova/sensor.pyi +7 -9
  91. homeassistant-stubs/components/apple_tv/__init__.pyi +2 -1
  92. homeassistant-stubs/components/apple_tv/media_player.pyi +2 -4
  93. homeassistant-stubs/components/apple_tv/remote.pyi +2 -4
  94. homeassistant-stubs/components/aprs/device_tracker.pyi +1 -0
  95. homeassistant-stubs/components/apsystems/__init__.pyi +10 -0
  96. homeassistant-stubs/components/{poolsense → apsystems}/config_flow.pyi +4 -5
  97. homeassistant-stubs/components/apsystems/const.pyi +4 -0
  98. homeassistant-stubs/components/apsystems/coordinator.pyi +10 -0
  99. homeassistant-stubs/components/apsystems/sensor.pyi +31 -0
  100. homeassistant-stubs/components/aquostv/media_player.pyi +1 -3
  101. homeassistant-stubs/components/aranet/const.pyi +1 -0
  102. homeassistant-stubs/components/aranet/sensor.pyi +8 -6
  103. homeassistant-stubs/components/arcam_fmj/media_player.pyi +1 -3
  104. homeassistant-stubs/components/asuswrt/__init__.pyi +4 -4
  105. homeassistant-stubs/components/asuswrt/bridge.pyi +3 -4
  106. homeassistant-stubs/components/asuswrt/const.pyi +0 -1
  107. homeassistant-stubs/components/asuswrt/device_tracker.pyi +2 -3
  108. homeassistant-stubs/components/asuswrt/diagnostics.pyi +2 -4
  109. homeassistant-stubs/components/asuswrt/router.pyi +2 -1
  110. homeassistant-stubs/components/asuswrt/sensor.pyi +3 -3
  111. homeassistant-stubs/components/auth/__init__.pyi +2 -7
  112. homeassistant-stubs/components/axis/__init__.pyi +2 -1
  113. homeassistant-stubs/components/axis/binary_sensor.pyi +2 -2
  114. homeassistant-stubs/components/axis/camera.pyi +2 -2
  115. homeassistant-stubs/components/axis/config_flow.pyi +2 -0
  116. homeassistant-stubs/components/axis/diagnostics.pyi +2 -3
  117. homeassistant-stubs/components/axis/hub/hub.pyi +3 -5
  118. homeassistant-stubs/components/axis/light.pyi +2 -2
  119. homeassistant-stubs/components/axis/switch.pyi +2 -2
  120. homeassistant-stubs/components/baf/__init__.pyi +6 -5
  121. homeassistant-stubs/components/baf/binary_sensor.pyi +2 -4
  122. homeassistant-stubs/components/baf/climate.pyi +2 -4
  123. homeassistant-stubs/components/baf/fan.pyi +3 -4
  124. homeassistant-stubs/components/baf/light.pyi +2 -4
  125. homeassistant-stubs/components/baf/models.pyi +0 -8
  126. homeassistant-stubs/components/baf/number.pyi +3 -4
  127. homeassistant-stubs/components/baf/sensor.pyi +2 -4
  128. homeassistant-stubs/components/baf/switch.pyi +2 -4
  129. homeassistant-stubs/components/bang_olufsen/entity.pyi +2 -1
  130. homeassistant-stubs/components/bang_olufsen/media_player.pyi +7 -7
  131. homeassistant-stubs/components/blue_current/sensor.pyi +7 -1
  132. homeassistant-stubs/components/blueprint/const.pyi +1 -0
  133. homeassistant-stubs/components/blueprint/schemas.pyi +4 -2
  134. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +2 -3
  135. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +4 -5
  136. homeassistant-stubs/components/bluetooth/api.pyi +1 -0
  137. homeassistant-stubs/components/bluetooth/config_flow.pyi +0 -1
  138. homeassistant-stubs/components/bluetooth/match.pyi +2 -3
  139. homeassistant-stubs/components/bluetooth/models.pyi +0 -2
  140. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +2 -0
  141. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +15 -17
  142. homeassistant-stubs/components/bluetooth/update_coordinator.pyi +0 -2
  143. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -0
  144. homeassistant-stubs/components/bond/__init__.pyi +4 -3
  145. homeassistant-stubs/components/bond/button.pyi +2 -4
  146. homeassistant-stubs/components/bond/cover.pyi +2 -4
  147. homeassistant-stubs/components/bond/diagnostics.pyi +2 -4
  148. homeassistant-stubs/components/bond/fan.pyi +3 -4
  149. homeassistant-stubs/components/bond/light.pyi +3 -4
  150. homeassistant-stubs/components/bond/switch.pyi +3 -4
  151. homeassistant-stubs/components/braviatv/__init__.pyi +4 -4
  152. homeassistant-stubs/components/braviatv/button.pyi +2 -3
  153. homeassistant-stubs/components/braviatv/coordinator.pyi +2 -4
  154. homeassistant-stubs/components/braviatv/diagnostics.pyi +2 -4
  155. homeassistant-stubs/components/braviatv/media_player.pyi +3 -3
  156. homeassistant-stubs/components/braviatv/remote.pyi +2 -3
  157. homeassistant-stubs/components/brother/__init__.pyi +6 -13
  158. homeassistant-stubs/components/brother/const.pyi +2 -2
  159. homeassistant-stubs/components/brother/coordinator.pyi +12 -0
  160. homeassistant-stubs/components/brother/diagnostics.pyi +2 -4
  161. homeassistant-stubs/components/brother/sensor.pyi +3 -4
  162. homeassistant-stubs/components/brother/utils.pyi +1 -1
  163. homeassistant-stubs/components/bthome/__init__.pyi +1 -1
  164. homeassistant-stubs/components/bthome/binary_sensor.pyi +2 -2
  165. homeassistant-stubs/components/bthome/coordinator.pyi +4 -5
  166. homeassistant-stubs/components/bthome/logbook.pyi +0 -1
  167. homeassistant-stubs/components/bthome/sensor.pyi +2 -2
  168. homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -0
  169. homeassistant-stubs/components/cert_expiry/__init__.pyi +2 -2
  170. homeassistant-stubs/components/cert_expiry/sensor.pyi +3 -3
  171. homeassistant-stubs/components/climate/group.pyi +2 -2
  172. homeassistant-stubs/components/climate/intent.pyi +2 -0
  173. homeassistant-stubs/components/cloud/__init__.pyi +3 -6
  174. homeassistant-stubs/components/cloud/const.pyi +0 -1
  175. homeassistant-stubs/components/cloud/http_api.pyi +4 -7
  176. homeassistant-stubs/components/cloud/prefs.pyi +3 -5
  177. homeassistant-stubs/components/co2signal/__init__.pyi +3 -2
  178. homeassistant-stubs/components/co2signal/diagnostics.pyi +2 -4
  179. homeassistant-stubs/components/co2signal/sensor.pyi +2 -2
  180. homeassistant-stubs/components/config/area_registry.pyi +0 -2
  181. homeassistant-stubs/components/config/device_registry.pyi +1 -1
  182. homeassistant-stubs/components/config/floor_registry.pyi +1 -1
  183. homeassistant-stubs/components/config/label_registry.pyi +1 -1
  184. homeassistant-stubs/components/config/view.pyi +2 -4
  185. homeassistant-stubs/components/counter/__init__.pyi +1 -2
  186. homeassistant-stubs/components/cover/__init__.pyi +2 -4
  187. homeassistant-stubs/components/cover/const.pyi +1 -0
  188. homeassistant-stubs/components/cover/group.pyi +1 -0
  189. homeassistant-stubs/components/deconz/__init__.pyi +6 -1
  190. homeassistant-stubs/components/deconz/binary_sensor.pyi +3 -14
  191. homeassistant-stubs/components/deconz/deconz_device.pyi +2 -6
  192. homeassistant-stubs/components/deconz/device_trigger.pyi +2 -1
  193. homeassistant-stubs/components/deconz/light.pyi +1 -2
  194. homeassistant-stubs/components/deconz/number.pyi +4 -8
  195. homeassistant-stubs/components/deconz/sensor.pyi +3 -1
  196. homeassistant-stubs/components/deconz/services.pyi +0 -2
  197. homeassistant-stubs/components/demo/alarm_control_panel.pyi +3 -0
  198. homeassistant-stubs/components/demo/lock.pyi +5 -1
  199. homeassistant-stubs/components/demo/notify.pyi +3 -2
  200. homeassistant-stubs/components/device_automation/__init__.pyi +2 -2
  201. homeassistant-stubs/components/device_tracker/group.pyi +1 -0
  202. homeassistant-stubs/components/devolo_home_control/__init__.pyi +6 -3
  203. homeassistant-stubs/components/devolo_home_control/binary_sensor.pyi +2 -3
  204. homeassistant-stubs/components/devolo_home_control/climate.pyi +2 -3
  205. homeassistant-stubs/components/devolo_home_control/cover.pyi +2 -3
  206. homeassistant-stubs/components/devolo_home_control/diagnostics.pyi +2 -4
  207. homeassistant-stubs/components/devolo_home_control/light.pyi +2 -3
  208. homeassistant-stubs/components/devolo_home_control/sensor.pyi +2 -3
  209. homeassistant-stubs/components/devolo_home_control/siren.pyi +2 -3
  210. homeassistant-stubs/components/devolo_home_control/switch.pyi +2 -3
  211. homeassistant-stubs/components/devolo_home_network/__init__.pyi +11 -2
  212. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +4 -5
  213. homeassistant-stubs/components/devolo_home_network/button.pyi +3 -3
  214. homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -2
  215. homeassistant-stubs/components/devolo_home_network/diagnostics.pyi +2 -4
  216. homeassistant-stubs/components/devolo_home_network/entity.pyi +4 -8
  217. homeassistant-stubs/components/devolo_home_network/image.pyi +4 -5
  218. homeassistant-stubs/components/devolo_home_network/sensor.pyi +5 -6
  219. homeassistant-stubs/components/devolo_home_network/switch.pyi +3 -3
  220. homeassistant-stubs/components/devolo_home_network/update.pyi +3 -3
  221. homeassistant-stubs/components/dhcp/__init__.pyi +1 -1
  222. homeassistant-stubs/components/diagnostics/util.pyi +1 -3
  223. homeassistant-stubs/components/discovergy/__init__.pyi +2 -2
  224. homeassistant-stubs/components/discovergy/diagnostics.pyi +2 -4
  225. homeassistant-stubs/components/discovergy/sensor.pyi +2 -2
  226. homeassistant-stubs/components/dlna_dmr/media_player.pyi +2 -5
  227. homeassistant-stubs/components/dlna_dms/dms.pyi +1 -4
  228. homeassistant-stubs/components/dnsip/sensor.pyi +2 -0
  229. homeassistant-stubs/components/duotecno/entity.pyi +2 -4
  230. homeassistant-stubs/components/ecovacs/__init__.pyi +3 -2
  231. homeassistant-stubs/components/ecovacs/binary_sensor.pyi +2 -4
  232. homeassistant-stubs/components/ecovacs/button.pyi +3 -4
  233. homeassistant-stubs/components/ecovacs/controller.pyi +4 -1
  234. homeassistant-stubs/components/ecovacs/diagnostics.pyi +3 -4
  235. homeassistant-stubs/components/ecovacs/event.pyi +2 -4
  236. homeassistant-stubs/components/ecovacs/image.pyi +2 -4
  237. homeassistant-stubs/components/ecovacs/lawn_mower.pyi +2 -4
  238. homeassistant-stubs/components/ecovacs/number.pyi +2 -4
  239. homeassistant-stubs/components/ecovacs/select.pyi +2 -4
  240. homeassistant-stubs/components/ecovacs/sensor.pyi +3 -4
  241. homeassistant-stubs/components/ecovacs/switch.pyi +2 -4
  242. homeassistant-stubs/components/ecovacs/vacuum.pyi +2 -3
  243. homeassistant-stubs/components/elgato/__init__.pyi +3 -3
  244. homeassistant-stubs/components/elgato/button.pyi +2 -3
  245. homeassistant-stubs/components/elgato/diagnostics.pyi +2 -4
  246. homeassistant-stubs/components/elgato/light.pyi +3 -3
  247. homeassistant-stubs/components/elgato/sensor.pyi +2 -3
  248. homeassistant-stubs/components/elgato/switch.pyi +2 -3
  249. homeassistant-stubs/components/elkm1/__init__.pyi +3 -2
  250. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +3 -4
  251. homeassistant-stubs/components/elkm1/binary_sensor.pyi +2 -5
  252. homeassistant-stubs/components/elkm1/climate.pyi +2 -5
  253. homeassistant-stubs/components/elkm1/light.pyi +2 -4
  254. homeassistant-stubs/components/elkm1/scene.pyi +2 -5
  255. homeassistant-stubs/components/elkm1/sensor.pyi +3 -5
  256. homeassistant-stubs/components/elkm1/switch.pyi +2 -5
  257. homeassistant-stubs/components/energy/validate.pyi +3 -3
  258. homeassistant-stubs/components/energy/websocket_api.pyi +3 -3
  259. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +1 -0
  260. homeassistant-stubs/components/eq3btsmart/climate.pyi +1 -1
  261. homeassistant-stubs/components/esphome/config_flow.pyi +3 -0
  262. homeassistant-stubs/components/esphome/coordinator.pyi +16 -0
  263. homeassistant-stubs/components/esphome/dashboard.pyi +3 -14
  264. homeassistant-stubs/components/esphome/enum_mapper.pyi +3 -6
  265. homeassistant-stubs/components/esphome/manager.pyi +2 -1
  266. homeassistant-stubs/components/esphome/media_player.pyi +1 -1
  267. homeassistant-stubs/components/esphome/update.pyi +4 -3
  268. homeassistant-stubs/components/esphome/voice_assistant.pyi +5 -1
  269. homeassistant-stubs/components/evil_genius_labs/__init__.pyi +2 -13
  270. homeassistant-stubs/components/evil_genius_labs/coordinator.pyi +17 -0
  271. homeassistant-stubs/components/evil_genius_labs/diagnostics.pyi +1 -1
  272. homeassistant-stubs/components/evil_genius_labs/light.pyi +2 -1
  273. homeassistant-stubs/components/evil_genius_labs/util.pyi +2 -6
  274. homeassistant-stubs/components/feedreader/__init__.pyi +4 -46
  275. homeassistant-stubs/components/feedreader/const.pyi +1 -0
  276. homeassistant-stubs/components/feedreader/coordinator.pyi +39 -0
  277. homeassistant-stubs/components/filesize/__init__.pyi +3 -1
  278. homeassistant-stubs/components/filesize/coordinator.pyi +1 -1
  279. homeassistant-stubs/components/filesize/sensor.pyi +4 -4
  280. homeassistant-stubs/components/fitbit/api.pyi +1 -2
  281. homeassistant-stubs/components/fitbit/coordinator.pyi +1 -1
  282. homeassistant-stubs/components/forecast_solar/__init__.pyi +3 -2
  283. homeassistant-stubs/components/forecast_solar/diagnostics.pyi +2 -5
  284. homeassistant-stubs/components/forecast_solar/energy.pyi +1 -1
  285. homeassistant-stubs/components/forecast_solar/sensor.pyi +2 -2
  286. homeassistant-stubs/components/fritz/__init__.pyi +1 -1
  287. homeassistant-stubs/components/fritz/binary_sensor.pyi +4 -3
  288. homeassistant-stubs/components/fritz/button.pyi +4 -3
  289. homeassistant-stubs/components/fritz/const.pyi +0 -3
  290. homeassistant-stubs/components/fritz/{common.pyi → coordinator.pyi} +7 -53
  291. homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
  292. homeassistant-stubs/components/fritz/diagnostics.pyi +1 -1
  293. homeassistant-stubs/components/fritz/entity.pyi +50 -0
  294. homeassistant-stubs/components/fritz/image.pyi +2 -1
  295. homeassistant-stubs/components/fritz/sensor.pyi +4 -3
  296. homeassistant-stubs/components/fritz/services.pyi +2 -2
  297. homeassistant-stubs/components/fritz/switch.pyi +2 -1
  298. homeassistant-stubs/components/fritz/update.pyi +4 -3
  299. homeassistant-stubs/components/fritzbox/__init__.pyi +6 -8
  300. homeassistant-stubs/components/fritzbox/binary_sensor.pyi +2 -3
  301. homeassistant-stubs/components/fritzbox/button.pyi +2 -3
  302. homeassistant-stubs/components/fritzbox/climate.pyi +2 -3
  303. homeassistant-stubs/components/fritzbox/const.pyi +0 -2
  304. homeassistant-stubs/components/fritzbox/coordinator.pyi +10 -7
  305. homeassistant-stubs/components/fritzbox/cover.pyi +2 -3
  306. homeassistant-stubs/components/fritzbox/diagnostics.pyi +2 -4
  307. homeassistant-stubs/components/fritzbox/light.pyi +2 -3
  308. homeassistant-stubs/components/fritzbox/sensor.pyi +2 -3
  309. homeassistant-stubs/components/fritzbox/switch.pyi +2 -3
  310. homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +5 -4
  311. homeassistant-stubs/components/fritzbox_callmonitor/const.pyi +0 -2
  312. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +3 -3
  313. homeassistant-stubs/components/fronius/__init__.pyi +4 -6
  314. homeassistant-stubs/components/fronius/coordinator.pyi +1 -3
  315. homeassistant-stubs/components/fronius/diagnostics.pyi +9 -0
  316. homeassistant-stubs/components/fronius/sensor.pyi +2 -3
  317. homeassistant-stubs/components/gios/__init__.pyi +10 -10
  318. homeassistant-stubs/components/gios/coordinator.pyi +13 -0
  319. homeassistant-stubs/components/gios/diagnostics.pyi +2 -4
  320. homeassistant-stubs/components/gios/sensor.pyi +3 -3
  321. homeassistant-stubs/components/google/calendar.pyi +2 -29
  322. homeassistant-stubs/components/google/coordinator.pyi +38 -0
  323. homeassistant-stubs/components/group/entity.pyi +5 -2
  324. homeassistant-stubs/components/group/lock.pyi +3 -1
  325. homeassistant-stubs/components/group/registry.pyi +12 -6
  326. homeassistant-stubs/components/group/sensor.pyi +2 -0
  327. homeassistant-stubs/components/guardian/coordinator.pyi +1 -1
  328. homeassistant-stubs/components/guardian/util.pyi +1 -3
  329. homeassistant-stubs/components/history_stats/sensor.pyi +0 -2
  330. homeassistant-stubs/components/holiday/calendar.pyi +10 -1
  331. homeassistant-stubs/components/homeassistant/__init__.pyi +1 -0
  332. homeassistant-stubs/components/homeassistant/triggers/numeric_state.pyi +0 -3
  333. homeassistant-stubs/components/homeassistant_alerts/__init__.pyi +3 -24
  334. homeassistant-stubs/components/homeassistant_alerts/const.pyi +6 -0
  335. homeassistant-stubs/components/homeassistant_alerts/coordinator.pyi +26 -0
  336. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +1 -0
  337. homeassistant-stubs/components/homekit/const.pyi +2 -0
  338. homeassistant-stubs/components/homekit/type_sensors.pyi +3 -1
  339. homeassistant-stubs/components/homekit/util.pyi +2 -1
  340. homeassistant-stubs/components/homewizard/helpers.pyi +1 -4
  341. homeassistant-stubs/components/http/__init__.pyi +6 -7
  342. homeassistant-stubs/components/http/auth.pyi +2 -10
  343. homeassistant-stubs/components/http/ban.pyi +1 -3
  344. homeassistant-stubs/components/http/const.pyi +0 -6
  345. homeassistant-stubs/components/http/data_validator.pyi +2 -4
  346. homeassistant-stubs/components/http/decorators.pyi +2 -5
  347. homeassistant-stubs/components/http/web_runner.pyi +1 -1
  348. homeassistant-stubs/components/humidifier/intent.pyi +4 -0
  349. homeassistant-stubs/components/{poolsense → husqvarna_automower}/__init__.pyi +6 -4
  350. homeassistant-stubs/components/husqvarna_automower/api.pyi +11 -0
  351. homeassistant-stubs/components/husqvarna_automower/application_credentials.pyi +5 -0
  352. homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +29 -0
  353. homeassistant-stubs/components/husqvarna_automower/config_flow.pyi +23 -0
  354. homeassistant-stubs/components/husqvarna_automower/const.pyi +5 -0
  355. homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +20 -0
  356. homeassistant-stubs/components/husqvarna_automower/device_tracker.pyi +21 -0
  357. homeassistant-stubs/components/husqvarna_automower/diagnostics.pyi +17 -0
  358. homeassistant-stubs/components/husqvarna_automower/entity.pyi +20 -0
  359. homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +28 -0
  360. homeassistant-stubs/components/husqvarna_automower/number.pyi +67 -0
  361. homeassistant-stubs/components/husqvarna_automower/select.pyi +25 -0
  362. homeassistant-stubs/components/husqvarna_automower/sensor.pyi +35 -0
  363. homeassistant-stubs/components/husqvarna_automower/switch.pyi +49 -0
  364. homeassistant-stubs/components/hydrawise/binary_sensor.pyi +11 -4
  365. homeassistant-stubs/components/hydrawise/coordinator.pyi +8 -5
  366. homeassistant-stubs/components/hydrawise/entity.pyi +8 -3
  367. homeassistant-stubs/components/hydrawise/sensor.pyi +24 -7
  368. homeassistant-stubs/components/hydrawise/switch.pyi +12 -2
  369. homeassistant-stubs/components/ibeacon/__init__.pyi +5 -3
  370. homeassistant-stubs/components/ibeacon/device_tracker.pyi +3 -3
  371. homeassistant-stubs/components/ibeacon/sensor.pyi +3 -3
  372. homeassistant-stubs/components/idasen_desk/__init__.pyi +2 -12
  373. homeassistant-stubs/components/idasen_desk/coordinator.pyi +19 -0
  374. homeassistant-stubs/components/imgw_pib/__init__.pyi +21 -0
  375. homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +28 -0
  376. homeassistant-stubs/components/imgw_pib/config_flow.pyi +12 -0
  377. homeassistant-stubs/components/imgw_pib/const.pyi +6 -0
  378. homeassistant-stubs/components/imgw_pib/coordinator.pyi +15 -0
  379. homeassistant-stubs/components/imgw_pib/diagnostics.pyi +5 -0
  380. homeassistant-stubs/components/imgw_pib/entity.pyi +10 -0
  381. homeassistant-stubs/components/imgw_pib/sensor.pyi +30 -0
  382. homeassistant-stubs/components/integration/config_flow.pyi +11 -4
  383. homeassistant-stubs/components/integration/sensor.pyi +2 -1
  384. homeassistant-stubs/components/intent/__init__.pyi +8 -16
  385. homeassistant-stubs/components/intent/const.pyi +3 -0
  386. homeassistant-stubs/components/intent/timers.pyi +133 -0
  387. homeassistant-stubs/components/ipp/__init__.pyi +3 -2
  388. homeassistant-stubs/components/ipp/diagnostics.pyi +2 -4
  389. homeassistant-stubs/components/ipp/sensor.pyi +3 -4
  390. homeassistant-stubs/components/jellyfin/config_flow.pyi +11 -2
  391. homeassistant-stubs/components/jellyfin/const.pyi +2 -0
  392. homeassistant-stubs/components/jellyfin/media_source.pyi +4 -2
  393. homeassistant-stubs/components/jewish_calendar/__init__.pyi +6 -9
  394. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +7 -5
  395. homeassistant-stubs/components/jewish_calendar/config_flow.pyi +25 -0
  396. homeassistant-stubs/components/jewish_calendar/const.pyi +9 -0
  397. homeassistant-stubs/components/jewish_calendar/sensor.pyi +7 -7
  398. homeassistant-stubs/components/knx/climate.pyi +3 -0
  399. homeassistant-stubs/components/knx/const.pyi +0 -1
  400. homeassistant-stubs/components/knx/device_trigger.pyi +6 -8
  401. homeassistant-stubs/components/knx/expose.pyi +4 -1
  402. homeassistant-stubs/components/knx/notify.pyi +2 -3
  403. homeassistant-stubs/components/knx/schema.pyi +1 -1
  404. homeassistant-stubs/components/knx/telegrams.pyi +14 -7
  405. homeassistant-stubs/components/knx/trigger.pyi +27 -0
  406. homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -2
  407. homeassistant-stubs/components/lametric/helpers.pyi +1 -4
  408. homeassistant-stubs/components/lcn/helpers.pyi +1 -2
  409. homeassistant-stubs/components/light/intent.pyi +2 -7
  410. homeassistant-stubs/components/linear_garage_door/coordinator.pyi +15 -9
  411. homeassistant-stubs/components/linear_garage_door/cover.pyi +2 -14
  412. homeassistant-stubs/components/linear_garage_door/entity.pyi +17 -0
  413. homeassistant-stubs/components/linear_garage_door/light.pyi +25 -0
  414. homeassistant-stubs/components/local_todo/__init__.pyi +3 -2
  415. homeassistant-stubs/components/local_todo/todo.pyi +3 -3
  416. homeassistant-stubs/components/lock/__init__.pyi +8 -2
  417. homeassistant-stubs/components/lock/const.pyi +1 -0
  418. homeassistant-stubs/components/lock/device_condition.pyi +1 -1
  419. homeassistant-stubs/components/lock/device_trigger.pyi +1 -1
  420. homeassistant-stubs/components/lock/group.pyi +2 -1
  421. homeassistant-stubs/components/lock/reproduce_state.pyi +1 -1
  422. homeassistant-stubs/components/lookin/coordinator.pyi +0 -2
  423. homeassistant-stubs/components/mastodon/notify.pyi +8 -1
  424. homeassistant-stubs/components/matter/api.pyi +1 -2
  425. homeassistant-stubs/components/matter/climate.pyi +3 -2
  426. homeassistant-stubs/components/matter/entity.pyi +1 -9
  427. homeassistant-stubs/components/matter/fan.pyi +44 -0
  428. homeassistant-stubs/components/matter/models.pyi +1 -2
  429. homeassistant-stubs/components/media_extractor/__init__.pyi +3 -0
  430. homeassistant-stubs/components/media_extractor/config_flow.pyi +8 -0
  431. homeassistant-stubs/components/media_player/__init__.pyi +3 -0
  432. homeassistant-stubs/components/media_player/group.pyi +1 -0
  433. homeassistant-stubs/components/media_player/intent.pyi +27 -1
  434. homeassistant-stubs/components/media_source/__init__.pyi +4 -0
  435. homeassistant-stubs/components/metoffice/weather.pyi +1 -1
  436. homeassistant-stubs/components/mikrotik/__init__.pyi +1 -1
  437. homeassistant-stubs/components/mikrotik/config_flow.pyi +1 -1
  438. homeassistant-stubs/components/mikrotik/device_tracker.pyi +1 -1
  439. homeassistant-stubs/components/monzo/__init__.pyi +13 -0
  440. homeassistant-stubs/components/monzo/api.pyi +9 -0
  441. homeassistant-stubs/components/monzo/application_credentials.pyi +7 -0
  442. homeassistant-stubs/components/monzo/config_flow.pyi +14 -0
  443. homeassistant-stubs/components/monzo/const.pyi +1 -0
  444. homeassistant-stubs/components/monzo/coordinator.pyi +20 -0
  445. homeassistant-stubs/components/monzo/entity.pyi +17 -0
  446. homeassistant-stubs/components/monzo/sensor.pyi +31 -0
  447. homeassistant-stubs/components/mopeka/sensor.pyi +2 -2
  448. homeassistant-stubs/components/motionmount/entity.pyi +3 -0
  449. homeassistant-stubs/components/mqtt/__init__.pyi +10 -10
  450. homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +4 -4
  451. homeassistant-stubs/components/mqtt/binary_sensor.pyi +6 -4
  452. homeassistant-stubs/components/mqtt/button.pyi +4 -3
  453. homeassistant-stubs/components/mqtt/camera.pyi +4 -4
  454. homeassistant-stubs/components/mqtt/client.pyi +25 -19
  455. homeassistant-stubs/components/mqtt/climate.pyi +8 -7
  456. homeassistant-stubs/components/mqtt/config_flow.pyi +0 -1
  457. homeassistant-stubs/components/mqtt/const.pyi +15 -4
  458. homeassistant-stubs/components/mqtt/cover.pyi +7 -5
  459. homeassistant-stubs/components/mqtt/debug_info.pyi +4 -9
  460. homeassistant-stubs/components/mqtt/device_tracker.pyi +6 -5
  461. homeassistant-stubs/components/mqtt/device_trigger.pyi +12 -16
  462. homeassistant-stubs/components/mqtt/diagnostics.pyi +1 -1
  463. homeassistant-stubs/components/mqtt/discovery.pyi +19 -10
  464. homeassistant-stubs/components/mqtt/event.pyi +5 -6
  465. homeassistant-stubs/components/mqtt/fan.pyi +9 -5
  466. homeassistant-stubs/components/mqtt/humidifier.pyi +8 -5
  467. homeassistant-stubs/components/mqtt/image.pyi +6 -6
  468. homeassistant-stubs/components/mqtt/lawn_mower.pyi +4 -4
  469. homeassistant-stubs/components/mqtt/light/schema_basic.pyi +15 -5
  470. homeassistant-stubs/components/mqtt/light/schema_json.pyi +4 -4
  471. homeassistant-stubs/components/mqtt/light/schema_template.pyi +4 -4
  472. homeassistant-stubs/components/mqtt/lock.pyi +9 -4
  473. homeassistant-stubs/components/mqtt/mixins.pyi +37 -41
  474. homeassistant-stubs/components/mqtt/models.pyi +16 -6
  475. homeassistant-stubs/components/mqtt/notify.pyi +5 -4
  476. homeassistant-stubs/components/mqtt/number.pyi +4 -4
  477. homeassistant-stubs/components/mqtt/scene.pyi +4 -3
  478. homeassistant-stubs/components/mqtt/schemas.pyi +20 -0
  479. homeassistant-stubs/components/mqtt/select.pyi +4 -4
  480. homeassistant-stubs/components/mqtt/sensor.pyi +9 -7
  481. homeassistant-stubs/components/mqtt/siren.pyi +4 -4
  482. homeassistant-stubs/components/mqtt/subscription.pyi +17 -13
  483. homeassistant-stubs/components/mqtt/switch.pyi +6 -7
  484. homeassistant-stubs/components/mqtt/tag.pyi +7 -5
  485. homeassistant-stubs/components/mqtt/text.pyi +6 -5
  486. homeassistant-stubs/components/mqtt/trigger.pyi +1 -1
  487. homeassistant-stubs/components/mqtt/update.pyi +6 -5
  488. homeassistant-stubs/components/mqtt/util.pyi +5 -4
  489. homeassistant-stubs/components/mqtt/vacuum.pyi +4 -4
  490. homeassistant-stubs/components/mqtt/valve.pyi +5 -5
  491. homeassistant-stubs/components/mqtt/water_heater.pyi +4 -3
  492. homeassistant-stubs/components/mysensors/__init__.pyi +1 -1
  493. homeassistant-stubs/components/myuplink/application_credentials.pyi +2 -1
  494. homeassistant-stubs/components/myuplink/binary_sensor.pyi +18 -2
  495. homeassistant-stubs/components/myuplink/entity.pyi +5 -0
  496. homeassistant-stubs/components/nam/__init__.pyi +5 -16
  497. homeassistant-stubs/components/nam/button.pyi +2 -4
  498. homeassistant-stubs/components/nam/config_flow.pyi +2 -0
  499. homeassistant-stubs/components/nam/coordinator.pyi +15 -0
  500. homeassistant-stubs/components/nam/diagnostics.pyi +2 -4
  501. homeassistant-stubs/components/nam/sensor.pyi +2 -3
  502. homeassistant-stubs/components/nest/__init__.pyi +2 -2
  503. homeassistant-stubs/components/nest/climate.pyi +2 -2
  504. homeassistant-stubs/components/netatmo/sensor.pyi +1 -1
  505. homeassistant-stubs/components/network/util.pyi +1 -1
  506. homeassistant-stubs/components/nextdns/__init__.pyi +18 -3
  507. homeassistant-stubs/components/nextdns/binary_sensor.pyi +10 -15
  508. homeassistant-stubs/components/nextdns/button.pyi +6 -6
  509. homeassistant-stubs/components/nextdns/diagnostics.pyi +3 -3
  510. homeassistant-stubs/components/nextdns/sensor.pyi +6 -10
  511. homeassistant-stubs/components/nextdns/switch.pyi +11 -15
  512. homeassistant-stubs/components/notify/__init__.pyi +8 -2
  513. homeassistant-stubs/components/notify/repairs.pyi +7 -0
  514. homeassistant-stubs/components/nut/__init__.pyi +11 -2
  515. homeassistant-stubs/components/nut/const.pyi +0 -4
  516. homeassistant-stubs/components/nut/device_action.pyi +4 -3
  517. homeassistant-stubs/components/nut/diagnostics.pyi +3 -4
  518. homeassistant-stubs/components/nut/sensor.pyi +3 -4
  519. homeassistant-stubs/components/onewire/__init__.pyi +5 -4
  520. homeassistant-stubs/components/onewire/binary_sensor.pyi +3 -3
  521. homeassistant-stubs/components/onewire/diagnostics.pyi +2 -4
  522. homeassistant-stubs/components/onewire/sensor.pyi +3 -3
  523. homeassistant-stubs/components/onewire/switch.pyi +3 -3
  524. homeassistant-stubs/components/oralb/sensor.pyi +2 -2
  525. homeassistant-stubs/components/otbr/util.pyi +1 -3
  526. homeassistant-stubs/components/p1_monitor/__init__.pyi +3 -19
  527. homeassistant-stubs/components/p1_monitor/coordinator.pyi +22 -0
  528. homeassistant-stubs/components/p1_monitor/diagnostics.pyi +1 -1
  529. homeassistant-stubs/components/p1_monitor/sensor.pyi +1 -1
  530. homeassistant-stubs/components/pi_hole/__init__.pyi +12 -4
  531. homeassistant-stubs/components/pi_hole/binary_sensor.pyi +3 -5
  532. homeassistant-stubs/components/pi_hole/const.pyi +0 -2
  533. homeassistant-stubs/components/pi_hole/diagnostics.pyi +2 -4
  534. homeassistant-stubs/components/pi_hole/sensor.pyi +3 -5
  535. homeassistant-stubs/components/pi_hole/switch.pyi +3 -4
  536. homeassistant-stubs/components/pi_hole/update.pyi +3 -5
  537. homeassistant-stubs/components/ping/__init__.pyi +6 -6
  538. homeassistant-stubs/components/ping/binary_sensor.pyi +2 -2
  539. homeassistant-stubs/components/ping/device_tracker.pyi +2 -2
  540. homeassistant-stubs/components/ping/sensor.pyi +2 -3
  541. homeassistant-stubs/components/plugwise/__init__.pyi +4 -2
  542. homeassistant-stubs/components/plugwise/binary_sensor.pyi +3 -4
  543. homeassistant-stubs/components/plugwise/climate.pyi +3 -3
  544. homeassistant-stubs/components/plugwise/coordinator.pyi +5 -3
  545. homeassistant-stubs/components/plugwise/diagnostics.pyi +2 -4
  546. homeassistant-stubs/components/plugwise/number.pyi +4 -4
  547. homeassistant-stubs/components/plugwise/select.pyi +4 -4
  548. homeassistant-stubs/components/plugwise/sensor.pyi +3 -4
  549. homeassistant-stubs/components/plugwise/switch.pyi +3 -4
  550. homeassistant-stubs/components/plugwise/util.pyi +2 -6
  551. homeassistant-stubs/components/powerwall/sensor.pyi +10 -9
  552. homeassistant-stubs/components/prometheus/__init__.pyi +2 -3
  553. homeassistant-stubs/components/proximity/__init__.pyi +3 -3
  554. homeassistant-stubs/components/proximity/coordinator.pyi +2 -1
  555. homeassistant-stubs/components/proximity/diagnostics.pyi +2 -4
  556. homeassistant-stubs/components/proximity/sensor.pyi +2 -3
  557. homeassistant-stubs/components/prusalink/__init__.pyi +3 -31
  558. homeassistant-stubs/components/prusalink/button.pyi +3 -1
  559. homeassistant-stubs/components/prusalink/camera.pyi +3 -1
  560. homeassistant-stubs/components/prusalink/coordinator.pyi +34 -0
  561. homeassistant-stubs/components/prusalink/sensor.pyi +3 -1
  562. homeassistant-stubs/components/pure_energie/__init__.pyi +3 -16
  563. homeassistant-stubs/components/pure_energie/coordinator.pyi +19 -0
  564. homeassistant-stubs/components/pure_energie/diagnostics.pyi +1 -1
  565. homeassistant-stubs/components/pure_energie/sensor.pyi +1 -1
  566. homeassistant-stubs/components/rainmachine/__init__.pyi +1 -1
  567. homeassistant-stubs/components/rainmachine/coordinator.pyi +22 -0
  568. homeassistant-stubs/components/rainmachine/switch.pyi +8 -6
  569. homeassistant-stubs/components/rainmachine/util.pyi +1 -17
  570. homeassistant-stubs/components/recorder/core.pyi +5 -4
  571. homeassistant-stubs/components/recorder/executor.pyi +3 -2
  572. homeassistant-stubs/components/recorder/pool.pyi +4 -5
  573. homeassistant-stubs/components/recorder/purge.pyi +2 -1
  574. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +2 -4
  575. homeassistant-stubs/components/recorder/table_managers/event_data.pyi +2 -1
  576. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -1
  577. homeassistant-stubs/components/recorder/table_managers/state_attributes.pyi +2 -1
  578. homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +2 -1
  579. homeassistant-stubs/components/recorder/util.pyi +4 -12
  580. homeassistant-stubs/components/recorder/websocket_api.pyi +4 -1
  581. homeassistant-stubs/components/renault/__init__.pyi +11 -3
  582. homeassistant-stubs/components/renault/binary_sensor.pyi +2 -4
  583. homeassistant-stubs/components/renault/button.pyi +2 -4
  584. homeassistant-stubs/components/renault/device_tracker.pyi +2 -4
  585. homeassistant-stubs/components/renault/diagnostics.pyi +4 -5
  586. homeassistant-stubs/components/renault/renault_vehicle.pyi +2 -4
  587. homeassistant-stubs/components/renault/select.pyi +2 -4
  588. homeassistant-stubs/components/renault/sensor.pyi +2 -4
  589. homeassistant-stubs/components/renault/services.pyi +2 -2
  590. homeassistant-stubs/components/repairs/issue_handler.pyi +0 -1
  591. homeassistant-stubs/components/repairs/websocket_api.pyi +0 -1
  592. homeassistant-stubs/components/rfxtrx/__init__.pyi +1 -2
  593. homeassistant-stubs/components/ring/coordinator.pyi +0 -3
  594. homeassistant-stubs/components/ring/entity.pyi +1 -4
  595. homeassistant-stubs/components/roku/helpers.pyi +0 -3
  596. homeassistant-stubs/components/ruuvitag_ble/sensor.pyi +2 -2
  597. homeassistant-stubs/components/samsungtv/__init__.pyi +5 -3
  598. homeassistant-stubs/components/samsungtv/bridge.pyi +5 -4
  599. homeassistant-stubs/components/samsungtv/config_flow.pyi +1 -0
  600. homeassistant-stubs/components/samsungtv/coordinator.pyi +17 -0
  601. homeassistant-stubs/components/samsungtv/device_trigger.pyi +0 -1
  602. homeassistant-stubs/components/samsungtv/diagnostics.pyi +3 -4
  603. homeassistant-stubs/components/samsungtv/entity.pyi +17 -6
  604. homeassistant-stubs/components/samsungtv/helpers.pyi +2 -0
  605. homeassistant-stubs/components/samsungtv/media_player.pyi +10 -19
  606. homeassistant-stubs/components/samsungtv/remote.pyi +7 -5
  607. homeassistant-stubs/components/scrape/__init__.pyi +2 -1
  608. homeassistant-stubs/components/scrape/sensor.pyi +2 -2
  609. homeassistant-stubs/components/sensibo/__init__.pyi +3 -1
  610. homeassistant-stubs/components/sensibo/binary_sensor.pyi +2 -3
  611. homeassistant-stubs/components/sensibo/button.pyi +2 -3
  612. homeassistant-stubs/components/sensibo/climate.pyi +2 -2
  613. homeassistant-stubs/components/sensibo/coordinator.pyi +3 -2
  614. homeassistant-stubs/components/sensibo/diagnostics.pyi +2 -4
  615. homeassistant-stubs/components/sensibo/entity.pyi +1 -4
  616. homeassistant-stubs/components/sensibo/number.pyi +2 -3
  617. homeassistant-stubs/components/sensibo/select.pyi +2 -2
  618. homeassistant-stubs/components/sensibo/sensor.pyi +2 -3
  619. homeassistant-stubs/components/sensibo/switch.pyi +2 -2
  620. homeassistant-stubs/components/sensibo/update.pyi +2 -3
  621. homeassistant-stubs/components/sensirion_ble/sensor.pyi +2 -2
  622. homeassistant-stubs/components/sensor/__init__.pyi +1 -2
  623. homeassistant-stubs/components/sensor/group.pyi +1 -0
  624. homeassistant-stubs/components/sfr_box/binary_sensor.pyi +1 -4
  625. homeassistant-stubs/components/sfr_box/button.pyi +3 -6
  626. homeassistant-stubs/components/sfr_box/coordinator.pyi +4 -5
  627. homeassistant-stubs/components/sfr_box/sensor.pyi +1 -4
  628. homeassistant-stubs/components/shelly/__init__.pyi +7 -8
  629. homeassistant-stubs/components/shelly/binary_sensor.pyi +2 -2
  630. homeassistant-stubs/components/shelly/button.pyi +4 -7
  631. homeassistant-stubs/components/shelly/climate.pyi +5 -6
  632. homeassistant-stubs/components/shelly/config_flow.pyi +2 -0
  633. homeassistant-stubs/components/shelly/const.pyi +1 -1
  634. homeassistant-stubs/components/shelly/coordinator.pyi +15 -19
  635. homeassistant-stubs/components/shelly/cover.pyi +4 -5
  636. homeassistant-stubs/components/shelly/diagnostics.pyi +2 -3
  637. homeassistant-stubs/components/shelly/entity.pyi +8 -9
  638. homeassistant-stubs/components/shelly/event.pyi +2 -3
  639. homeassistant-stubs/components/shelly/light.pyi +4 -5
  640. homeassistant-stubs/components/shelly/number.pyi +2 -3
  641. homeassistant-stubs/components/shelly/sensor.pyi +2 -3
  642. homeassistant-stubs/components/shelly/switch.pyi +22 -8
  643. homeassistant-stubs/components/shelly/update.pyi +2 -3
  644. homeassistant-stubs/components/shelly/utils.pyi +3 -4
  645. homeassistant-stubs/components/shelly/valve.pyi +3 -4
  646. homeassistant-stubs/components/shopping_list/intent.pyi +4 -0
  647. homeassistant-stubs/components/sleepiq/entity.pyi +1 -2
  648. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  649. homeassistant-stubs/components/speedtestdotnet/__init__.pyi +2 -2
  650. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +4 -3
  651. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
  652. homeassistant-stubs/components/ssdp/__init__.pyi +2 -2
  653. homeassistant-stubs/components/sun/__init__.pyi +4 -4
  654. homeassistant-stubs/components/sun/entity.pyi +2 -0
  655. homeassistant-stubs/components/sun/sensor.pyi +2 -3
  656. homeassistant-stubs/components/surepetcare/__init__.pyi +4 -15
  657. homeassistant-stubs/components/surepetcare/binary_sensor.pyi +1 -1
  658. homeassistant-stubs/components/surepetcare/coordinator.pyi +21 -0
  659. homeassistant-stubs/components/surepetcare/entity.pyi +1 -1
  660. homeassistant-stubs/components/surepetcare/lock.pyi +1 -1
  661. homeassistant-stubs/components/surepetcare/sensor.pyi +1 -1
  662. homeassistant-stubs/components/switchbee/entity.pyi +2 -4
  663. homeassistant-stubs/components/switchbee/switch.pyi +1 -4
  664. homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -1
  665. homeassistant-stubs/components/switchbot_cloud/climate.pyi +1 -1
  666. homeassistant-stubs/components/switchbot_cloud/const.pyi +4 -1
  667. homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +2 -2
  668. homeassistant-stubs/components/switchbot_cloud/sensor.pyi +25 -0
  669. homeassistant-stubs/components/switcher_kis/__init__.pyi +7 -26
  670. homeassistant-stubs/components/switcher_kis/button.pyi +8 -7
  671. homeassistant-stubs/components/switcher_kis/climate.pyi +3 -3
  672. homeassistant-stubs/components/switcher_kis/config_flow.pyi +3 -9
  673. homeassistant-stubs/components/switcher_kis/const.pyi +0 -5
  674. homeassistant-stubs/components/switcher_kis/coordinator.pyi +22 -0
  675. homeassistant-stubs/components/switcher_kis/cover.pyi +1 -2
  676. homeassistant-stubs/components/switcher_kis/diagnostics.pyi +2 -3
  677. homeassistant-stubs/components/switcher_kis/sensor.pyi +1 -1
  678. homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
  679. homeassistant-stubs/components/switcher_kis/utils.pyi +2 -6
  680. homeassistant-stubs/components/synology_dsm/common.pyi +1 -1
  681. homeassistant-stubs/components/synology_dsm/config_flow.pyi +1 -1
  682. homeassistant-stubs/components/synology_dsm/coordinator.pyi +3 -6
  683. homeassistant-stubs/components/synology_dsm/entity.pyi +0 -3
  684. homeassistant-stubs/components/systemmonitor/__init__.pyi +10 -2
  685. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +3 -3
  686. homeassistant-stubs/components/systemmonitor/const.pyi +0 -1
  687. homeassistant-stubs/components/systemmonitor/diagnostics.pyi +2 -4
  688. homeassistant-stubs/components/systemmonitor/sensor.pyi +4 -3
  689. homeassistant-stubs/components/systemmonitor/util.pyi +4 -3
  690. homeassistant-stubs/components/tag/__init__.pyi +44 -4
  691. homeassistant-stubs/components/tag/const.pyi +4 -0
  692. homeassistant-stubs/components/tailwind/__init__.pyi +2 -1
  693. homeassistant-stubs/components/tailwind/binary_sensor.pyi +2 -4
  694. homeassistant-stubs/components/tailwind/button.pyi +2 -3
  695. homeassistant-stubs/components/tailwind/coordinator.pyi +0 -1
  696. homeassistant-stubs/components/tailwind/cover.pyi +2 -3
  697. homeassistant-stubs/components/tailwind/diagnostics.pyi +2 -4
  698. homeassistant-stubs/components/tailwind/number.pyi +2 -3
  699. homeassistant-stubs/components/tailwind/typing.pyi +4 -0
  700. homeassistant-stubs/components/technove/helpers.pyi +1 -4
  701. homeassistant-stubs/components/tedee/__init__.pyi +10 -3
  702. homeassistant-stubs/components/tedee/binary_sensor.pyi +2 -3
  703. homeassistant-stubs/components/tedee/config_flow.pyi +3 -1
  704. homeassistant-stubs/components/tedee/coordinator.pyi +5 -0
  705. homeassistant-stubs/components/tedee/diagnostics.pyi +2 -4
  706. homeassistant-stubs/components/tedee/lock.pyi +6 -3
  707. homeassistant-stubs/components/tedee/sensor.pyi +2 -3
  708. homeassistant-stubs/components/{ambiclimate → thethingsnetwork}/__init__.pyi +5 -4
  709. homeassistant-stubs/components/thethingsnetwork/config_flow.pyi +16 -0
  710. homeassistant-stubs/components/thethingsnetwork/const.pyi +8 -0
  711. homeassistant-stubs/components/thethingsnetwork/coordinator.pyi +16 -0
  712. homeassistant-stubs/components/thethingsnetwork/entity.pyi +22 -0
  713. homeassistant-stubs/components/thethingsnetwork/sensor.pyi +17 -0
  714. homeassistant-stubs/components/tibber/coordinator.pyi +19 -0
  715. homeassistant-stubs/components/tibber/notify.pyi +15 -3
  716. homeassistant-stubs/components/tibber/sensor.pyi +3 -13
  717. homeassistant-stubs/components/tilt_ble/sensor.pyi +2 -2
  718. homeassistant-stubs/components/timer/__init__.pyi +1 -2
  719. homeassistant-stubs/components/todo/intent.pyi +2 -0
  720. homeassistant-stubs/components/tplink/entity.pyi +2 -5
  721. homeassistant-stubs/components/tplink_omada/coordinator.pyi +3 -5
  722. homeassistant-stubs/components/tplink_omada/entity.pyi +2 -5
  723. homeassistant-stubs/components/tractive/__init__.pyi +10 -3
  724. homeassistant-stubs/components/tractive/binary_sensor.pyi +3 -4
  725. homeassistant-stubs/components/tractive/const.pyi +0 -2
  726. homeassistant-stubs/components/tractive/device_tracker.pyi +3 -4
  727. homeassistant-stubs/components/tractive/diagnostics.pyi +2 -3
  728. homeassistant-stubs/components/tractive/sensor.pyi +3 -4
  729. homeassistant-stubs/components/tractive/switch.pyi +3 -4
  730. homeassistant-stubs/components/trafikverket_camera/__init__.pyi +2 -1
  731. homeassistant-stubs/components/trafikverket_camera/binary_sensor.pyi +3 -4
  732. homeassistant-stubs/components/trafikverket_camera/camera.pyi +3 -3
  733. homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +3 -2
  734. homeassistant-stubs/components/trafikverket_camera/sensor.pyi +3 -4
  735. homeassistant-stubs/components/trafikverket_ferry/__init__.pyi +4 -2
  736. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +3 -2
  737. homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +2 -2
  738. homeassistant-stubs/components/trafikverket_train/__init__.pyi +4 -2
  739. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -3
  740. homeassistant-stubs/components/trafikverket_train/sensor.pyi +2 -2
  741. homeassistant-stubs/components/trafikverket_weatherstation/__init__.pyi +4 -2
  742. homeassistant-stubs/components/trafikverket_weatherstation/coordinator.pyi +3 -2
  743. homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +2 -2
  744. homeassistant-stubs/components/twentemilieu/__init__.pyi +4 -1
  745. homeassistant-stubs/components/twentemilieu/calendar.pyi +5 -7
  746. homeassistant-stubs/components/twentemilieu/diagnostics.pyi +0 -4
  747. homeassistant-stubs/components/twentemilieu/entity.pyi +4 -5
  748. homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -2
  749. homeassistant-stubs/components/unifi/__init__.pyi +5 -4
  750. homeassistant-stubs/components/unifi/button.pyi +2 -3
  751. homeassistant-stubs/components/unifi/config_flow.pyi +2 -1
  752. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -3
  753. homeassistant-stubs/components/unifi/diagnostics.pyi +2 -3
  754. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +0 -1
  755. homeassistant-stubs/components/unifi/hub/hub.pyi +3 -5
  756. homeassistant-stubs/components/unifi/image.pyi +2 -2
  757. homeassistant-stubs/components/unifi/sensor.pyi +2 -2
  758. homeassistant-stubs/components/unifi/services.pyi +0 -1
  759. homeassistant-stubs/components/unifi/switch.pyi +3 -3
  760. homeassistant-stubs/components/unifi/update.pyi +2 -3
  761. homeassistant-stubs/components/unifiprotect/entity.pyi +1 -1
  762. homeassistant-stubs/components/unifiprotect/migrate.pyi +1 -1
  763. homeassistant-stubs/components/upcloud/__init__.pyi +2 -9
  764. homeassistant-stubs/components/upcloud/coordinator.pyi +16 -0
  765. homeassistant-stubs/components/vacuum/__init__.pyi +2 -4
  766. homeassistant-stubs/components/vacuum/const.pyi +1 -0
  767. homeassistant-stubs/components/vacuum/group.pyi +1 -1
  768. homeassistant-stubs/components/vallox/__init__.pyi +5 -6
  769. homeassistant-stubs/components/vallox/binary_sensor.pyi +2 -1
  770. homeassistant-stubs/components/vallox/config_flow.pyi +2 -1
  771. homeassistant-stubs/components/vallox/coordinator.pyi +12 -0
  772. homeassistant-stubs/components/vallox/date.pyi +2 -1
  773. homeassistant-stubs/components/vallox/fan.pyi +2 -1
  774. homeassistant-stubs/components/vallox/number.pyi +2 -1
  775. homeassistant-stubs/components/vallox/sensor.pyi +2 -1
  776. homeassistant-stubs/components/vallox/switch.pyi +2 -1
  777. homeassistant-stubs/components/velbus/entity.pyi +2 -4
  778. homeassistant-stubs/components/vlc_telnet/__init__.pyi +10 -3
  779. homeassistant-stubs/components/vlc_telnet/media_player.pyi +6 -6
  780. homeassistant-stubs/components/wallbox/coordinator.pyi +1 -3
  781. homeassistant-stubs/components/waqi/sensor.pyi +3 -6
  782. homeassistant-stubs/components/water_heater/__init__.pyi +2 -3
  783. homeassistant-stubs/components/water_heater/const.pyi +1 -0
  784. homeassistant-stubs/components/water_heater/group.pyi +2 -2
  785. homeassistant-stubs/components/weather/__init__.pyi +8 -7
  786. homeassistant-stubs/components/weather/group.pyi +1 -0
  787. homeassistant-stubs/components/weather/intent.pyi +2 -0
  788. homeassistant-stubs/components/webostv/media_player.pyi +2 -5
  789. homeassistant-stubs/components/websocket_api/commands.pyi +5 -5
  790. homeassistant-stubs/components/websocket_api/connection.pyi +2 -2
  791. homeassistant-stubs/components/websocket_api/const.pyi +5 -3
  792. homeassistant-stubs/components/websocket_api/http.pyi +4 -1
  793. homeassistant-stubs/components/websocket_api/messages.pyi +4 -5
  794. homeassistant-stubs/components/wemo/__init__.pyi +1 -1
  795. homeassistant-stubs/components/wemo/binary_sensor.pyi +1 -1
  796. homeassistant-stubs/components/wemo/config_flow.pyi +1 -1
  797. homeassistant-stubs/components/wemo/device_trigger.pyi +1 -1
  798. homeassistant-stubs/components/wemo/entity.pyi +1 -1
  799. homeassistant-stubs/components/wemo/fan.pyi +1 -1
  800. homeassistant-stubs/components/wemo/light.pyi +1 -1
  801. homeassistant-stubs/components/wemo/models.pyi +3 -3
  802. homeassistant-stubs/components/wemo/sensor.pyi +1 -1
  803. homeassistant-stubs/components/wemo/switch.pyi +1 -1
  804. homeassistant-stubs/components/withings/__init__.pyi +6 -5
  805. homeassistant-stubs/components/withings/binary_sensor.pyi +2 -2
  806. homeassistant-stubs/components/withings/calendar.pyi +2 -3
  807. homeassistant-stubs/components/withings/coordinator.pyi +5 -7
  808. homeassistant-stubs/components/withings/diagnostics.pyi +2 -4
  809. homeassistant-stubs/components/withings/entity.pyi +0 -3
  810. homeassistant-stubs/components/withings/sensor.pyi +3 -7
  811. homeassistant-stubs/components/wled/__init__.pyi +4 -3
  812. homeassistant-stubs/components/wled/binary_sensor.pyi +3 -4
  813. homeassistant-stubs/components/wled/button.pyi +3 -4
  814. homeassistant-stubs/components/wled/diagnostics.pyi +2 -4
  815. homeassistant-stubs/components/wled/helpers.pyi +2 -5
  816. homeassistant-stubs/components/wled/light.pyi +4 -4
  817. homeassistant-stubs/components/wled/number.pyi +4 -4
  818. homeassistant-stubs/components/wled/select.pyi +3 -4
  819. homeassistant-stubs/components/wled/sensor.pyi +3 -4
  820. homeassistant-stubs/components/wled/switch.pyi +4 -4
  821. homeassistant-stubs/components/wled/update.pyi +3 -4
  822. homeassistant-stubs/components/xiaomi_ble/__init__.pyi +1 -1
  823. homeassistant-stubs/components/xiaomi_ble/binary_sensor.pyi +2 -2
  824. homeassistant-stubs/components/xiaomi_ble/coordinator.pyi +4 -4
  825. homeassistant-stubs/components/xiaomi_ble/sensor.pyi +2 -2
  826. homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +4 -2
  827. homeassistant-stubs/components/yale_smart_alarm/alarm_control_panel.pyi +3 -3
  828. homeassistant-stubs/components/yale_smart_alarm/binary_sensor.pyi +2 -3
  829. homeassistant-stubs/components/yale_smart_alarm/button.pyi +4 -3
  830. homeassistant-stubs/components/yale_smart_alarm/const.pyi +0 -1
  831. homeassistant-stubs/components/yale_smart_alarm/diagnostics.pyi +2 -4
  832. homeassistant-stubs/components/yale_smart_alarm/lock.pyi +3 -3
  833. homeassistant-stubs/components/yale_smart_alarm/sensor.pyi +16 -0
  834. homeassistant-stubs/components/yalexs_ble/__init__.pyi +5 -4
  835. homeassistant-stubs/components/yalexs_ble/binary_sensor.pyi +2 -4
  836. homeassistant-stubs/components/yalexs_ble/lock.pyi +2 -4
  837. homeassistant-stubs/components/yalexs_ble/sensor.pyi +2 -3
  838. homeassistant-stubs/components/zwave_js/api.pyi +2 -3
  839. homeassistant-stubs/components/zwave_js/diagnostics.pyi +1 -1
  840. homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +6 -6
  841. homeassistant-stubs/components/zwave_js/services.pyi +6 -8
  842. homeassistant-stubs/config.pyi +2 -1
  843. homeassistant-stubs/config_entries.pyi +18 -11
  844. homeassistant-stubs/const.pyi +5 -1
  845. homeassistant-stubs/core.pyi +19 -19
  846. homeassistant-stubs/data_entry_flow.pyi +0 -1
  847. homeassistant-stubs/generated/bluetooth.pyi +3 -1
  848. homeassistant-stubs/generated/countries.pyi +2 -2
  849. homeassistant-stubs/generated/dhcp.pyi +3 -1
  850. homeassistant-stubs/helpers/aiohttp_client.pyi +3 -2
  851. homeassistant-stubs/helpers/area_registry.pyi +9 -3
  852. homeassistant-stubs/helpers/category_registry.pyi +3 -1
  853. homeassistant-stubs/helpers/collection.pyi +3 -6
  854. homeassistant-stubs/helpers/condition.pyi +5 -5
  855. homeassistant-stubs/helpers/config_entry_flow.pyi +2 -3
  856. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +4 -2
  857. homeassistant-stubs/helpers/config_validation.pyi +5 -5
  858. homeassistant-stubs/helpers/debounce.pyi +1 -4
  859. homeassistant-stubs/helpers/deprecation.pyi +1 -5
  860. homeassistant-stubs/helpers/device_registry.pyi +5 -4
  861. homeassistant-stubs/helpers/discovery.pyi +1 -1
  862. homeassistant-stubs/helpers/discovery_flow.pyi +2 -1
  863. homeassistant-stubs/helpers/dispatcher.pyi +5 -5
  864. homeassistant-stubs/helpers/entity.pyi +6 -5
  865. homeassistant-stubs/helpers/entity_platform.pyi +11 -9
  866. homeassistant-stubs/helpers/entity_registry.pyi +6 -5
  867. homeassistant-stubs/helpers/entity_values.pyi +1 -2
  868. homeassistant-stubs/helpers/entityfilter.pyi +1 -1
  869. homeassistant-stubs/helpers/event.pyi +24 -22
  870. homeassistant-stubs/helpers/floor_registry.pyi +3 -1
  871. homeassistant-stubs/helpers/frame.pyi +2 -4
  872. homeassistant-stubs/helpers/httpx_client.pyi +5 -4
  873. homeassistant-stubs/helpers/icon.pyi +2 -2
  874. homeassistant-stubs/helpers/importlib.pyi +5 -3
  875. homeassistant-stubs/helpers/integration_platform.pyi +2 -1
  876. homeassistant-stubs/helpers/intent.pyi +114 -32
  877. homeassistant-stubs/helpers/issue_registry.pyi +13 -5
  878. homeassistant-stubs/helpers/label_registry.pyi +3 -1
  879. homeassistant-stubs/helpers/llm.pyi +84 -0
  880. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +0 -2
  881. homeassistant-stubs/helpers/ratelimit.pyi +0 -2
  882. homeassistant-stubs/helpers/recorder.pyi +3 -2
  883. homeassistant-stubs/helpers/redact.pyi +1 -3
  884. homeassistant-stubs/helpers/registry.pyi +5 -6
  885. homeassistant-stubs/helpers/restore_state.pyi +3 -1
  886. homeassistant-stubs/helpers/script.pyi +19 -9
  887. homeassistant-stubs/helpers/selector.pyi +4 -5
  888. homeassistant-stubs/helpers/service.pyi +7 -8
  889. homeassistant-stubs/helpers/service_info/mqtt.pyi +1 -2
  890. homeassistant-stubs/helpers/signal.pyi +3 -0
  891. homeassistant-stubs/helpers/significant_change.pyi +7 -3
  892. homeassistant-stubs/helpers/singleton.pyi +5 -2
  893. homeassistant-stubs/helpers/storage.pyi +8 -7
  894. homeassistant-stubs/helpers/sun.pyi +2 -1
  895. homeassistant-stubs/helpers/system_info.pyi +3 -0
  896. homeassistant-stubs/helpers/template.pyi +7 -12
  897. homeassistant-stubs/helpers/trace.pyi +1 -4
  898. homeassistant-stubs/helpers/translation.pyi +9 -3
  899. homeassistant-stubs/helpers/trigger.pyi +5 -2
  900. homeassistant-stubs/helpers/update_coordinator.pyi +1 -2
  901. homeassistant-stubs/loader.pyi +12 -8
  902. homeassistant-stubs/requirements.pyi +1 -0
  903. homeassistant-stubs/scripts/benchmark/__init__.pyi +1 -3
  904. homeassistant-stubs/setup.pyi +12 -10
  905. homeassistant-stubs/util/__init__.pyi +1 -3
  906. homeassistant-stubs/util/async_.pyi +1 -3
  907. homeassistant-stubs/util/collection.pyi +6 -0
  908. homeassistant-stubs/util/decorator.pyi +1 -5
  909. homeassistant-stubs/util/dt.pyi +2 -0
  910. homeassistant-stubs/util/enum.pyi +4 -8
  911. homeassistant-stubs/util/hass_dict.pyi +65 -0
  912. homeassistant-stubs/util/limited_size_dict.pyi +1 -4
  913. homeassistant-stubs/util/logging.pyi +1 -4
  914. homeassistant-stubs/util/loop.pyi +4 -7
  915. homeassistant-stubs/util/percentage.pyi +0 -3
  916. homeassistant-stubs/util/read_only_dict.pyi +3 -3
  917. homeassistant-stubs/util/signal_type.pyi +5 -12
  918. homeassistant-stubs/util/variance.pyi +2 -5
  919. homeassistant-stubs/util/yaml/loader.pyi +6 -0
  920. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0b0.dist-info}/METADATA +2 -2
  921. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0b0.dist-info}/RECORD +926 -851
  922. homeassistant-stubs/auth/session.pyi +0 -46
  923. homeassistant-stubs/components/ambiclimate/climate.pyi +0 -44
  924. homeassistant-stubs/components/ambiclimate/config_flow.pyi +0 -37
  925. homeassistant-stubs/components/ambiclimate/const.pyi +0 -9
  926. homeassistant-stubs/components/anova/util.pyi +0 -3
  927. homeassistant-stubs/components/cloud/util.pyi +0 -7
  928. homeassistant-stubs/components/fritzbox/common.pyi +0 -5
  929. homeassistant-stubs/components/http/session.pyi +0 -29
  930. homeassistant-stubs/components/knx/repairs.pyi +0 -7
  931. homeassistant-stubs/components/poolsense/binary_sensor.pyi +0 -15
  932. homeassistant-stubs/components/poolsense/const.pyi +0 -2
  933. homeassistant-stubs/components/poolsense/coordinator.pyi +0 -16
  934. homeassistant-stubs/components/poolsense/entity.pyi +0 -14
  935. homeassistant-stubs/components/poolsense/sensor.pyi +0 -16
  936. /homeassistant-stubs/components/mikrotik/{hub.pyi → coordinator.pyi} +0 -0
  937. /homeassistant-stubs/components/wemo/{wemo_device.pyi → coordinator.pyi} +0 -0
  938. /homeassistant-stubs/components/wled/{models.pyi → entity.pyi} +0 -0
  939. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0b0.dist-info}/LICENSE +0 -0
  940. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0b0.dist-info}/WHEEL +0 -0
@@ -11,19 +11,15 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
11
11
  from pydeconz.gateway import DeconzSession as DeconzSession
12
12
  from pydeconz.interfaces.sensors import SensorResources
13
13
  from pydeconz.models.event import EventType as EventType
14
- from pydeconz.models.sensor import SensorBase as PydeconzSensorBase
15
- from pydeconz.models.sensor.presence import Presence
16
- from typing import Any, Generic, TypeVar
17
-
18
- T = TypeVar('T', Presence, PydeconzSensorBase)
14
+ from typing import Any
19
15
 
20
16
  @dataclass(frozen=True, kw_only=True)
21
- class DeconzNumberDescription(NumberEntityDescription, Generic[T]):
22
- instance_check: type[T]
17
+ class DeconzNumberDescription(NumberEntityDescription):
18
+ instance_check: type[_T]
23
19
  name_suffix: str
24
20
  set_fn: Callable[[DeconzSession, str, int], Coroutine[Any, Any, dict[str, Any]]]
25
21
  update_key: str
26
- value_fn: Callable[[T], float | None]
22
+ value_fn: Callable[[_T], float | None]
27
23
  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, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step, instance_check, name_suffix, set_fn, update_key, value_fn) -> None: ...
28
24
 
29
25
  ENTITY_DESCRIPTIONS: tuple[DeconzNumberDescription, ...]
@@ -15,8 +15,10 @@ from pydeconz.interfaces.sensors import SensorResources
15
15
  from pydeconz.models.event import EventType as EventType
16
16
  from pydeconz.models.sensor import SensorBase as PydeconzSensorBase
17
17
  from pydeconz.models.sensor.air_quality import AirQuality
18
+ from pydeconz.models.sensor.carbon_dioxide import CarbonDioxide
18
19
  from pydeconz.models.sensor.consumption import Consumption
19
20
  from pydeconz.models.sensor.daylight import Daylight
21
+ from pydeconz.models.sensor.formaldehyde import Formaldehyde
20
22
  from pydeconz.models.sensor.generic_status import GenericStatus
21
23
  from pydeconz.models.sensor.humidity import Humidity
22
24
  from pydeconz.models.sensor.light_level import LightLevel
@@ -33,7 +35,7 @@ ATTR_CURRENT: str
33
35
  ATTR_POWER: str
34
36
  ATTR_DAYLIGHT: str
35
37
  ATTR_EVENT_ID: str
36
- T = TypeVar('T', AirQuality, Consumption, Daylight, GenericStatus, Humidity, LightLevel, Moisture, ParticulateMatter, Power, Pressure, Temperature, Time, PydeconzSensorBase)
38
+ T = TypeVar('T', AirQuality, CarbonDioxide, Consumption, Daylight, Formaldehyde, GenericStatus, Humidity, LightLevel, Moisture, ParticulateMatter, Power, Pressure, Temperature, Time, PydeconzSensorBase)
37
39
 
38
40
  @dataclass(frozen=True, kw_only=True)
39
41
  class DeconzSensorDescription(SensorEntityDescription, Generic[T]):
@@ -4,7 +4,6 @@ from .hub import DeconzHub as DeconzHub
4
4
  from _typeshed import Incomplete
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
6
6
  from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC
7
- from homeassistant.helpers.entity_registry import async_entries_for_config_entry as async_entries_for_config_entry, async_entries_for_device as async_entries_for_device
8
7
  from homeassistant.util.read_only_dict import ReadOnlyDict as ReadOnlyDict
9
8
 
10
9
  DECONZ_SERVICES: str
@@ -20,7 +19,6 @@ SUPPORTED_SERVICES: Incomplete
20
19
  SERVICE_TO_SCHEMA: Incomplete
21
20
 
22
21
  def async_setup_services(hass: HomeAssistant) -> None: ...
23
- def async_unload_services(hass: HomeAssistant) -> None: ...
24
22
  async def async_configure_service(hub: DeconzHub, data: ReadOnlyDict) -> None: ...
25
23
  async def async_refresh_devices_service(hub: DeconzHub) -> None: ...
26
24
  async def async_remove_orphaned_entries_service(hub: DeconzHub) -> None: ...
@@ -5,3 +5,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
5
5
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
6
6
 
7
7
  async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
8
+
9
+ class DemoAlarm(ManualAlarm):
10
+ _attr_unique_id: str
@@ -1,7 +1,7 @@
1
1
  from _typeshed import Incomplete
2
2
  from homeassistant.components.lock import LockEntity as LockEntity, LockEntityFeature as LockEntityFeature
3
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
- from homeassistant.const import STATE_JAMMED as STATE_JAMMED, STATE_LOCKED as STATE_LOCKED, STATE_LOCKING as STATE_LOCKING, STATE_UNLOCKED as STATE_UNLOCKED, STATE_UNLOCKING as STATE_UNLOCKING
4
+ from homeassistant.const import STATE_JAMMED as STATE_JAMMED, STATE_LOCKED as STATE_LOCKED, STATE_LOCKING as STATE_LOCKING, STATE_OPEN as STATE_OPEN, STATE_OPENING as STATE_OPENING, STATE_UNLOCKED as STATE_UNLOCKED, STATE_UNLOCKING as STATE_UNLOCKING
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
7
7
  from typing import Any
@@ -26,6 +26,10 @@ class DemoLock(LockEntity):
26
26
  def is_jammed(self) -> bool: ...
27
27
  @property
28
28
  def is_locked(self) -> bool: ...
29
+ @property
30
+ def is_open(self) -> bool: ...
31
+ @property
32
+ def is_opening(self) -> bool: ...
29
33
  async def async_lock(self, **kwargs: Any) -> None: ...
30
34
  async def async_unlock(self, **kwargs: Any) -> None: ...
31
35
  async def async_open(self, **kwargs: Any) -> None: ...
@@ -1,5 +1,5 @@
1
1
  from _typeshed import Incomplete
2
- from homeassistant.components.notify import DOMAIN as DOMAIN, NotifyEntity as NotifyEntity
2
+ from homeassistant.components.notify import DOMAIN as DOMAIN, NotifyEntity as NotifyEntity, NotifyEntityFeature as NotifyEntityFeature
3
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
4
  from homeassistant.core import HomeAssistant as HomeAssistant
5
5
  from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
@@ -13,6 +13,7 @@ class DemoNotifyEntity(NotifyEntity):
13
13
  _attr_has_entity_name: bool
14
14
  _attr_name: Incomplete
15
15
  _attr_unique_id: Incomplete
16
+ _attr_supported_features: Incomplete
16
17
  _attr_device_info: Incomplete
17
18
  def __init__(self, unique_id: str, device_name: str) -> None: ...
18
- async def async_send_message(self, message: str) -> None: ...
19
+ async def async_send_message(self, message: str, title: str | None = None) -> None: ...
@@ -16,9 +16,9 @@ from homeassistant.helpers import entity_registry as er
16
16
  from homeassistant.helpers.typing import ConfigType as ConfigType
17
17
  from homeassistant.loader import IntegrationNotFound as IntegrationNotFound
18
18
  from homeassistant.requirements import RequirementsNotFound as RequirementsNotFound, async_get_integration_with_requirements as async_get_integration_with_requirements
19
- from typing import Any, Literal, TypeAlias, overload
19
+ from typing import Any, Literal, overload
20
20
 
21
- DeviceAutomationPlatformType: TypeAlias
21
+ DeviceAutomationPlatformType: Incomplete
22
22
  DOMAIN: str
23
23
  CONFIG_SCHEMA: Incomplete
24
24
  DEVICE_TRIGGER_BASE_SCHEMA: vol.Schema
@@ -1,3 +1,4 @@
1
+ from .const import DOMAIN as DOMAIN
1
2
  from homeassistant.components.group import GroupIntegrationRegistry as GroupIntegrationRegistry
2
3
  from homeassistant.const import STATE_HOME as STATE_HOME, STATE_NOT_HOME as STATE_NOT_HOME
3
4
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
@@ -1,4 +1,5 @@
1
- from .const import CONF_MYDEVOLO as CONF_MYDEVOLO, DEFAULT_MYDEVOLO as DEFAULT_MYDEVOLO, DOMAIN as DOMAIN, GATEWAY_SERIAL_PATTERN as GATEWAY_SERIAL_PATTERN, PLATFORMS as PLATFORMS
1
+ from .const import CONF_MYDEVOLO as CONF_MYDEVOLO, DEFAULT_MYDEVOLO as DEFAULT_MYDEVOLO, GATEWAY_SERIAL_PATTERN as GATEWAY_SERIAL_PATTERN, PLATFORMS as PLATFORMS
2
+ from devolo_home_control_api.homecontrol import HomeControl
2
3
  from devolo_home_control_api.mydevolo import Mydevolo
3
4
  from homeassistant.components import zeroconf as zeroconf
4
5
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -9,7 +10,9 @@ from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
9
10
  from types import MappingProxyType
10
11
  from typing import Any
11
12
 
12
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
13
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
13
+ DevoloHomeControlConfigEntry = ConfigEntry[list[HomeControl]]
14
+
15
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry) -> bool: ...
16
+ async def async_unload_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry) -> bool: ...
14
17
  async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: ConfigEntry, device_entry: DeviceEntry) -> bool: ...
15
18
  def configure_mydevolo(conf: dict[str, Any] | MappingProxyType[str, Any]) -> Mydevolo: ...
@@ -1,17 +1,16 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_device import DevoloDeviceEntity as DevoloDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from devolo_home_control_api.devices.zwave import Zwave as Zwave
5
5
  from devolo_home_control_api.homecontrol import HomeControl as HomeControl
6
6
  from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.const import EntityCategory as EntityCategory
9
8
  from homeassistant.core import HomeAssistant as HomeAssistant
10
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
11
10
 
12
11
  DEVICE_CLASS_MAPPING: Incomplete
13
12
 
14
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
13
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
15
14
 
16
15
  class DevoloBinaryDeviceEntity(DevoloDeviceEntity, BinarySensorEntity):
17
16
  _binary_sensor_property: Incomplete
@@ -1,16 +1,15 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_multi_level_switch import DevoloMultiLevelSwitchDeviceEntity as DevoloMultiLevelSwitchDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from devolo_home_control_api.devices.zwave import Zwave as Zwave
5
5
  from devolo_home_control_api.homecontrol import HomeControl as HomeControl
6
6
  from homeassistant.components.climate import ATTR_TEMPERATURE as ATTR_TEMPERATURE, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACMode as HVACMode
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.const import PRECISION_HALVES as PRECISION_HALVES, PRECISION_TENTHS as PRECISION_TENTHS, UnitOfTemperature as UnitOfTemperature
9
8
  from homeassistant.core import HomeAssistant as HomeAssistant
10
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
11
10
  from typing import Any
12
11
 
13
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
12
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
14
13
 
15
14
  class DevoloClimateDeviceEntity(DevoloMultiLevelSwitchDeviceEntity, ClimateEntity):
16
15
  _attr_supported_features: Incomplete
@@ -1,13 +1,12 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_multi_level_switch import DevoloMultiLevelSwitchDeviceEntity as DevoloMultiLevelSwitchDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity, CoverEntityFeature as CoverEntityFeature
5
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
5
  from homeassistant.core import HomeAssistant as HomeAssistant
7
6
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
8
7
  from typing import Any
9
8
 
10
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
9
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
11
10
 
12
11
  class DevoloCoverDeviceEntity(DevoloMultiLevelSwitchDeviceEntity, CoverEntity):
13
12
  _attr_supported_features: Incomplete
@@ -1,12 +1,10 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from _typeshed import Incomplete
3
- from devolo_home_control_api.homecontrol import HomeControl as HomeControl
4
3
  from homeassistant.components.diagnostics import async_redact_data as async_redact_data
5
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
4
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
7
5
  from homeassistant.core import HomeAssistant as HomeAssistant
8
6
  from typing import Any
9
7
 
10
8
  TO_REDACT: Incomplete
11
9
 
12
- async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: ConfigEntry) -> dict[str, Any]: ...
10
+ async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry) -> dict[str, Any]: ...
@@ -1,15 +1,14 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_multi_level_switch import DevoloMultiLevelSwitchDeviceEntity as DevoloMultiLevelSwitchDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from devolo_home_control_api.devices.zwave import Zwave as Zwave
5
5
  from devolo_home_control_api.homecontrol import HomeControl as HomeControl
6
6
  from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ColorMode as ColorMode, LightEntity as LightEntity
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.core import HomeAssistant as HomeAssistant
9
8
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
10
9
  from typing import Any
11
10
 
12
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
11
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
13
12
 
14
13
  class DevoloLightDeviceEntity(DevoloMultiLevelSwitchDeviceEntity, LightEntity):
15
14
  _attr_color_mode: Incomplete
@@ -1,10 +1,9 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_device import DevoloDeviceEntity as DevoloDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from devolo_home_control_api.devices.zwave import Zwave as Zwave
5
5
  from devolo_home_control_api.homecontrol import HomeControl as HomeControl
6
6
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE
9
8
  from homeassistant.core import HomeAssistant as HomeAssistant
10
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -12,7 +11,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
12
11
  DEVICE_CLASS_MAPPING: Incomplete
13
12
  STATE_CLASS_MAPPING: Incomplete
14
13
 
15
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
14
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
16
15
 
17
16
  class DevoloMultiLevelDeviceEntity(DevoloDeviceEntity, SensorEntity):
18
17
  @property
@@ -1,15 +1,14 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_multi_level_switch import DevoloMultiLevelSwitchDeviceEntity as DevoloMultiLevelSwitchDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from devolo_home_control_api.devices.zwave import Zwave as Zwave
5
5
  from devolo_home_control_api.homecontrol import HomeControl as HomeControl
6
6
  from homeassistant.components.siren import ATTR_TONE as ATTR_TONE, SirenEntity as SirenEntity, SirenEntityFeature as SirenEntityFeature
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.core import HomeAssistant as HomeAssistant
9
8
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
10
9
  from typing import Any
11
10
 
12
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
11
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
13
12
 
14
13
  class DevoloSirenDeviceEntity(DevoloMultiLevelSwitchDeviceEntity, SirenEntity):
15
14
  _attr_supported_features: Incomplete
@@ -1,15 +1,14 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeControlConfigEntry as DevoloHomeControlConfigEntry
2
2
  from .devolo_device import DevoloDeviceEntity as DevoloDeviceEntity
3
3
  from _typeshed import Incomplete
4
4
  from devolo_home_control_api.devices.zwave import Zwave as Zwave
5
5
  from devolo_home_control_api.homecontrol import HomeControl as HomeControl
6
6
  from homeassistant.components.switch import SwitchEntity as SwitchEntity
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
7
  from homeassistant.core import HomeAssistant as HomeAssistant
9
8
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
10
9
  from typing import Any
11
10
 
12
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
11
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
13
12
 
14
13
  class DevoloSwitch(DevoloDeviceEntity, SwitchEntity):
15
14
  _attr_name: Incomplete
@@ -1,5 +1,6 @@
1
1
  from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN, FIRMWARE_UPDATE_INTERVAL as FIRMWARE_UPDATE_INTERVAL, LONG_UPDATE_INTERVAL as LONG_UPDATE_INTERVAL, NEIGHBORING_WIFI_NETWORKS as NEIGHBORING_WIFI_NETWORKS, REGULAR_FIRMWARE as REGULAR_FIRMWARE, SHORT_UPDATE_INTERVAL as SHORT_UPDATE_INTERVAL, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI, SWITCH_LEDS as SWITCH_LEDS
2
2
  from _typeshed import Incomplete
3
+ from dataclasses import dataclass
3
4
  from devolo_plc_api import Device
4
5
  from devolo_plc_api.device_api import ConnectedStationInfo as ConnectedStationInfo, NeighborAPInfo as NeighborAPInfo, UpdateFirmwareCheck as UpdateFirmwareCheck, WifiGuestAccessGet as WifiGuestAccessGet
5
6
  from devolo_plc_api.plcnet_api import LogicalNetwork as LogicalNetwork
@@ -11,10 +12,18 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
11
12
  from homeassistant.helpers import device_registry as dr
12
13
  from homeassistant.helpers.httpx_client import get_async_client as get_async_client
13
14
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
15
+ from typing import Any
14
16
 
15
17
  _LOGGER: Incomplete
18
+ DevoloHomeNetworkConfigEntry = ConfigEntry[DevoloHomeNetworkData]
16
19
 
17
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
18
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
20
+ @dataclass
21
+ class DevoloHomeNetworkData:
22
+ device: Device
23
+ coordinators: dict[str, DataUpdateCoordinator[Any]]
24
+ def __init__(self, device, coordinators) -> None: ...
25
+
26
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry) -> bool: ...
27
+ async def async_unload_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry) -> bool: ...
19
28
  def platforms(device: Device) -> set[Platform]: ...
20
29
  def update_sw_version(device_registry: dr.DeviceRegistry, device: Device) -> None: ...
@@ -1,12 +1,11 @@
1
- from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_TO_ROUTER as CONNECTED_TO_ROUTER, DOMAIN as DOMAIN
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
2
+ from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_TO_ROUTER as CONNECTED_TO_ROUTER
2
3
  from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
3
4
  from _typeshed import Incomplete
4
5
  from collections.abc import Callable as Callable
5
6
  from dataclasses import dataclass
6
- from devolo_plc_api import Device as Device
7
7
  from devolo_plc_api.plcnet_api import LogicalNetwork
8
8
  from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
9
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
10
9
  from homeassistant.const import EntityCategory as EntityCategory
11
10
  from homeassistant.core import HomeAssistant as HomeAssistant
12
11
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -21,10 +20,10 @@ class DevoloBinarySensorEntityDescription(BinarySensorEntityDescription):
21
20
 
22
21
  SENSOR_TYPES: dict[str, DevoloBinarySensorEntityDescription]
23
22
 
24
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
23
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
25
24
 
26
25
  class DevoloBinarySensorEntity(DevoloCoordinatorEntity[LogicalNetwork], BinarySensorEntity):
27
26
  entity_description: Incomplete
28
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator[LogicalNetwork], description: DevoloBinarySensorEntityDescription, device: Device) -> None: ...
27
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator[LogicalNetwork], description: DevoloBinarySensorEntityDescription) -> None: ...
29
28
  @property
30
29
  def is_on(self) -> bool: ...
@@ -1,10 +1,10 @@
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
1
2
  from .const import DOMAIN as DOMAIN, IDENTIFY as IDENTIFY, PAIRING as PAIRING, RESTART as RESTART, START_WPS as START_WPS
2
3
  from .entity import DevoloEntity as DevoloEntity
3
4
  from collections.abc import Awaitable, Callable as Callable
4
5
  from dataclasses import dataclass
5
6
  from devolo_plc_api.device import Device as Device
6
7
  from homeassistant.components.button import ButtonDeviceClass as ButtonDeviceClass, ButtonEntity as ButtonEntity, ButtonEntityDescription as ButtonEntityDescription
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
8
  from homeassistant.const import EntityCategory as EntityCategory
9
9
  from homeassistant.core import HomeAssistant as HomeAssistant
10
10
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
@@ -17,9 +17,9 @@ class DevoloButtonEntityDescription(ButtonEntityDescription):
17
17
 
18
18
  BUTTON_TYPES: dict[str, DevoloButtonEntityDescription]
19
19
 
20
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
20
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
21
21
 
22
22
  class DevoloButtonEntity(DevoloEntity, ButtonEntity):
23
23
  entity_description: DevoloButtonEntityDescription
24
- def __init__(self, entry: ConfigEntry, description: DevoloButtonEntityDescription, device: Device) -> None: ...
24
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, description: DevoloButtonEntityDescription) -> None: ...
25
25
  async def async_press(self) -> None: ...
@@ -1,15 +1,15 @@
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
1
2
  from .const import CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN, WIFI_APTYPE as WIFI_APTYPE, WIFI_BANDS as WIFI_BANDS
2
3
  from _typeshed import Incomplete
3
4
  from devolo_plc_api.device import Device as Device
4
5
  from devolo_plc_api.device_api import ConnectedStationInfo
5
6
  from homeassistant.components.device_tracker import ScannerEntity as ScannerEntity, SourceType as SourceType
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
7
  from homeassistant.const import STATE_UNKNOWN as STATE_UNKNOWN, UnitOfFrequency as UnitOfFrequency
8
8
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
9
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
10
10
  from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
11
11
 
12
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
12
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
13
13
 
14
14
  class DevoloScannerEntity(CoordinatorEntity[DataUpdateCoordinator[list[ConnectedStationInfo]]], ScannerEntity):
15
15
  _device: Incomplete
@@ -1,12 +1,10 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
2
2
  from _typeshed import Incomplete
3
- from devolo_plc_api import Device as Device
4
3
  from homeassistant.components.diagnostics import async_redact_data as async_redact_data
5
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
4
  from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD
7
5
  from homeassistant.core import HomeAssistant as HomeAssistant
8
6
  from typing import Any
9
7
 
10
8
  TO_REDACT: Incomplete
11
9
 
12
- async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: ConfigEntry) -> dict[str, Any]: ...
10
+ async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry) -> dict[str, Any]: ...
@@ -1,15 +1,11 @@
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
1
2
  from .const import DOMAIN as DOMAIN
2
3
  from _typeshed import Incomplete
3
- from devolo_plc_api.device import Device as Device
4
- from devolo_plc_api.device_api import ConnectedStationInfo, NeighborAPInfo, WifiGuestAccessGet
5
- from devolo_plc_api.plcnet_api import DataRate, LogicalNetwork
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
4
  from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
8
5
  from homeassistant.helpers.entity import Entity as Entity
9
6
  from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
10
- from typing import TypeVar
11
7
 
12
- _DataT = TypeVar('_DataT', bound=LogicalNetwork | DataRate | list[ConnectedStationInfo] | list[NeighborAPInfo] | WifiGuestAccessGet | bool)
8
+ _DataType: Incomplete
13
9
 
14
10
  class DevoloEntity(Entity):
15
11
  _attr_has_entity_name: bool
@@ -18,7 +14,7 @@ class DevoloEntity(Entity):
18
14
  _attr_device_info: Incomplete
19
15
  _attr_translation_key: Incomplete
20
16
  _attr_unique_id: Incomplete
21
- def __init__(self, entry: ConfigEntry, device: Device) -> None: ...
17
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry) -> None: ...
22
18
 
23
19
  class DevoloCoordinatorEntity(CoordinatorEntity[DataUpdateCoordinator[_DataT]], DevoloEntity):
24
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator[_DataT], device: Device) -> None: ...
20
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator[_DataT]) -> None: ...
@@ -1,12 +1,11 @@
1
- from .const import DOMAIN as DOMAIN, IMAGE_GUEST_WIFI as IMAGE_GUEST_WIFI, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
2
+ from .const import IMAGE_GUEST_WIFI as IMAGE_GUEST_WIFI, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI
2
3
  from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
3
4
  from _typeshed import Incomplete
4
5
  from collections.abc import Callable as Callable
5
6
  from dataclasses import dataclass
6
- from devolo_plc_api import Device as Device
7
7
  from devolo_plc_api.device_api import WifiGuestAccessGet
8
8
  from homeassistant.components.image import ImageEntity as ImageEntity, ImageEntityDescription as ImageEntityDescription
9
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
10
9
  from homeassistant.const import EntityCategory as EntityCategory
11
10
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
12
11
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -19,13 +18,13 @@ class DevoloImageEntityDescription(ImageEntityDescription):
19
18
 
20
19
  IMAGE_TYPES: dict[str, DevoloImageEntityDescription]
21
20
 
22
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
21
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
23
22
 
24
23
  class DevoloImageEntity(DevoloCoordinatorEntity[WifiGuestAccessGet], ImageEntity):
25
24
  _attr_content_type: str
26
25
  entity_description: Incomplete
27
26
  _attr_image_last_updated: Incomplete
28
27
  _data: Incomplete
29
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator[WifiGuestAccessGet], description: DevoloImageEntityDescription, device: Device) -> None: ...
28
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator[WifiGuestAccessGet], description: DevoloImageEntityDescription) -> None: ...
30
29
  def _handle_coordinator_update(self) -> None: ...
31
30
  async def async_image(self) -> bytes | None: ...
@@ -1,14 +1,13 @@
1
- from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, DOMAIN as DOMAIN, NEIGHBORING_WIFI_NETWORKS as NEIGHBORING_WIFI_NETWORKS, PLC_RX_RATE as PLC_RX_RATE, PLC_TX_RATE as PLC_TX_RATE
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
2
+ from .const import CONNECTED_PLC_DEVICES as CONNECTED_PLC_DEVICES, CONNECTED_WIFI_CLIENTS as CONNECTED_WIFI_CLIENTS, NEIGHBORING_WIFI_NETWORKS as NEIGHBORING_WIFI_NETWORKS, PLC_RX_RATE as PLC_RX_RATE, PLC_TX_RATE as PLC_TX_RATE
2
3
  from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
3
4
  from _typeshed import Incomplete
4
5
  from collections.abc import Callable as Callable
5
6
  from dataclasses import dataclass
6
- from devolo_plc_api.device import Device as Device
7
7
  from devolo_plc_api.device_api import ConnectedStationInfo, NeighborAPInfo
8
8
  from devolo_plc_api.plcnet_api import DataRate, LogicalNetwork
9
9
  from enum import StrEnum
10
10
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
11
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
12
11
  from homeassistant.const import EntityCategory as EntityCategory, UnitOfDataRate as UnitOfDataRate
13
12
  from homeassistant.core import HomeAssistant as HomeAssistant
14
13
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -29,11 +28,11 @@ class DevoloSensorEntityDescription(SensorEntityDescription, Generic[_Coordinato
29
28
 
30
29
  SENSOR_TYPES: dict[str, DevoloSensorEntityDescription[Any]]
31
30
 
32
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
31
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
33
32
 
34
33
  class BaseDevoloSensorEntity(DevoloCoordinatorEntity[_CoordinatorDataT], SensorEntity, Generic[_CoordinatorDataT, _ValueDataT]):
35
34
  entity_description: Incomplete
36
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator[_CoordinatorDataT], description: DevoloSensorEntityDescription[_ValueDataT], device: Device) -> None: ...
35
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator[_CoordinatorDataT], description: DevoloSensorEntityDescription[_ValueDataT]) -> None: ...
37
36
 
38
37
  class DevoloSensorEntity(BaseDevoloSensorEntity[_CoordinatorDataT, _CoordinatorDataT]):
39
38
  entity_description: DevoloSensorEntityDescription[_CoordinatorDataT]
@@ -46,6 +45,6 @@ class DevoloPlcDataRateSensorEntity(BaseDevoloSensorEntity[LogicalNetwork, DataR
46
45
  _attr_unique_id: Incomplete
47
46
  _attr_name: Incomplete
48
47
  _attr_entity_registry_enabled_default: Incomplete
49
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator[LogicalNetwork], description: DevoloSensorEntityDescription[DataRate], device: Device, peer: str) -> None: ...
48
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator[LogicalNetwork], description: DevoloSensorEntityDescription[DataRate], peer: str) -> None: ...
50
49
  @property
51
50
  def native_value(self) -> float: ...
@@ -1,3 +1,4 @@
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
1
2
  from .const import DOMAIN as DOMAIN, SWITCH_GUEST_WIFI as SWITCH_GUEST_WIFI, SWITCH_LEDS as SWITCH_LEDS
2
3
  from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
3
4
  from collections.abc import Awaitable, Callable as Callable
@@ -5,7 +6,6 @@ from dataclasses import dataclass
5
6
  from devolo_plc_api.device import Device as Device
6
7
  from devolo_plc_api.device_api import WifiGuestAccessGet
7
8
  from homeassistant.components.switch import SwitchEntity as SwitchEntity, SwitchEntityDescription as SwitchEntityDescription
8
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
9
  from homeassistant.const import EntityCategory as EntityCategory
10
10
  from homeassistant.core import HomeAssistant as HomeAssistant
11
11
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
@@ -24,11 +24,11 @@ class DevoloSwitchEntityDescription(SwitchEntityDescription, Generic[_DataT]):
24
24
 
25
25
  SWITCH_TYPES: dict[str, DevoloSwitchEntityDescription[Any]]
26
26
 
27
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
27
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
28
28
 
29
29
  class DevoloSwitchEntity(DevoloCoordinatorEntity[_DataT], SwitchEntity):
30
30
  entity_description: DevoloSwitchEntityDescription[_DataT]
31
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator[_DataT], description: DevoloSwitchEntityDescription[_DataT], device: Device) -> None: ...
31
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator[_DataT], description: DevoloSwitchEntityDescription[_DataT]) -> None: ...
32
32
  @property
33
33
  def is_on(self) -> bool: ...
34
34
  async def async_turn_on(self, **kwargs: Any) -> None: ...
@@ -1,3 +1,4 @@
1
+ from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
1
2
  from .const import DOMAIN as DOMAIN, REGULAR_FIRMWARE as REGULAR_FIRMWARE
2
3
  from .entity import DevoloCoordinatorEntity as DevoloCoordinatorEntity
3
4
  from _typeshed import Incomplete
@@ -6,7 +7,6 @@ from dataclasses import dataclass
6
7
  from devolo_plc_api.device import Device as Device
7
8
  from devolo_plc_api.device_api import UpdateFirmwareCheck as UpdateFirmwareCheck
8
9
  from homeassistant.components.update import UpdateDeviceClass as UpdateDeviceClass, UpdateEntity as UpdateEntity, UpdateEntityDescription as UpdateEntityDescription, UpdateEntityFeature as UpdateEntityFeature
9
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
10
10
  from homeassistant.const import EntityCategory as EntityCategory
11
11
  from homeassistant.core import HomeAssistant as HomeAssistant
12
12
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
@@ -22,13 +22,13 @@ class DevoloUpdateEntityDescription(UpdateEntityDescription):
22
22
 
23
23
  UPDATE_TYPES: dict[str, DevoloUpdateEntityDescription]
24
24
 
25
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
25
+ async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeNetworkConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
26
26
 
27
27
  class DevoloUpdateEntity(DevoloCoordinatorEntity, UpdateEntity):
28
28
  _attr_supported_features: Incomplete
29
29
  entity_description: DevoloUpdateEntityDescription
30
30
  _in_progress_old_version: Incomplete
31
- def __init__(self, entry: ConfigEntry, coordinator: DataUpdateCoordinator, description: DevoloUpdateEntityDescription, device: Device) -> None: ...
31
+ def __init__(self, entry: DevoloHomeNetworkConfigEntry, coordinator: DataUpdateCoordinator, description: DevoloUpdateEntityDescription) -> None: ...
32
32
  @property
33
33
  def installed_version(self) -> str: ...
34
34
  @property
@@ -10,7 +10,7 @@ from homeassistant.const import EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTA
10
10
  from homeassistant.core import Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, State as State, callback as callback
11
11
  from homeassistant.data_entry_flow import BaseServiceInfo as BaseServiceInfo
12
12
  from homeassistant.helpers import discovery_flow as discovery_flow
13
- from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceRegistry as DeviceRegistry, async_get as async_get, format_mac as format_mac
13
+ from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, format_mac as format_mac
14
14
  from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
15
15
  from homeassistant.helpers.event import async_track_state_added_domain as async_track_state_added_domain, async_track_time_interval as async_track_time_interval
16
16
  from homeassistant.helpers.typing import ConfigType as ConfigType
@@ -1,9 +1,7 @@
1
1
  from .const import REDACTED as REDACTED
2
2
  from collections.abc import Iterable, Mapping
3
3
  from homeassistant.core import callback as callback
4
- from typing import Any, TypeVar, overload
5
-
6
- _T = TypeVar('_T')
4
+ from typing import Any, overload
7
5
 
8
6
  @overload
9
7
  def async_redact_data(data: Mapping, to_redact: Iterable[Any]) -> dict: ...
@@ -1,4 +1,3 @@
1
- from .const import DOMAIN as DOMAIN
2
1
  from .coordinator import DiscovergyUpdateCoordinator as DiscovergyUpdateCoordinator
3
2
  from _typeshed import Incomplete
4
3
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -8,7 +7,8 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
8
7
  from homeassistant.helpers.httpx_client import get_async_client as get_async_client
9
8
 
10
9
  PLATFORMS: Incomplete
10
+ DiscovergyConfigEntry = ConfigEntry[list[DiscovergyUpdateCoordinator]]
11
11
 
12
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
12
+ async def async_setup_entry(hass: HomeAssistant, entry: DiscovergyConfigEntry) -> bool: ...
13
13
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
14
14
  async def async_reload_entry(hass: HomeAssistant, entry: ConfigEntry) -> None: ...