homeassistant-stubs 2024.5.5__py3-none-any.whl → 2024.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (954) 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 +18 -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 +37 -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/aladdin_connect/__init__.pyi +10 -8
  67. homeassistant-stubs/components/aladdin_connect/api.pyi +12 -0
  68. homeassistant-stubs/components/aladdin_connect/application_credentials.pyi +5 -0
  69. homeassistant-stubs/components/aladdin_connect/config_flow.pyi +14 -19
  70. homeassistant-stubs/components/aladdin_connect/const.pyi +2 -10
  71. homeassistant-stubs/components/aladdin_connect/coordinator.pyi +15 -0
  72. homeassistant-stubs/components/aladdin_connect/cover.pyi +11 -28
  73. homeassistant-stubs/components/aladdin_connect/entity.pyi +12 -0
  74. homeassistant-stubs/components/aladdin_connect/sensor.pyi +9 -16
  75. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +15 -1
  76. homeassistant-stubs/components/alarm_control_panel/group.pyi +2 -1
  77. homeassistant-stubs/components/ambient_station/__init__.pyi +3 -2
  78. homeassistant-stubs/components/ambient_station/binary_sensor.pyi +3 -3
  79. homeassistant-stubs/components/ambient_station/diagnostics.pyi +3 -4
  80. homeassistant-stubs/components/ambient_station/sensor.pyi +3 -4
  81. homeassistant-stubs/components/analytics_insights/__init__.pyi +5 -4
  82. homeassistant-stubs/components/analytics_insights/coordinator.pyi +2 -2
  83. homeassistant-stubs/components/analytics_insights/sensor.pyi +2 -3
  84. homeassistant-stubs/components/androidtv/__init__.pyi +12 -4
  85. homeassistant-stubs/components/androidtv/const.pyi +0 -2
  86. homeassistant-stubs/components/androidtv/diagnostics.pyi +3 -3
  87. homeassistant-stubs/components/androidtv/entity.pyi +3 -9
  88. homeassistant-stubs/components/androidtv/media_player.pyi +4 -4
  89. homeassistant-stubs/components/androidtv_remote/__init__.pyi +4 -4
  90. homeassistant-stubs/components/androidtv_remote/config_flow.pyi +1 -0
  91. homeassistant-stubs/components/androidtv_remote/diagnostics.pyi +2 -4
  92. homeassistant-stubs/components/androidtv_remote/media_player.pyi +3 -4
  93. homeassistant-stubs/components/androidtv_remote/remote.pyi +2 -4
  94. homeassistant-stubs/components/anova/__init__.pyi +3 -2
  95. homeassistant-stubs/components/anova/config_flow.pyi +0 -1
  96. homeassistant-stubs/components/anova/coordinator.pyi +7 -6
  97. homeassistant-stubs/components/anova/entity.pyi +2 -0
  98. homeassistant-stubs/components/anova/models.pyi +3 -3
  99. homeassistant-stubs/components/anova/sensor.pyi +7 -9
  100. homeassistant-stubs/components/apple_tv/__init__.pyi +2 -1
  101. homeassistant-stubs/components/apple_tv/media_player.pyi +2 -4
  102. homeassistant-stubs/components/apple_tv/remote.pyi +2 -4
  103. homeassistant-stubs/components/aprs/device_tracker.pyi +1 -0
  104. homeassistant-stubs/components/apsystems/__init__.pyi +10 -0
  105. homeassistant-stubs/components/{poolsense → apsystems}/config_flow.pyi +4 -5
  106. homeassistant-stubs/components/apsystems/const.pyi +4 -0
  107. homeassistant-stubs/components/apsystems/coordinator.pyi +10 -0
  108. homeassistant-stubs/components/apsystems/sensor.pyi +31 -0
  109. homeassistant-stubs/components/aquostv/media_player.pyi +1 -3
  110. homeassistant-stubs/components/aranet/const.pyi +1 -0
  111. homeassistant-stubs/components/aranet/sensor.pyi +8 -6
  112. homeassistant-stubs/components/arcam_fmj/media_player.pyi +1 -3
  113. homeassistant-stubs/components/asuswrt/__init__.pyi +4 -4
  114. homeassistant-stubs/components/asuswrt/bridge.pyi +3 -4
  115. homeassistant-stubs/components/asuswrt/const.pyi +0 -1
  116. homeassistant-stubs/components/asuswrt/device_tracker.pyi +2 -3
  117. homeassistant-stubs/components/asuswrt/diagnostics.pyi +2 -4
  118. homeassistant-stubs/components/asuswrt/router.pyi +2 -1
  119. homeassistant-stubs/components/asuswrt/sensor.pyi +3 -3
  120. homeassistant-stubs/components/auth/__init__.pyi +2 -7
  121. homeassistant-stubs/components/axis/__init__.pyi +2 -1
  122. homeassistant-stubs/components/axis/binary_sensor.pyi +2 -2
  123. homeassistant-stubs/components/axis/camera.pyi +2 -2
  124. homeassistant-stubs/components/axis/config_flow.pyi +2 -0
  125. homeassistant-stubs/components/axis/diagnostics.pyi +2 -3
  126. homeassistant-stubs/components/axis/hub/hub.pyi +3 -5
  127. homeassistant-stubs/components/axis/light.pyi +2 -2
  128. homeassistant-stubs/components/axis/switch.pyi +2 -2
  129. homeassistant-stubs/components/baf/__init__.pyi +6 -5
  130. homeassistant-stubs/components/baf/binary_sensor.pyi +2 -4
  131. homeassistant-stubs/components/baf/climate.pyi +2 -4
  132. homeassistant-stubs/components/baf/fan.pyi +3 -4
  133. homeassistant-stubs/components/baf/light.pyi +2 -4
  134. homeassistant-stubs/components/baf/models.pyi +0 -8
  135. homeassistant-stubs/components/baf/number.pyi +3 -4
  136. homeassistant-stubs/components/baf/sensor.pyi +2 -4
  137. homeassistant-stubs/components/baf/switch.pyi +2 -4
  138. homeassistant-stubs/components/bang_olufsen/entity.pyi +2 -1
  139. homeassistant-stubs/components/bang_olufsen/media_player.pyi +7 -7
  140. homeassistant-stubs/components/blue_current/sensor.pyi +7 -1
  141. homeassistant-stubs/components/blueprint/const.pyi +1 -0
  142. homeassistant-stubs/components/blueprint/schemas.pyi +4 -2
  143. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +2 -3
  144. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +4 -5
  145. homeassistant-stubs/components/bluetooth/api.pyi +1 -0
  146. homeassistant-stubs/components/bluetooth/config_flow.pyi +0 -1
  147. homeassistant-stubs/components/bluetooth/match.pyi +2 -3
  148. homeassistant-stubs/components/bluetooth/models.pyi +0 -2
  149. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +2 -0
  150. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +15 -17
  151. homeassistant-stubs/components/bluetooth/update_coordinator.pyi +0 -2
  152. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -0
  153. homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +3 -10
  154. homeassistant-stubs/components/bond/__init__.pyi +4 -3
  155. homeassistant-stubs/components/bond/button.pyi +2 -4
  156. homeassistant-stubs/components/bond/cover.pyi +2 -4
  157. homeassistant-stubs/components/bond/diagnostics.pyi +2 -4
  158. homeassistant-stubs/components/bond/fan.pyi +3 -4
  159. homeassistant-stubs/components/bond/light.pyi +3 -4
  160. homeassistant-stubs/components/bond/switch.pyi +3 -4
  161. homeassistant-stubs/components/braviatv/__init__.pyi +4 -4
  162. homeassistant-stubs/components/braviatv/button.pyi +2 -3
  163. homeassistant-stubs/components/braviatv/coordinator.pyi +2 -4
  164. homeassistant-stubs/components/braviatv/diagnostics.pyi +2 -4
  165. homeassistant-stubs/components/braviatv/media_player.pyi +3 -3
  166. homeassistant-stubs/components/braviatv/remote.pyi +2 -3
  167. homeassistant-stubs/components/brother/__init__.pyi +5 -13
  168. homeassistant-stubs/components/brother/config_flow.pyi +1 -1
  169. homeassistant-stubs/components/brother/const.pyi +1 -2
  170. homeassistant-stubs/components/brother/coordinator.pyi +12 -0
  171. homeassistant-stubs/components/brother/diagnostics.pyi +2 -4
  172. homeassistant-stubs/components/brother/sensor.pyi +3 -4
  173. homeassistant-stubs/components/bthome/__init__.pyi +1 -1
  174. homeassistant-stubs/components/bthome/binary_sensor.pyi +2 -2
  175. homeassistant-stubs/components/bthome/coordinator.pyi +4 -5
  176. homeassistant-stubs/components/bthome/logbook.pyi +0 -1
  177. homeassistant-stubs/components/bthome/sensor.pyi +2 -2
  178. homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -0
  179. homeassistant-stubs/components/cert_expiry/__init__.pyi +2 -2
  180. homeassistant-stubs/components/cert_expiry/sensor.pyi +3 -3
  181. homeassistant-stubs/components/climate/group.pyi +2 -2
  182. homeassistant-stubs/components/climate/intent.pyi +2 -0
  183. homeassistant-stubs/components/cloud/__init__.pyi +3 -6
  184. homeassistant-stubs/components/cloud/const.pyi +0 -1
  185. homeassistant-stubs/components/cloud/http_api.pyi +4 -7
  186. homeassistant-stubs/components/cloud/prefs.pyi +3 -5
  187. homeassistant-stubs/components/co2signal/__init__.pyi +3 -2
  188. homeassistant-stubs/components/co2signal/diagnostics.pyi +2 -4
  189. homeassistant-stubs/components/co2signal/sensor.pyi +2 -2
  190. homeassistant-stubs/components/config/area_registry.pyi +0 -2
  191. homeassistant-stubs/components/config/device_registry.pyi +1 -1
  192. homeassistant-stubs/components/config/floor_registry.pyi +1 -1
  193. homeassistant-stubs/components/config/label_registry.pyi +1 -1
  194. homeassistant-stubs/components/config/view.pyi +2 -4
  195. homeassistant-stubs/components/counter/__init__.pyi +1 -2
  196. homeassistant-stubs/components/cover/__init__.pyi +2 -4
  197. homeassistant-stubs/components/cover/const.pyi +1 -0
  198. homeassistant-stubs/components/cover/group.pyi +1 -0
  199. homeassistant-stubs/components/deconz/__init__.pyi +6 -1
  200. homeassistant-stubs/components/deconz/binary_sensor.pyi +3 -14
  201. homeassistant-stubs/components/deconz/deconz_device.pyi +2 -6
  202. homeassistant-stubs/components/deconz/device_trigger.pyi +2 -1
  203. homeassistant-stubs/components/deconz/light.pyi +1 -2
  204. homeassistant-stubs/components/deconz/number.pyi +4 -8
  205. homeassistant-stubs/components/deconz/sensor.pyi +3 -1
  206. homeassistant-stubs/components/deconz/services.pyi +0 -2
  207. homeassistant-stubs/components/demo/alarm_control_panel.pyi +3 -0
  208. homeassistant-stubs/components/demo/lock.pyi +5 -1
  209. homeassistant-stubs/components/demo/notify.pyi +3 -2
  210. homeassistant-stubs/components/device_automation/__init__.pyi +2 -2
  211. homeassistant-stubs/components/device_tracker/group.pyi +1 -0
  212. homeassistant-stubs/components/devolo_home_control/__init__.pyi +6 -3
  213. homeassistant-stubs/components/devolo_home_control/binary_sensor.pyi +2 -3
  214. homeassistant-stubs/components/devolo_home_control/climate.pyi +2 -3
  215. homeassistant-stubs/components/devolo_home_control/cover.pyi +2 -3
  216. homeassistant-stubs/components/devolo_home_control/diagnostics.pyi +2 -4
  217. homeassistant-stubs/components/devolo_home_control/light.pyi +2 -3
  218. homeassistant-stubs/components/devolo_home_control/sensor.pyi +2 -3
  219. homeassistant-stubs/components/devolo_home_control/siren.pyi +2 -3
  220. homeassistant-stubs/components/devolo_home_control/switch.pyi +2 -3
  221. homeassistant-stubs/components/devolo_home_network/__init__.pyi +11 -2
  222. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +4 -5
  223. homeassistant-stubs/components/devolo_home_network/button.pyi +3 -3
  224. homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -2
  225. homeassistant-stubs/components/devolo_home_network/diagnostics.pyi +2 -4
  226. homeassistant-stubs/components/devolo_home_network/entity.pyi +4 -8
  227. homeassistant-stubs/components/devolo_home_network/image.pyi +4 -5
  228. homeassistant-stubs/components/devolo_home_network/sensor.pyi +5 -6
  229. homeassistant-stubs/components/devolo_home_network/switch.pyi +3 -3
  230. homeassistant-stubs/components/devolo_home_network/update.pyi +3 -3
  231. homeassistant-stubs/components/dhcp/__init__.pyi +1 -1
  232. homeassistant-stubs/components/diagnostics/util.pyi +1 -3
  233. homeassistant-stubs/components/discovergy/__init__.pyi +2 -2
  234. homeassistant-stubs/components/discovergy/diagnostics.pyi +2 -4
  235. homeassistant-stubs/components/discovergy/sensor.pyi +2 -2
  236. homeassistant-stubs/components/dlna_dmr/media_player.pyi +2 -5
  237. homeassistant-stubs/components/dlna_dms/dms.pyi +1 -4
  238. homeassistant-stubs/components/dnsip/sensor.pyi +2 -0
  239. homeassistant-stubs/components/duotecno/entity.pyi +2 -4
  240. homeassistant-stubs/components/ecovacs/__init__.pyi +3 -2
  241. homeassistant-stubs/components/ecovacs/binary_sensor.pyi +2 -4
  242. homeassistant-stubs/components/ecovacs/button.pyi +3 -4
  243. homeassistant-stubs/components/ecovacs/controller.pyi +4 -1
  244. homeassistant-stubs/components/ecovacs/diagnostics.pyi +3 -4
  245. homeassistant-stubs/components/ecovacs/event.pyi +2 -4
  246. homeassistant-stubs/components/ecovacs/image.pyi +2 -4
  247. homeassistant-stubs/components/ecovacs/lawn_mower.pyi +2 -4
  248. homeassistant-stubs/components/ecovacs/number.pyi +2 -4
  249. homeassistant-stubs/components/ecovacs/select.pyi +2 -4
  250. homeassistant-stubs/components/ecovacs/sensor.pyi +3 -4
  251. homeassistant-stubs/components/ecovacs/switch.pyi +2 -4
  252. homeassistant-stubs/components/ecovacs/vacuum.pyi +2 -3
  253. homeassistant-stubs/components/elgato/__init__.pyi +3 -3
  254. homeassistant-stubs/components/elgato/button.pyi +2 -3
  255. homeassistant-stubs/components/elgato/diagnostics.pyi +2 -4
  256. homeassistant-stubs/components/elgato/light.pyi +3 -3
  257. homeassistant-stubs/components/elgato/sensor.pyi +2 -3
  258. homeassistant-stubs/components/elgato/switch.pyi +2 -3
  259. homeassistant-stubs/components/elkm1/__init__.pyi +3 -2
  260. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +3 -4
  261. homeassistant-stubs/components/elkm1/binary_sensor.pyi +2 -5
  262. homeassistant-stubs/components/elkm1/climate.pyi +2 -5
  263. homeassistant-stubs/components/elkm1/light.pyi +2 -4
  264. homeassistant-stubs/components/elkm1/scene.pyi +2 -5
  265. homeassistant-stubs/components/elkm1/sensor.pyi +3 -5
  266. homeassistant-stubs/components/elkm1/switch.pyi +2 -5
  267. homeassistant-stubs/components/energy/validate.pyi +3 -3
  268. homeassistant-stubs/components/energy/websocket_api.pyi +3 -3
  269. homeassistant-stubs/components/enphase_envoy/config_flow.pyi +1 -0
  270. homeassistant-stubs/components/eq3btsmart/climate.pyi +1 -1
  271. homeassistant-stubs/components/esphome/config_flow.pyi +3 -0
  272. homeassistant-stubs/components/esphome/coordinator.pyi +16 -0
  273. homeassistant-stubs/components/esphome/dashboard.pyi +3 -14
  274. homeassistant-stubs/components/esphome/enum_mapper.pyi +3 -6
  275. homeassistant-stubs/components/esphome/manager.pyi +2 -1
  276. homeassistant-stubs/components/esphome/media_player.pyi +1 -1
  277. homeassistant-stubs/components/esphome/update.pyi +4 -3
  278. homeassistant-stubs/components/esphome/voice_assistant.pyi +5 -1
  279. homeassistant-stubs/components/evil_genius_labs/__init__.pyi +2 -13
  280. homeassistant-stubs/components/evil_genius_labs/coordinator.pyi +17 -0
  281. homeassistant-stubs/components/evil_genius_labs/diagnostics.pyi +1 -1
  282. homeassistant-stubs/components/evil_genius_labs/light.pyi +2 -1
  283. homeassistant-stubs/components/evil_genius_labs/util.pyi +2 -6
  284. homeassistant-stubs/components/evohome/__init__.pyi +1 -1
  285. homeassistant-stubs/components/feedreader/__init__.pyi +4 -46
  286. homeassistant-stubs/components/feedreader/const.pyi +1 -0
  287. homeassistant-stubs/components/feedreader/coordinator.pyi +39 -0
  288. homeassistant-stubs/components/filesize/__init__.pyi +3 -1
  289. homeassistant-stubs/components/filesize/coordinator.pyi +1 -1
  290. homeassistant-stubs/components/filesize/sensor.pyi +4 -4
  291. homeassistant-stubs/components/fitbit/api.pyi +1 -2
  292. homeassistant-stubs/components/fitbit/coordinator.pyi +1 -1
  293. homeassistant-stubs/components/forecast_solar/__init__.pyi +3 -2
  294. homeassistant-stubs/components/forecast_solar/diagnostics.pyi +2 -5
  295. homeassistant-stubs/components/forecast_solar/energy.pyi +1 -1
  296. homeassistant-stubs/components/forecast_solar/sensor.pyi +2 -2
  297. homeassistant-stubs/components/fritz/__init__.pyi +1 -1
  298. homeassistant-stubs/components/fritz/binary_sensor.pyi +4 -3
  299. homeassistant-stubs/components/fritz/button.pyi +4 -3
  300. homeassistant-stubs/components/fritz/const.pyi +0 -3
  301. homeassistant-stubs/components/fritz/{common.pyi → coordinator.pyi} +7 -53
  302. homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
  303. homeassistant-stubs/components/fritz/diagnostics.pyi +1 -1
  304. homeassistant-stubs/components/fritz/entity.pyi +50 -0
  305. homeassistant-stubs/components/fritz/image.pyi +2 -1
  306. homeassistant-stubs/components/fritz/sensor.pyi +4 -3
  307. homeassistant-stubs/components/fritz/services.pyi +2 -2
  308. homeassistant-stubs/components/fritz/switch.pyi +2 -1
  309. homeassistant-stubs/components/fritz/update.pyi +4 -3
  310. homeassistant-stubs/components/fritzbox/__init__.pyi +6 -8
  311. homeassistant-stubs/components/fritzbox/binary_sensor.pyi +2 -3
  312. homeassistant-stubs/components/fritzbox/button.pyi +2 -3
  313. homeassistant-stubs/components/fritzbox/climate.pyi +2 -3
  314. homeassistant-stubs/components/fritzbox/const.pyi +0 -2
  315. homeassistant-stubs/components/fritzbox/coordinator.pyi +10 -7
  316. homeassistant-stubs/components/fritzbox/cover.pyi +2 -3
  317. homeassistant-stubs/components/fritzbox/diagnostics.pyi +2 -4
  318. homeassistant-stubs/components/fritzbox/light.pyi +2 -3
  319. homeassistant-stubs/components/fritzbox/sensor.pyi +2 -3
  320. homeassistant-stubs/components/fritzbox/switch.pyi +2 -3
  321. homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +5 -4
  322. homeassistant-stubs/components/fritzbox_callmonitor/const.pyi +0 -2
  323. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +3 -3
  324. homeassistant-stubs/components/fronius/__init__.pyi +4 -6
  325. homeassistant-stubs/components/fronius/coordinator.pyi +1 -3
  326. homeassistant-stubs/components/{aladdin_connect → fronius}/diagnostics.pyi +2 -4
  327. homeassistant-stubs/components/fronius/sensor.pyi +2 -3
  328. homeassistant-stubs/components/gios/__init__.pyi +10 -10
  329. homeassistant-stubs/components/gios/coordinator.pyi +13 -0
  330. homeassistant-stubs/components/gios/diagnostics.pyi +2 -4
  331. homeassistant-stubs/components/gios/sensor.pyi +3 -3
  332. homeassistant-stubs/components/google/calendar.pyi +2 -29
  333. homeassistant-stubs/components/google/coordinator.pyi +38 -0
  334. homeassistant-stubs/components/group/entity.pyi +5 -2
  335. homeassistant-stubs/components/group/lock.pyi +3 -1
  336. homeassistant-stubs/components/group/registry.pyi +12 -6
  337. homeassistant-stubs/components/group/sensor.pyi +2 -0
  338. homeassistant-stubs/components/guardian/coordinator.pyi +1 -1
  339. homeassistant-stubs/components/guardian/util.pyi +1 -3
  340. homeassistant-stubs/components/history_stats/sensor.pyi +0 -2
  341. homeassistant-stubs/components/holiday/calendar.pyi +11 -1
  342. homeassistant-stubs/components/homeassistant/__init__.pyi +1 -0
  343. homeassistant-stubs/components/homeassistant/triggers/numeric_state.pyi +0 -3
  344. homeassistant-stubs/components/homeassistant_alerts/__init__.pyi +3 -24
  345. homeassistant-stubs/components/homeassistant_alerts/const.pyi +6 -0
  346. homeassistant-stubs/components/homeassistant_alerts/coordinator.pyi +26 -0
  347. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +1 -0
  348. homeassistant-stubs/components/homekit/const.pyi +2 -0
  349. homeassistant-stubs/components/homekit/type_sensors.pyi +3 -1
  350. homeassistant-stubs/components/homekit/util.pyi +2 -1
  351. homeassistant-stubs/components/homewizard/helpers.pyi +1 -4
  352. homeassistant-stubs/components/http/__init__.pyi +6 -7
  353. homeassistant-stubs/components/http/auth.pyi +2 -10
  354. homeassistant-stubs/components/http/ban.pyi +1 -3
  355. homeassistant-stubs/components/http/const.pyi +0 -6
  356. homeassistant-stubs/components/http/data_validator.pyi +2 -4
  357. homeassistant-stubs/components/http/decorators.pyi +2 -5
  358. homeassistant-stubs/components/http/web_runner.pyi +1 -1
  359. homeassistant-stubs/components/humidifier/intent.pyi +4 -0
  360. homeassistant-stubs/components/{poolsense → husqvarna_automower}/__init__.pyi +6 -4
  361. homeassistant-stubs/components/husqvarna_automower/api.pyi +11 -0
  362. homeassistant-stubs/components/husqvarna_automower/application_credentials.pyi +5 -0
  363. homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +29 -0
  364. homeassistant-stubs/components/husqvarna_automower/config_flow.pyi +23 -0
  365. homeassistant-stubs/components/husqvarna_automower/const.pyi +5 -0
  366. homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +20 -0
  367. homeassistant-stubs/components/husqvarna_automower/device_tracker.pyi +21 -0
  368. homeassistant-stubs/components/husqvarna_automower/diagnostics.pyi +17 -0
  369. homeassistant-stubs/components/husqvarna_automower/entity.pyi +20 -0
  370. homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +28 -0
  371. homeassistant-stubs/components/husqvarna_automower/number.pyi +67 -0
  372. homeassistant-stubs/components/husqvarna_automower/select.pyi +25 -0
  373. homeassistant-stubs/components/husqvarna_automower/sensor.pyi +35 -0
  374. homeassistant-stubs/components/husqvarna_automower/switch.pyi +49 -0
  375. homeassistant-stubs/components/hydrawise/binary_sensor.pyi +14 -4
  376. homeassistant-stubs/components/hydrawise/coordinator.pyi +8 -5
  377. homeassistant-stubs/components/hydrawise/entity.pyi +10 -3
  378. homeassistant-stubs/components/hydrawise/sensor.pyi +24 -7
  379. homeassistant-stubs/components/hydrawise/switch.pyi +12 -2
  380. homeassistant-stubs/components/ibeacon/__init__.pyi +5 -3
  381. homeassistant-stubs/components/ibeacon/device_tracker.pyi +3 -3
  382. homeassistant-stubs/components/ibeacon/sensor.pyi +3 -3
  383. homeassistant-stubs/components/idasen_desk/__init__.pyi +2 -12
  384. homeassistant-stubs/components/idasen_desk/coordinator.pyi +19 -0
  385. homeassistant-stubs/components/imgw_pib/__init__.pyi +21 -0
  386. homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +28 -0
  387. homeassistant-stubs/components/imgw_pib/config_flow.pyi +12 -0
  388. homeassistant-stubs/components/imgw_pib/const.pyi +6 -0
  389. homeassistant-stubs/components/imgw_pib/coordinator.pyi +15 -0
  390. homeassistant-stubs/components/imgw_pib/diagnostics.pyi +5 -0
  391. homeassistant-stubs/components/imgw_pib/entity.pyi +10 -0
  392. homeassistant-stubs/components/imgw_pib/sensor.pyi +30 -0
  393. homeassistant-stubs/components/integration/config_flow.pyi +11 -4
  394. homeassistant-stubs/components/integration/sensor.pyi +2 -1
  395. homeassistant-stubs/components/intent/__init__.pyi +8 -16
  396. homeassistant-stubs/components/intent/const.pyi +3 -0
  397. homeassistant-stubs/components/intent/timers.pyi +133 -0
  398. homeassistant-stubs/components/intent_script/__init__.pyi +4 -1
  399. homeassistant-stubs/components/ipp/__init__.pyi +3 -2
  400. homeassistant-stubs/components/ipp/diagnostics.pyi +2 -4
  401. homeassistant-stubs/components/ipp/sensor.pyi +3 -4
  402. homeassistant-stubs/components/jellyfin/config_flow.pyi +11 -2
  403. homeassistant-stubs/components/jellyfin/const.pyi +2 -0
  404. homeassistant-stubs/components/jellyfin/media_source.pyi +4 -2
  405. homeassistant-stubs/components/jewish_calendar/__init__.pyi +11 -10
  406. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +7 -5
  407. homeassistant-stubs/components/jewish_calendar/config_flow.pyi +25 -0
  408. homeassistant-stubs/components/jewish_calendar/const.pyi +9 -0
  409. homeassistant-stubs/components/jewish_calendar/sensor.pyi +7 -7
  410. homeassistant-stubs/components/knx/climate.pyi +3 -0
  411. homeassistant-stubs/components/knx/const.pyi +0 -1
  412. homeassistant-stubs/components/knx/device_trigger.pyi +6 -8
  413. homeassistant-stubs/components/knx/expose.pyi +4 -1
  414. homeassistant-stubs/components/knx/notify.pyi +2 -3
  415. homeassistant-stubs/components/knx/schema.pyi +1 -1
  416. homeassistant-stubs/components/knx/telegrams.pyi +14 -7
  417. homeassistant-stubs/components/knx/trigger.pyi +27 -0
  418. homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -2
  419. homeassistant-stubs/components/lametric/helpers.pyi +1 -4
  420. homeassistant-stubs/components/lcn/helpers.pyi +1 -2
  421. homeassistant-stubs/components/light/intent.pyi +2 -7
  422. homeassistant-stubs/components/linear_garage_door/coordinator.pyi +15 -9
  423. homeassistant-stubs/components/linear_garage_door/cover.pyi +2 -14
  424. homeassistant-stubs/components/linear_garage_door/entity.pyi +17 -0
  425. homeassistant-stubs/components/linear_garage_door/light.pyi +25 -0
  426. homeassistant-stubs/components/local_todo/__init__.pyi +3 -2
  427. homeassistant-stubs/components/local_todo/todo.pyi +3 -3
  428. homeassistant-stubs/components/lock/__init__.pyi +8 -2
  429. homeassistant-stubs/components/lock/const.pyi +1 -0
  430. homeassistant-stubs/components/lock/device_condition.pyi +1 -1
  431. homeassistant-stubs/components/lock/device_trigger.pyi +1 -1
  432. homeassistant-stubs/components/lock/group.pyi +2 -1
  433. homeassistant-stubs/components/lock/reproduce_state.pyi +1 -1
  434. homeassistant-stubs/components/lookin/coordinator.pyi +0 -2
  435. homeassistant-stubs/components/mastodon/notify.pyi +8 -1
  436. homeassistant-stubs/components/matter/api.pyi +1 -2
  437. homeassistant-stubs/components/matter/climate.pyi +3 -2
  438. homeassistant-stubs/components/matter/entity.pyi +1 -9
  439. homeassistant-stubs/components/matter/fan.pyi +44 -0
  440. homeassistant-stubs/components/matter/models.pyi +1 -2
  441. homeassistant-stubs/components/matter/sensor.pyi +2 -0
  442. homeassistant-stubs/components/media_extractor/__init__.pyi +3 -0
  443. homeassistant-stubs/components/media_extractor/config_flow.pyi +8 -0
  444. homeassistant-stubs/components/media_player/__init__.pyi +3 -0
  445. homeassistant-stubs/components/media_player/group.pyi +1 -0
  446. homeassistant-stubs/components/media_player/intent.pyi +27 -1
  447. homeassistant-stubs/components/media_source/__init__.pyi +4 -0
  448. homeassistant-stubs/components/metoffice/weather.pyi +1 -1
  449. homeassistant-stubs/components/mikrotik/__init__.pyi +1 -1
  450. homeassistant-stubs/components/mikrotik/config_flow.pyi +1 -1
  451. homeassistant-stubs/components/mikrotik/device_tracker.pyi +1 -1
  452. homeassistant-stubs/components/monzo/__init__.pyi +13 -0
  453. homeassistant-stubs/components/monzo/api.pyi +9 -0
  454. homeassistant-stubs/components/monzo/application_credentials.pyi +7 -0
  455. homeassistant-stubs/components/monzo/config_flow.pyi +14 -0
  456. homeassistant-stubs/components/monzo/const.pyi +1 -0
  457. homeassistant-stubs/components/monzo/coordinator.pyi +20 -0
  458. homeassistant-stubs/components/monzo/entity.pyi +17 -0
  459. homeassistant-stubs/components/monzo/sensor.pyi +31 -0
  460. homeassistant-stubs/components/mopeka/sensor.pyi +2 -2
  461. homeassistant-stubs/components/motionmount/entity.pyi +3 -0
  462. homeassistant-stubs/components/mqtt/__init__.pyi +10 -10
  463. homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +4 -4
  464. homeassistant-stubs/components/mqtt/binary_sensor.pyi +6 -4
  465. homeassistant-stubs/components/mqtt/button.pyi +4 -3
  466. homeassistant-stubs/components/mqtt/camera.pyi +4 -4
  467. homeassistant-stubs/components/mqtt/client.pyi +29 -21
  468. homeassistant-stubs/components/mqtt/climate.pyi +8 -7
  469. homeassistant-stubs/components/mqtt/config_flow.pyi +0 -1
  470. homeassistant-stubs/components/mqtt/const.pyi +14 -4
  471. homeassistant-stubs/components/mqtt/cover.pyi +7 -5
  472. homeassistant-stubs/components/mqtt/debug_info.pyi +4 -9
  473. homeassistant-stubs/components/mqtt/device_tracker.pyi +6 -5
  474. homeassistant-stubs/components/mqtt/device_trigger.pyi +12 -16
  475. homeassistant-stubs/components/mqtt/diagnostics.pyi +1 -1
  476. homeassistant-stubs/components/mqtt/discovery.pyi +14 -9
  477. homeassistant-stubs/components/mqtt/event.pyi +5 -6
  478. homeassistant-stubs/components/mqtt/fan.pyi +9 -5
  479. homeassistant-stubs/components/mqtt/humidifier.pyi +8 -5
  480. homeassistant-stubs/components/mqtt/image.pyi +6 -6
  481. homeassistant-stubs/components/mqtt/lawn_mower.pyi +4 -4
  482. homeassistant-stubs/components/mqtt/light/schema_basic.pyi +15 -5
  483. homeassistant-stubs/components/mqtt/light/schema_json.pyi +4 -4
  484. homeassistant-stubs/components/mqtt/light/schema_template.pyi +4 -4
  485. homeassistant-stubs/components/mqtt/lock.pyi +9 -4
  486. homeassistant-stubs/components/mqtt/mixins.pyi +35 -41
  487. homeassistant-stubs/components/mqtt/models.pyi +8 -6
  488. homeassistant-stubs/components/mqtt/notify.pyi +5 -4
  489. homeassistant-stubs/components/mqtt/number.pyi +4 -4
  490. homeassistant-stubs/components/mqtt/scene.pyi +4 -3
  491. homeassistant-stubs/components/mqtt/schemas.pyi +16 -0
  492. homeassistant-stubs/components/mqtt/select.pyi +4 -4
  493. homeassistant-stubs/components/mqtt/sensor.pyi +9 -7
  494. homeassistant-stubs/components/mqtt/siren.pyi +4 -4
  495. homeassistant-stubs/components/mqtt/subscription.pyi +17 -13
  496. homeassistant-stubs/components/mqtt/switch.pyi +6 -7
  497. homeassistant-stubs/components/mqtt/tag.pyi +7 -5
  498. homeassistant-stubs/components/mqtt/text.pyi +6 -5
  499. homeassistant-stubs/components/mqtt/trigger.pyi +1 -1
  500. homeassistant-stubs/components/mqtt/update.pyi +6 -5
  501. homeassistant-stubs/components/mqtt/util.pyi +5 -4
  502. homeassistant-stubs/components/mqtt/vacuum.pyi +4 -4
  503. homeassistant-stubs/components/mqtt/valve.pyi +5 -5
  504. homeassistant-stubs/components/mqtt/water_heater.pyi +4 -3
  505. homeassistant-stubs/components/mysensors/__init__.pyi +1 -1
  506. homeassistant-stubs/components/myuplink/application_credentials.pyi +2 -1
  507. homeassistant-stubs/components/myuplink/binary_sensor.pyi +18 -2
  508. homeassistant-stubs/components/myuplink/entity.pyi +5 -0
  509. homeassistant-stubs/components/nam/__init__.pyi +5 -16
  510. homeassistant-stubs/components/nam/button.pyi +2 -4
  511. homeassistant-stubs/components/nam/config_flow.pyi +2 -0
  512. homeassistant-stubs/components/nam/coordinator.pyi +15 -0
  513. homeassistant-stubs/components/nam/diagnostics.pyi +2 -4
  514. homeassistant-stubs/components/nam/sensor.pyi +2 -3
  515. homeassistant-stubs/components/nest/__init__.pyi +2 -2
  516. homeassistant-stubs/components/nest/climate.pyi +2 -2
  517. homeassistant-stubs/components/netatmo/sensor.pyi +1 -1
  518. homeassistant-stubs/components/network/util.pyi +1 -1
  519. homeassistant-stubs/components/nextdns/__init__.pyi +18 -3
  520. homeassistant-stubs/components/nextdns/binary_sensor.pyi +10 -15
  521. homeassistant-stubs/components/nextdns/button.pyi +6 -6
  522. homeassistant-stubs/components/nextdns/diagnostics.pyi +3 -3
  523. homeassistant-stubs/components/nextdns/sensor.pyi +6 -10
  524. homeassistant-stubs/components/nextdns/switch.pyi +11 -15
  525. homeassistant-stubs/components/notify/__init__.pyi +8 -2
  526. homeassistant-stubs/components/notify/repairs.pyi +7 -0
  527. homeassistant-stubs/components/nut/__init__.pyi +11 -2
  528. homeassistant-stubs/components/nut/const.pyi +0 -4
  529. homeassistant-stubs/components/nut/device_action.pyi +4 -3
  530. homeassistant-stubs/components/nut/diagnostics.pyi +3 -4
  531. homeassistant-stubs/components/nut/sensor.pyi +3 -4
  532. homeassistant-stubs/components/onewire/__init__.pyi +5 -4
  533. homeassistant-stubs/components/onewire/binary_sensor.pyi +3 -3
  534. homeassistant-stubs/components/onewire/diagnostics.pyi +2 -4
  535. homeassistant-stubs/components/onewire/sensor.pyi +3 -3
  536. homeassistant-stubs/components/onewire/switch.pyi +3 -3
  537. homeassistant-stubs/components/oralb/sensor.pyi +2 -2
  538. homeassistant-stubs/components/otbr/util.pyi +1 -3
  539. homeassistant-stubs/components/p1_monitor/__init__.pyi +3 -19
  540. homeassistant-stubs/components/p1_monitor/coordinator.pyi +22 -0
  541. homeassistant-stubs/components/p1_monitor/diagnostics.pyi +1 -1
  542. homeassistant-stubs/components/p1_monitor/sensor.pyi +1 -1
  543. homeassistant-stubs/components/pi_hole/__init__.pyi +12 -4
  544. homeassistant-stubs/components/pi_hole/binary_sensor.pyi +3 -5
  545. homeassistant-stubs/components/pi_hole/const.pyi +0 -2
  546. homeassistant-stubs/components/pi_hole/diagnostics.pyi +2 -4
  547. homeassistant-stubs/components/pi_hole/sensor.pyi +3 -5
  548. homeassistant-stubs/components/pi_hole/switch.pyi +3 -4
  549. homeassistant-stubs/components/pi_hole/update.pyi +3 -5
  550. homeassistant-stubs/components/ping/__init__.pyi +6 -6
  551. homeassistant-stubs/components/ping/binary_sensor.pyi +2 -2
  552. homeassistant-stubs/components/ping/device_tracker.pyi +2 -2
  553. homeassistant-stubs/components/ping/sensor.pyi +2 -3
  554. homeassistant-stubs/components/plugwise/__init__.pyi +4 -2
  555. homeassistant-stubs/components/plugwise/binary_sensor.pyi +3 -4
  556. homeassistant-stubs/components/plugwise/climate.pyi +3 -3
  557. homeassistant-stubs/components/plugwise/coordinator.pyi +5 -3
  558. homeassistant-stubs/components/plugwise/diagnostics.pyi +2 -4
  559. homeassistant-stubs/components/plugwise/number.pyi +4 -4
  560. homeassistant-stubs/components/plugwise/select.pyi +4 -4
  561. homeassistant-stubs/components/plugwise/sensor.pyi +3 -4
  562. homeassistant-stubs/components/plugwise/switch.pyi +3 -4
  563. homeassistant-stubs/components/plugwise/util.pyi +2 -6
  564. homeassistant-stubs/components/powerwall/sensor.pyi +10 -9
  565. homeassistant-stubs/components/prometheus/__init__.pyi +2 -3
  566. homeassistant-stubs/components/proximity/__init__.pyi +3 -3
  567. homeassistant-stubs/components/proximity/coordinator.pyi +2 -1
  568. homeassistant-stubs/components/proximity/diagnostics.pyi +2 -4
  569. homeassistant-stubs/components/proximity/sensor.pyi +2 -3
  570. homeassistant-stubs/components/prusalink/__init__.pyi +3 -31
  571. homeassistant-stubs/components/prusalink/button.pyi +3 -1
  572. homeassistant-stubs/components/prusalink/camera.pyi +3 -1
  573. homeassistant-stubs/components/prusalink/coordinator.pyi +34 -0
  574. homeassistant-stubs/components/prusalink/sensor.pyi +3 -1
  575. homeassistant-stubs/components/pure_energie/__init__.pyi +3 -16
  576. homeassistant-stubs/components/pure_energie/coordinator.pyi +19 -0
  577. homeassistant-stubs/components/pure_energie/diagnostics.pyi +1 -1
  578. homeassistant-stubs/components/pure_energie/sensor.pyi +1 -1
  579. homeassistant-stubs/components/rainmachine/__init__.pyi +1 -1
  580. homeassistant-stubs/components/rainmachine/coordinator.pyi +22 -0
  581. homeassistant-stubs/components/rainmachine/switch.pyi +8 -6
  582. homeassistant-stubs/components/rainmachine/util.pyi +1 -17
  583. homeassistant-stubs/components/recorder/core.pyi +5 -4
  584. homeassistant-stubs/components/recorder/executor.pyi +3 -2
  585. homeassistant-stubs/components/recorder/pool.pyi +4 -5
  586. homeassistant-stubs/components/recorder/purge.pyi +2 -1
  587. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +2 -4
  588. homeassistant-stubs/components/recorder/table_managers/event_data.pyi +2 -1
  589. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -1
  590. homeassistant-stubs/components/recorder/table_managers/state_attributes.pyi +2 -1
  591. homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +2 -1
  592. homeassistant-stubs/components/recorder/util.pyi +4 -12
  593. homeassistant-stubs/components/renault/__init__.pyi +11 -3
  594. homeassistant-stubs/components/renault/binary_sensor.pyi +2 -4
  595. homeassistant-stubs/components/renault/button.pyi +2 -4
  596. homeassistant-stubs/components/renault/device_tracker.pyi +2 -4
  597. homeassistant-stubs/components/renault/diagnostics.pyi +4 -5
  598. homeassistant-stubs/components/renault/renault_vehicle.pyi +2 -4
  599. homeassistant-stubs/components/renault/select.pyi +2 -4
  600. homeassistant-stubs/components/renault/sensor.pyi +2 -4
  601. homeassistant-stubs/components/renault/services.pyi +2 -2
  602. homeassistant-stubs/components/repairs/issue_handler.pyi +0 -1
  603. homeassistant-stubs/components/repairs/websocket_api.pyi +0 -1
  604. homeassistant-stubs/components/rfxtrx/__init__.pyi +1 -2
  605. homeassistant-stubs/components/ring/coordinator.pyi +0 -3
  606. homeassistant-stubs/components/ring/entity.pyi +1 -4
  607. homeassistant-stubs/components/roku/helpers.pyi +0 -3
  608. homeassistant-stubs/components/ruuvitag_ble/sensor.pyi +2 -2
  609. homeassistant-stubs/components/samsungtv/__init__.pyi +5 -3
  610. homeassistant-stubs/components/samsungtv/bridge.pyi +6 -4
  611. homeassistant-stubs/components/samsungtv/config_flow.pyi +1 -0
  612. homeassistant-stubs/components/samsungtv/coordinator.pyi +17 -0
  613. homeassistant-stubs/components/samsungtv/device_trigger.pyi +0 -1
  614. homeassistant-stubs/components/samsungtv/diagnostics.pyi +3 -4
  615. homeassistant-stubs/components/samsungtv/entity.pyi +17 -6
  616. homeassistant-stubs/components/samsungtv/helpers.pyi +2 -0
  617. homeassistant-stubs/components/samsungtv/media_player.pyi +10 -19
  618. homeassistant-stubs/components/samsungtv/remote.pyi +7 -5
  619. homeassistant-stubs/components/scrape/__init__.pyi +2 -1
  620. homeassistant-stubs/components/scrape/sensor.pyi +2 -2
  621. homeassistant-stubs/components/sensibo/__init__.pyi +3 -1
  622. homeassistant-stubs/components/sensibo/binary_sensor.pyi +2 -3
  623. homeassistant-stubs/components/sensibo/button.pyi +2 -3
  624. homeassistant-stubs/components/sensibo/climate.pyi +2 -2
  625. homeassistant-stubs/components/sensibo/coordinator.pyi +3 -2
  626. homeassistant-stubs/components/sensibo/diagnostics.pyi +2 -4
  627. homeassistant-stubs/components/sensibo/entity.pyi +1 -4
  628. homeassistant-stubs/components/sensibo/number.pyi +2 -3
  629. homeassistant-stubs/components/sensibo/select.pyi +2 -2
  630. homeassistant-stubs/components/sensibo/sensor.pyi +2 -3
  631. homeassistant-stubs/components/sensibo/switch.pyi +2 -2
  632. homeassistant-stubs/components/sensibo/update.pyi +2 -3
  633. homeassistant-stubs/components/sensirion_ble/sensor.pyi +2 -2
  634. homeassistant-stubs/components/sensor/__init__.pyi +1 -2
  635. homeassistant-stubs/components/sensor/group.pyi +1 -0
  636. homeassistant-stubs/components/sfr_box/binary_sensor.pyi +1 -4
  637. homeassistant-stubs/components/sfr_box/button.pyi +3 -6
  638. homeassistant-stubs/components/sfr_box/coordinator.pyi +4 -5
  639. homeassistant-stubs/components/sfr_box/sensor.pyi +1 -4
  640. homeassistant-stubs/components/shelly/__init__.pyi +7 -8
  641. homeassistant-stubs/components/shelly/binary_sensor.pyi +2 -2
  642. homeassistant-stubs/components/shelly/button.pyi +4 -7
  643. homeassistant-stubs/components/shelly/climate.pyi +5 -6
  644. homeassistant-stubs/components/shelly/config_flow.pyi +2 -0
  645. homeassistant-stubs/components/shelly/const.pyi +1 -1
  646. homeassistant-stubs/components/shelly/coordinator.pyi +15 -19
  647. homeassistant-stubs/components/shelly/cover.pyi +4 -5
  648. homeassistant-stubs/components/shelly/diagnostics.pyi +2 -3
  649. homeassistant-stubs/components/shelly/entity.pyi +8 -9
  650. homeassistant-stubs/components/shelly/event.pyi +2 -3
  651. homeassistant-stubs/components/shelly/light.pyi +4 -5
  652. homeassistant-stubs/components/shelly/number.pyi +2 -3
  653. homeassistant-stubs/components/shelly/sensor.pyi +2 -3
  654. homeassistant-stubs/components/shelly/switch.pyi +22 -8
  655. homeassistant-stubs/components/shelly/update.pyi +2 -3
  656. homeassistant-stubs/components/shelly/utils.pyi +3 -4
  657. homeassistant-stubs/components/shelly/valve.pyi +3 -4
  658. homeassistant-stubs/components/shopping_list/intent.pyi +4 -0
  659. homeassistant-stubs/components/sleepiq/entity.pyi +1 -2
  660. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  661. homeassistant-stubs/components/speedtestdotnet/__init__.pyi +2 -2
  662. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +4 -3
  663. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
  664. homeassistant-stubs/components/ssdp/__init__.pyi +2 -2
  665. homeassistant-stubs/components/sun/__init__.pyi +4 -4
  666. homeassistant-stubs/components/sun/entity.pyi +2 -0
  667. homeassistant-stubs/components/sun/sensor.pyi +2 -3
  668. homeassistant-stubs/components/surepetcare/__init__.pyi +4 -15
  669. homeassistant-stubs/components/surepetcare/binary_sensor.pyi +1 -1
  670. homeassistant-stubs/components/surepetcare/coordinator.pyi +21 -0
  671. homeassistant-stubs/components/surepetcare/entity.pyi +1 -1
  672. homeassistant-stubs/components/surepetcare/lock.pyi +1 -1
  673. homeassistant-stubs/components/surepetcare/sensor.pyi +1 -1
  674. homeassistant-stubs/components/switchbee/entity.pyi +2 -4
  675. homeassistant-stubs/components/switchbee/switch.pyi +1 -4
  676. homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -1
  677. homeassistant-stubs/components/switchbot_cloud/climate.pyi +1 -1
  678. homeassistant-stubs/components/switchbot_cloud/const.pyi +4 -1
  679. homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +2 -2
  680. homeassistant-stubs/components/switchbot_cloud/sensor.pyi +25 -0
  681. homeassistant-stubs/components/switcher_kis/__init__.pyi +7 -26
  682. homeassistant-stubs/components/switcher_kis/button.pyi +8 -7
  683. homeassistant-stubs/components/switcher_kis/climate.pyi +3 -3
  684. homeassistant-stubs/components/switcher_kis/config_flow.pyi +3 -9
  685. homeassistant-stubs/components/switcher_kis/const.pyi +0 -5
  686. homeassistant-stubs/components/switcher_kis/coordinator.pyi +22 -0
  687. homeassistant-stubs/components/switcher_kis/cover.pyi +1 -2
  688. homeassistant-stubs/components/switcher_kis/diagnostics.pyi +2 -3
  689. homeassistant-stubs/components/switcher_kis/sensor.pyi +1 -1
  690. homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
  691. homeassistant-stubs/components/switcher_kis/utils.pyi +2 -6
  692. homeassistant-stubs/components/synology_dsm/common.pyi +1 -1
  693. homeassistant-stubs/components/synology_dsm/config_flow.pyi +1 -1
  694. homeassistant-stubs/components/synology_dsm/coordinator.pyi +3 -6
  695. homeassistant-stubs/components/synology_dsm/entity.pyi +0 -3
  696. homeassistant-stubs/components/systemmonitor/__init__.pyi +10 -2
  697. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +3 -3
  698. homeassistant-stubs/components/systemmonitor/const.pyi +0 -1
  699. homeassistant-stubs/components/systemmonitor/diagnostics.pyi +2 -4
  700. homeassistant-stubs/components/systemmonitor/sensor.pyi +4 -3
  701. homeassistant-stubs/components/systemmonitor/util.pyi +4 -3
  702. homeassistant-stubs/components/tag/__init__.pyi +46 -5
  703. homeassistant-stubs/components/tag/const.pyi +4 -0
  704. homeassistant-stubs/components/tailwind/__init__.pyi +2 -1
  705. homeassistant-stubs/components/tailwind/binary_sensor.pyi +2 -4
  706. homeassistant-stubs/components/tailwind/button.pyi +2 -3
  707. homeassistant-stubs/components/tailwind/coordinator.pyi +0 -1
  708. homeassistant-stubs/components/tailwind/cover.pyi +2 -3
  709. homeassistant-stubs/components/tailwind/diagnostics.pyi +2 -4
  710. homeassistant-stubs/components/tailwind/number.pyi +2 -3
  711. homeassistant-stubs/components/tailwind/typing.pyi +4 -0
  712. homeassistant-stubs/components/technove/helpers.pyi +1 -4
  713. homeassistant-stubs/components/tedee/__init__.pyi +10 -3
  714. homeassistant-stubs/components/tedee/binary_sensor.pyi +2 -3
  715. homeassistant-stubs/components/tedee/config_flow.pyi +3 -1
  716. homeassistant-stubs/components/tedee/coordinator.pyi +5 -0
  717. homeassistant-stubs/components/tedee/diagnostics.pyi +2 -4
  718. homeassistant-stubs/components/tedee/lock.pyi +6 -3
  719. homeassistant-stubs/components/tedee/sensor.pyi +2 -3
  720. homeassistant-stubs/components/{ambiclimate → thethingsnetwork}/__init__.pyi +5 -4
  721. homeassistant-stubs/components/thethingsnetwork/config_flow.pyi +16 -0
  722. homeassistant-stubs/components/thethingsnetwork/const.pyi +8 -0
  723. homeassistant-stubs/components/thethingsnetwork/coordinator.pyi +16 -0
  724. homeassistant-stubs/components/thethingsnetwork/entity.pyi +22 -0
  725. homeassistant-stubs/components/thethingsnetwork/sensor.pyi +17 -0
  726. homeassistant-stubs/components/tibber/coordinator.pyi +19 -0
  727. homeassistant-stubs/components/tibber/notify.pyi +15 -3
  728. homeassistant-stubs/components/tibber/sensor.pyi +3 -13
  729. homeassistant-stubs/components/tilt_ble/sensor.pyi +2 -2
  730. homeassistant-stubs/components/timer/__init__.pyi +1 -2
  731. homeassistant-stubs/components/todo/intent.pyi +2 -0
  732. homeassistant-stubs/components/tplink/entity.pyi +2 -5
  733. homeassistant-stubs/components/tplink_omada/coordinator.pyi +3 -5
  734. homeassistant-stubs/components/tplink_omada/entity.pyi +2 -5
  735. homeassistant-stubs/components/tractive/__init__.pyi +10 -3
  736. homeassistant-stubs/components/tractive/binary_sensor.pyi +3 -4
  737. homeassistant-stubs/components/tractive/const.pyi +0 -2
  738. homeassistant-stubs/components/tractive/device_tracker.pyi +3 -4
  739. homeassistant-stubs/components/tractive/diagnostics.pyi +2 -3
  740. homeassistant-stubs/components/tractive/sensor.pyi +3 -4
  741. homeassistant-stubs/components/tractive/switch.pyi +3 -4
  742. homeassistant-stubs/components/trafikverket_camera/__init__.pyi +2 -1
  743. homeassistant-stubs/components/trafikverket_camera/binary_sensor.pyi +3 -4
  744. homeassistant-stubs/components/trafikverket_camera/camera.pyi +3 -3
  745. homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +3 -2
  746. homeassistant-stubs/components/trafikverket_camera/sensor.pyi +3 -4
  747. homeassistant-stubs/components/trafikverket_ferry/__init__.pyi +4 -2
  748. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +3 -2
  749. homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +2 -2
  750. homeassistant-stubs/components/trafikverket_train/__init__.pyi +4 -2
  751. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -3
  752. homeassistant-stubs/components/trafikverket_train/sensor.pyi +2 -2
  753. homeassistant-stubs/components/trafikverket_weatherstation/__init__.pyi +4 -2
  754. homeassistant-stubs/components/trafikverket_weatherstation/coordinator.pyi +3 -2
  755. homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +2 -2
  756. homeassistant-stubs/components/twentemilieu/__init__.pyi +4 -1
  757. homeassistant-stubs/components/twentemilieu/calendar.pyi +5 -7
  758. homeassistant-stubs/components/twentemilieu/diagnostics.pyi +0 -4
  759. homeassistant-stubs/components/twentemilieu/entity.pyi +4 -5
  760. homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -2
  761. homeassistant-stubs/components/unifi/__init__.pyi +5 -4
  762. homeassistant-stubs/components/unifi/button.pyi +2 -3
  763. homeassistant-stubs/components/unifi/config_flow.pyi +2 -1
  764. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -3
  765. homeassistant-stubs/components/unifi/diagnostics.pyi +2 -3
  766. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +0 -1
  767. homeassistant-stubs/components/unifi/hub/hub.pyi +3 -5
  768. homeassistant-stubs/components/unifi/image.pyi +2 -2
  769. homeassistant-stubs/components/unifi/sensor.pyi +2 -2
  770. homeassistant-stubs/components/unifi/services.pyi +0 -1
  771. homeassistant-stubs/components/unifi/switch.pyi +3 -3
  772. homeassistant-stubs/components/unifi/update.pyi +2 -3
  773. homeassistant-stubs/components/unifiprotect/entity.pyi +1 -1
  774. homeassistant-stubs/components/unifiprotect/migrate.pyi +1 -1
  775. homeassistant-stubs/components/upcloud/__init__.pyi +2 -9
  776. homeassistant-stubs/components/upcloud/coordinator.pyi +16 -0
  777. homeassistant-stubs/components/vacuum/__init__.pyi +2 -4
  778. homeassistant-stubs/components/vacuum/const.pyi +1 -0
  779. homeassistant-stubs/components/vacuum/group.pyi +1 -1
  780. homeassistant-stubs/components/vallox/__init__.pyi +5 -6
  781. homeassistant-stubs/components/vallox/binary_sensor.pyi +2 -1
  782. homeassistant-stubs/components/vallox/config_flow.pyi +2 -1
  783. homeassistant-stubs/components/vallox/coordinator.pyi +12 -0
  784. homeassistant-stubs/components/vallox/date.pyi +2 -1
  785. homeassistant-stubs/components/vallox/fan.pyi +2 -1
  786. homeassistant-stubs/components/vallox/number.pyi +2 -1
  787. homeassistant-stubs/components/vallox/sensor.pyi +2 -1
  788. homeassistant-stubs/components/vallox/switch.pyi +2 -1
  789. homeassistant-stubs/components/velbus/entity.pyi +2 -4
  790. homeassistant-stubs/components/vlc_telnet/__init__.pyi +10 -3
  791. homeassistant-stubs/components/vlc_telnet/media_player.pyi +6 -6
  792. homeassistant-stubs/components/wallbox/coordinator.pyi +1 -3
  793. homeassistant-stubs/components/waqi/sensor.pyi +3 -6
  794. homeassistant-stubs/components/water_heater/__init__.pyi +2 -3
  795. homeassistant-stubs/components/water_heater/const.pyi +1 -0
  796. homeassistant-stubs/components/water_heater/group.pyi +2 -2
  797. homeassistant-stubs/components/weather/__init__.pyi +8 -7
  798. homeassistant-stubs/components/weather/group.pyi +1 -0
  799. homeassistant-stubs/components/weather/intent.pyi +2 -0
  800. homeassistant-stubs/components/webostv/media_player.pyi +2 -5
  801. homeassistant-stubs/components/websocket_api/commands.pyi +5 -5
  802. homeassistant-stubs/components/websocket_api/connection.pyi +2 -2
  803. homeassistant-stubs/components/websocket_api/const.pyi +5 -3
  804. homeassistant-stubs/components/websocket_api/http.pyi +4 -1
  805. homeassistant-stubs/components/websocket_api/messages.pyi +4 -5
  806. homeassistant-stubs/components/wemo/__init__.pyi +1 -1
  807. homeassistant-stubs/components/wemo/binary_sensor.pyi +1 -1
  808. homeassistant-stubs/components/wemo/config_flow.pyi +1 -1
  809. homeassistant-stubs/components/wemo/device_trigger.pyi +1 -1
  810. homeassistant-stubs/components/wemo/entity.pyi +1 -1
  811. homeassistant-stubs/components/wemo/fan.pyi +1 -1
  812. homeassistant-stubs/components/wemo/light.pyi +1 -1
  813. homeassistant-stubs/components/wemo/models.pyi +3 -3
  814. homeassistant-stubs/components/wemo/sensor.pyi +1 -1
  815. homeassistant-stubs/components/wemo/switch.pyi +1 -1
  816. homeassistant-stubs/components/withings/__init__.pyi +6 -5
  817. homeassistant-stubs/components/withings/binary_sensor.pyi +2 -2
  818. homeassistant-stubs/components/withings/calendar.pyi +2 -3
  819. homeassistant-stubs/components/withings/coordinator.pyi +5 -7
  820. homeassistant-stubs/components/withings/diagnostics.pyi +2 -4
  821. homeassistant-stubs/components/withings/entity.pyi +0 -3
  822. homeassistant-stubs/components/withings/sensor.pyi +3 -7
  823. homeassistant-stubs/components/wled/__init__.pyi +4 -3
  824. homeassistant-stubs/components/wled/binary_sensor.pyi +3 -4
  825. homeassistant-stubs/components/wled/button.pyi +3 -4
  826. homeassistant-stubs/components/wled/diagnostics.pyi +2 -4
  827. homeassistant-stubs/components/wled/helpers.pyi +2 -5
  828. homeassistant-stubs/components/wled/light.pyi +4 -4
  829. homeassistant-stubs/components/wled/number.pyi +4 -4
  830. homeassistant-stubs/components/wled/select.pyi +3 -4
  831. homeassistant-stubs/components/wled/sensor.pyi +3 -4
  832. homeassistant-stubs/components/wled/switch.pyi +4 -4
  833. homeassistant-stubs/components/wled/update.pyi +3 -4
  834. homeassistant-stubs/components/xiaomi_ble/__init__.pyi +1 -1
  835. homeassistant-stubs/components/xiaomi_ble/binary_sensor.pyi +2 -2
  836. homeassistant-stubs/components/xiaomi_ble/coordinator.pyi +4 -4
  837. homeassistant-stubs/components/xiaomi_ble/sensor.pyi +2 -2
  838. homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +4 -2
  839. homeassistant-stubs/components/yale_smart_alarm/alarm_control_panel.pyi +3 -3
  840. homeassistant-stubs/components/yale_smart_alarm/binary_sensor.pyi +2 -3
  841. homeassistant-stubs/components/yale_smart_alarm/button.pyi +4 -3
  842. homeassistant-stubs/components/yale_smart_alarm/const.pyi +0 -1
  843. homeassistant-stubs/components/yale_smart_alarm/diagnostics.pyi +2 -4
  844. homeassistant-stubs/components/yale_smart_alarm/lock.pyi +3 -3
  845. homeassistant-stubs/components/yale_smart_alarm/sensor.pyi +16 -0
  846. homeassistant-stubs/components/yalexs_ble/__init__.pyi +5 -4
  847. homeassistant-stubs/components/yalexs_ble/binary_sensor.pyi +2 -4
  848. homeassistant-stubs/components/yalexs_ble/lock.pyi +2 -4
  849. homeassistant-stubs/components/yalexs_ble/sensor.pyi +2 -3
  850. homeassistant-stubs/components/zwave_js/api.pyi +2 -3
  851. homeassistant-stubs/components/zwave_js/diagnostics.pyi +1 -1
  852. homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +6 -6
  853. homeassistant-stubs/components/zwave_js/services.pyi +6 -8
  854. homeassistant-stubs/config.pyi +2 -1
  855. homeassistant-stubs/config_entries.pyi +18 -11
  856. homeassistant-stubs/const.pyi +5 -1
  857. homeassistant-stubs/core.pyi +19 -19
  858. homeassistant-stubs/data_entry_flow.pyi +0 -1
  859. homeassistant-stubs/generated/bluetooth.pyi +3 -1
  860. homeassistant-stubs/generated/countries.pyi +2 -2
  861. homeassistant-stubs/generated/dhcp.pyi +3 -1
  862. homeassistant-stubs/helpers/aiohttp_client.pyi +3 -2
  863. homeassistant-stubs/helpers/area_registry.pyi +9 -3
  864. homeassistant-stubs/helpers/category_registry.pyi +3 -1
  865. homeassistant-stubs/helpers/collection.pyi +3 -6
  866. homeassistant-stubs/helpers/condition.pyi +5 -5
  867. homeassistant-stubs/helpers/config_entry_flow.pyi +2 -3
  868. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +4 -2
  869. homeassistant-stubs/helpers/config_validation.pyi +5 -5
  870. homeassistant-stubs/helpers/debounce.pyi +1 -4
  871. homeassistant-stubs/helpers/deprecation.pyi +1 -5
  872. homeassistant-stubs/helpers/device_registry.pyi +6 -5
  873. homeassistant-stubs/helpers/discovery.pyi +1 -1
  874. homeassistant-stubs/helpers/discovery_flow.pyi +2 -1
  875. homeassistant-stubs/helpers/dispatcher.pyi +5 -5
  876. homeassistant-stubs/helpers/entity.pyi +6 -5
  877. homeassistant-stubs/helpers/entity_platform.pyi +11 -9
  878. homeassistant-stubs/helpers/entity_registry.pyi +6 -5
  879. homeassistant-stubs/helpers/entity_values.pyi +1 -2
  880. homeassistant-stubs/helpers/entityfilter.pyi +1 -1
  881. homeassistant-stubs/helpers/event.pyi +24 -22
  882. homeassistant-stubs/helpers/floor_registry.pyi +3 -1
  883. homeassistant-stubs/helpers/frame.pyi +4 -6
  884. homeassistant-stubs/helpers/httpx_client.pyi +5 -4
  885. homeassistant-stubs/helpers/icon.pyi +2 -2
  886. homeassistant-stubs/helpers/importlib.pyi +5 -3
  887. homeassistant-stubs/helpers/integration_platform.pyi +2 -1
  888. homeassistant-stubs/helpers/intent.pyi +114 -32
  889. homeassistant-stubs/helpers/issue_registry.pyi +13 -5
  890. homeassistant-stubs/helpers/label_registry.pyi +3 -1
  891. homeassistant-stubs/helpers/llm.pyi +87 -0
  892. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +0 -2
  893. homeassistant-stubs/helpers/ratelimit.pyi +0 -2
  894. homeassistant-stubs/helpers/recorder.pyi +3 -2
  895. homeassistant-stubs/helpers/redact.pyi +1 -3
  896. homeassistant-stubs/helpers/registry.pyi +5 -6
  897. homeassistant-stubs/helpers/restore_state.pyi +3 -1
  898. homeassistant-stubs/helpers/script.pyi +19 -9
  899. homeassistant-stubs/helpers/selector.pyi +4 -5
  900. homeassistant-stubs/helpers/service.pyi +8 -8
  901. homeassistant-stubs/helpers/service_info/mqtt.pyi +1 -2
  902. homeassistant-stubs/helpers/signal.pyi +3 -0
  903. homeassistant-stubs/helpers/significant_change.pyi +7 -3
  904. homeassistant-stubs/helpers/singleton.pyi +5 -2
  905. homeassistant-stubs/helpers/storage.pyi +8 -7
  906. homeassistant-stubs/helpers/sun.pyi +2 -1
  907. homeassistant-stubs/helpers/system_info.pyi +3 -0
  908. homeassistant-stubs/helpers/template.pyi +7 -12
  909. homeassistant-stubs/helpers/trace.pyi +1 -4
  910. homeassistant-stubs/helpers/translation.pyi +9 -3
  911. homeassistant-stubs/helpers/trigger.pyi +5 -2
  912. homeassistant-stubs/helpers/update_coordinator.pyi +1 -2
  913. homeassistant-stubs/loader.pyi +12 -8
  914. homeassistant-stubs/requirements.pyi +1 -0
  915. homeassistant-stubs/scripts/benchmark/__init__.pyi +1 -3
  916. homeassistant-stubs/setup.pyi +12 -10
  917. homeassistant-stubs/util/__init__.pyi +1 -3
  918. homeassistant-stubs/util/async_.pyi +1 -3
  919. homeassistant-stubs/util/collection.pyi +6 -0
  920. homeassistant-stubs/util/decorator.pyi +1 -5
  921. homeassistant-stubs/util/dt.pyi +2 -0
  922. homeassistant-stubs/util/enum.pyi +4 -8
  923. homeassistant-stubs/util/hass_dict.pyi +65 -0
  924. homeassistant-stubs/util/limited_size_dict.pyi +1 -4
  925. homeassistant-stubs/util/logging.pyi +1 -4
  926. homeassistant-stubs/util/loop.pyi +4 -7
  927. homeassistant-stubs/util/percentage.pyi +0 -3
  928. homeassistant-stubs/util/read_only_dict.pyi +3 -3
  929. homeassistant-stubs/util/signal_type.pyi +5 -12
  930. homeassistant-stubs/util/variance.pyi +2 -5
  931. homeassistant-stubs/util/yaml/loader.pyi +6 -0
  932. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0.dist-info}/METADATA +2 -2
  933. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0.dist-info}/RECORD +938 -862
  934. homeassistant-stubs/auth/session.pyi +0 -46
  935. homeassistant-stubs/components/aladdin_connect/model.pyi +0 -9
  936. homeassistant-stubs/components/ambiclimate/climate.pyi +0 -44
  937. homeassistant-stubs/components/ambiclimate/config_flow.pyi +0 -37
  938. homeassistant-stubs/components/ambiclimate/const.pyi +0 -9
  939. homeassistant-stubs/components/anova/util.pyi +0 -3
  940. homeassistant-stubs/components/brother/utils.pyi +0 -10
  941. homeassistant-stubs/components/cloud/util.pyi +0 -7
  942. homeassistant-stubs/components/fritzbox/common.pyi +0 -5
  943. homeassistant-stubs/components/http/session.pyi +0 -29
  944. homeassistant-stubs/components/knx/repairs.pyi +0 -7
  945. homeassistant-stubs/components/poolsense/binary_sensor.pyi +0 -15
  946. homeassistant-stubs/components/poolsense/const.pyi +0 -2
  947. homeassistant-stubs/components/poolsense/coordinator.pyi +0 -16
  948. homeassistant-stubs/components/poolsense/entity.pyi +0 -14
  949. homeassistant-stubs/components/poolsense/sensor.pyi +0 -16
  950. /homeassistant-stubs/components/mikrotik/{hub.pyi → coordinator.pyi} +0 -0
  951. /homeassistant-stubs/components/wemo/{wemo_device.pyi → coordinator.pyi} +0 -0
  952. /homeassistant-stubs/components/wled/{models.pyi → entity.pyi} +0 -0
  953. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0.dist-info}/LICENSE +0 -0
  954. {homeassistant_stubs-2024.5.5.dist-info → homeassistant_stubs-2024.6.0.dist-info}/WHEEL +0 -0
@@ -1,14 +1,16 @@
1
- from .const import CLIENT_ID as CLIENT_ID, DOMAIN as DOMAIN
2
- from _typeshed import Incomplete
1
+ from .api import AsyncConfigEntryAuth as AsyncConfigEntryAuth
2
+ from .const import DOMAIN as DOMAIN
3
+ from .coordinator import AladdinConnectCoordinator as AladdinConnectCoordinator
3
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
- from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME, Platform as Platform
5
+ from homeassistant.const import Platform as Platform
5
6
  from homeassistant.core import HomeAssistant as HomeAssistant
6
- from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
7
7
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
8
- from typing import Final
8
+ from homeassistant.helpers.config_entry_oauth2_flow import OAuth2Session as OAuth2Session, async_get_config_entry_implementation as async_get_config_entry_implementation
9
9
 
10
- _LOGGER: Final[Incomplete]
11
10
  PLATFORMS: list[Platform]
11
+ AladdinConnectConfigEntry = ConfigEntry[AladdinConnectCoordinator]
12
12
 
13
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
14
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
13
+ async def async_setup_entry(hass: HomeAssistant, entry: AladdinConnectConfigEntry) -> bool: ...
14
+ async def async_unload_entry(hass: HomeAssistant, entry: AladdinConnectConfigEntry) -> bool: ...
15
+ async def async_migrate_entry(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry) -> bool: ...
16
+ def async_remove_stale_devices(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry) -> None: ...
@@ -0,0 +1,12 @@
1
+ from _typeshed import Incomplete
2
+ from aiohttp import ClientSession as ClientSession
3
+ from genie_partner_sdk.auth import Auth
4
+ from homeassistant.helpers.config_entry_oauth2_flow import OAuth2Session as OAuth2Session
5
+
6
+ API_URL: str
7
+ API_KEY: str
8
+
9
+ class AsyncConfigEntryAuth(Auth):
10
+ _oauth_session: Incomplete
11
+ def __init__(self, websession: ClientSession, oauth_session: OAuth2Session) -> None: ...
12
+ async def async_get_access_token(self) -> str: ...
@@ -0,0 +1,5 @@
1
+ from .const import OAUTH2_AUTHORIZE as OAUTH2_AUTHORIZE, OAUTH2_TOKEN as OAUTH2_TOKEN
2
+ from homeassistant.components.application_credentials import AuthorizationServer as AuthorizationServer
3
+ from homeassistant.core import HomeAssistant as HomeAssistant
4
+
5
+ async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: ...
@@ -1,23 +1,18 @@
1
- from .const import CLIENT_ID as CLIENT_ID, DOMAIN as DOMAIN
2
- from _typeshed import Incomplete
1
+ import logging
2
+ from .const import DOMAIN as DOMAIN
3
3
  from collections.abc import Mapping
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
5
- from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
6
- from homeassistant.core import HomeAssistant as HomeAssistant
7
- from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
8
- from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
4
+ from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlowResult as ConfigFlowResult
5
+ from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_TOKEN as CONF_TOKEN
6
+ from homeassistant.helpers.config_entry_oauth2_flow import AbstractOAuth2FlowHandler as AbstractOAuth2FlowHandler
9
7
  from typing import Any
10
8
 
11
- STEP_USER_DATA_SCHEMA: Incomplete
12
- REAUTH_SCHEMA: Incomplete
13
-
14
- async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> None: ...
15
-
16
- class AladdinConnectConfigFlow(ConfigFlow, domain=DOMAIN):
9
+ class AladdinConnectOAuth2FlowHandler(AbstractOAuth2FlowHandler, domain=DOMAIN):
10
+ DOMAIN = DOMAIN
17
11
  VERSION: int
18
- entry: ConfigEntry | None
19
- async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
20
- async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
21
- async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
22
-
23
- class InvalidAuth(HomeAssistantError): ...
12
+ MINOR_VERSION: int
13
+ reauth_entry: ConfigEntry | None
14
+ async def async_step_reauth(self, user_input: Mapping[str, Any]) -> ConfigFlowResult: ...
15
+ async def async_step_reauth_confirm(self, user_input: Mapping[str, Any] | None = None) -> ConfigFlowResult: ...
16
+ async def async_oauth_create_entry(self, data: dict[str, Any]) -> ConfigFlowResult: ...
17
+ @property
18
+ def logger(self) -> logging.Logger: ...
@@ -1,11 +1,3 @@
1
- from _typeshed import Incomplete
2
- from homeassistant.components.cover import CoverEntityFeature as CoverEntityFeature
3
- from homeassistant.const import STATE_CLOSED as STATE_CLOSED, STATE_CLOSING as STATE_CLOSING, STATE_OPEN as STATE_OPEN, STATE_OPENING as STATE_OPENING
4
- from typing import Final
5
-
6
- NOTIFICATION_ID: Final[str]
7
- NOTIFICATION_TITLE: Final[str]
8
- STATES_MAP: Final[dict[str, str]]
9
1
  DOMAIN: str
10
- SUPPORTED_FEATURES: Final[Incomplete]
11
- CLIENT_ID: str
2
+ OAUTH2_AUTHORIZE: str
3
+ OAUTH2_TOKEN: str
@@ -0,0 +1,15 @@
1
+ from .const import DOMAIN as DOMAIN
2
+ from _typeshed import Incomplete
3
+ from genie_partner_sdk.client import AladdinConnectClient as AladdinConnectClient
4
+ from genie_partner_sdk.model import GarageDoor as GarageDoor
5
+ from homeassistant.core import HomeAssistant as HomeAssistant
6
+ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
7
+
8
+ _LOGGER: Incomplete
9
+
10
+ class AladdinConnectCoordinator(DataUpdateCoordinator[None]):
11
+ acc: Incomplete
12
+ doors: Incomplete
13
+ def __init__(self, hass: HomeAssistant, acc: AladdinConnectClient) -> None: ...
14
+ async def async_setup(self) -> None: ...
15
+ async def _async_update_data(self) -> None: ...
@@ -1,42 +1,25 @@
1
- from .const import DOMAIN as DOMAIN, STATES_MAP as STATES_MAP, SUPPORTED_FEATURES as SUPPORTED_FEATURES
2
- from .model import DoorDevice as DoorDevice
3
- from AIOAladdinConnect import AladdinConnectClient as AladdinConnectClient
1
+ from . import AladdinConnectConfigEntry as AladdinConnectConfigEntry, AladdinConnectCoordinator as AladdinConnectCoordinator
2
+ from .entity import AladdinConnectEntity as AladdinConnectEntity
4
3
  from _typeshed import Incomplete
5
- from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
- from homeassistant.const import STATE_CLOSED as STATE_CLOSED, STATE_CLOSING as STATE_CLOSING, STATE_OPENING as STATE_OPENING
4
+ from genie_partner_sdk.model import GarageDoor as GarageDoor
5
+ from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity, CoverEntityFeature as CoverEntityFeature
8
6
  from homeassistant.core import HomeAssistant as HomeAssistant
9
- from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, PlatformNotReady as PlatformNotReady
10
- from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
11
7
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
12
8
  from typing import Any
13
9
 
14
- SCAN_INTERVAL: Incomplete
10
+ async def async_setup_entry(hass: HomeAssistant, config_entry: AladdinConnectConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
15
11
 
16
- async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
17
- def remove_stale_devices(hass: HomeAssistant, config_entry: ConfigEntry, devices: list[dict]) -> None: ...
18
-
19
- class AladdinDevice(CoverEntity):
12
+ class AladdinDevice(AladdinConnectEntity, CoverEntity):
20
13
  _attr_device_class: Incomplete
21
- _attr_supported_features = SUPPORTED_FEATURES
22
- _attr_has_entity_name: bool
14
+ _attr_supported_features: Incomplete
23
15
  _attr_name: Incomplete
24
- _acc: Incomplete
25
- _device_id: Incomplete
26
- _number: Incomplete
27
- _serial: Incomplete
28
- _attr_device_info: Incomplete
29
16
  _attr_unique_id: Incomplete
30
- def __init__(self, acc: AladdinConnectClient, device: DoorDevice, entry: ConfigEntry) -> None: ...
31
- async def async_added_to_hass(self) -> None: ...
32
- async def async_will_remove_from_hass(self) -> None: ...
33
- async def async_close_cover(self, **kwargs: Any) -> None: ...
17
+ def __init__(self, coordinator: AladdinConnectCoordinator, device: GarageDoor) -> None: ...
34
18
  async def async_open_cover(self, **kwargs: Any) -> None: ...
35
- _attr_available: bool
36
- async def async_update(self) -> None: ...
19
+ async def async_close_cover(self, **kwargs: Any) -> None: ...
37
20
  @property
38
21
  def is_closed(self) -> bool | None: ...
39
22
  @property
40
- def is_closing(self) -> bool: ...
23
+ def is_closing(self) -> bool | None: ...
41
24
  @property
42
- def is_opening(self) -> bool: ...
25
+ def is_opening(self) -> bool | None: ...
@@ -0,0 +1,12 @@
1
+ from .const import DOMAIN as DOMAIN
2
+ from .coordinator import AladdinConnectCoordinator as AladdinConnectCoordinator
3
+ from _typeshed import Incomplete
4
+ from genie_partner_sdk.model import GarageDoor as GarageDoor
5
+ from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
6
+ from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
7
+
8
+ class AladdinConnectEntity(CoordinatorEntity[AladdinConnectCoordinator]):
9
+ _attr_has_entity_name: bool
10
+ _device: Incomplete
11
+ _attr_device_info: Incomplete
12
+ def __init__(self, coordinator: AladdinConnectCoordinator, device: GarageDoor) -> None: ...
@@ -1,34 +1,27 @@
1
- from .const import DOMAIN as DOMAIN
2
- from .model import DoorDevice as DoorDevice
3
- from AIOAladdinConnect import AladdinConnectClient
1
+ from . import AladdinConnectConfigEntry as AladdinConnectConfigEntry, AladdinConnectCoordinator as AladdinConnectCoordinator
2
+ from .entity import AladdinConnectEntity as AladdinConnectEntity
4
3
  from _typeshed import Incomplete
5
4
  from collections.abc import Callable as Callable
6
5
  from dataclasses import dataclass
6
+ from genie_partner_sdk.client import AladdinConnectClient
7
+ from genie_partner_sdk.model import GarageDoor as GarageDoor
7
8
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
8
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
- from homeassistant.const import PERCENTAGE as PERCENTAGE, SIGNAL_STRENGTH_DECIBELS as SIGNAL_STRENGTH_DECIBELS
9
+ from homeassistant.const import PERCENTAGE as PERCENTAGE
10
10
  from homeassistant.core import HomeAssistant as HomeAssistant
11
- from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
12
11
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
13
12
 
14
13
  @dataclass(frozen=True, kw_only=True)
15
14
  class AccSensorEntityDescription(SensorEntityDescription):
16
- value_fn: Callable
15
+ value_fn: Callable[[AladdinConnectClient, str, int], float | None]
17
16
  def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value_fn) -> None: ...
18
17
 
19
18
  SENSORS: tuple[AccSensorEntityDescription, ...]
20
19
 
21
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
20
+ async def async_setup_entry(hass: HomeAssistant, entry: AladdinConnectConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
22
21
 
23
- class AladdinConnectSensor(SensorEntity):
22
+ class AladdinConnectSensor(AladdinConnectEntity, SensorEntity):
24
23
  entity_description: AccSensorEntityDescription
25
- _attr_has_entity_name: bool
26
- _device_id: Incomplete
27
- _number: Incomplete
28
- _acc: Incomplete
29
24
  _attr_unique_id: Incomplete
30
- _attr_device_info: Incomplete
31
- _attr_entity_registry_enabled_default: bool
32
- def __init__(self, acc: AladdinConnectClient, device: DoorDevice, description: AccSensorEntityDescription) -> None: ...
25
+ def __init__(self, coordinator: AladdinConnectCoordinator, device: GarageDoor, description: AccSensorEntityDescription) -> None: ...
33
26
  @property
34
27
  def native_value(self) -> float | None: ...
@@ -3,7 +3,8 @@ from _typeshed import Incomplete
3
3
  from functools import cached_property as cached_property
4
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
5
  from homeassistant.const import ATTR_CODE as ATTR_CODE, ATTR_CODE_FORMAT as ATTR_CODE_FORMAT, SERVICE_ALARM_ARM_AWAY as SERVICE_ALARM_ARM_AWAY, SERVICE_ALARM_ARM_CUSTOM_BYPASS as SERVICE_ALARM_ARM_CUSTOM_BYPASS, SERVICE_ALARM_ARM_HOME as SERVICE_ALARM_ARM_HOME, SERVICE_ALARM_ARM_NIGHT as SERVICE_ALARM_ARM_NIGHT, SERVICE_ALARM_ARM_VACATION as SERVICE_ALARM_ARM_VACATION, SERVICE_ALARM_DISARM as SERVICE_ALARM_DISARM, SERVICE_ALARM_TRIGGER as SERVICE_ALARM_TRIGGER
6
- from homeassistant.core import HomeAssistant as HomeAssistant
6
+ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
7
+ from homeassistant.exceptions import ServiceValidationError as ServiceValidationError
7
8
  from homeassistant.helpers.config_validation import make_entity_service_schema as make_entity_service_schema
8
9
  from homeassistant.helpers.deprecation import all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
9
10
  from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
@@ -14,6 +15,7 @@ from typing import Any, Final
14
15
  _LOGGER: Final[Incomplete]
15
16
  SCAN_INTERVAL: Final[Incomplete]
16
17
  ENTITY_ID_FORMAT: Final[Incomplete]
18
+ CONF_DEFAULT_CODE: str
17
19
  ALARM_SERVICE_SCHEMA: Final[Incomplete]
18
20
  PLATFORM_SCHEMA: Final[Incomplete]
19
21
  PLATFORM_SCHEMA_BASE: Final[Incomplete]
@@ -33,30 +35,42 @@ class AlarmControlPanelEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_A
33
35
  _attr_code_arm_required: bool
34
36
  _attr_code_format: CodeFormat | None
35
37
  _attr_supported_features: AlarmControlPanelEntityFeature
38
+ _alarm_control_panel_option_default_code: str | None
39
+ def code_or_default_code(self, code: str | None) -> str | None: ...
36
40
  @cached_property
37
41
  def code_format(self) -> CodeFormat | None: ...
38
42
  @cached_property
39
43
  def changed_by(self) -> str | None: ...
40
44
  @cached_property
41
45
  def code_arm_required(self) -> bool: ...
46
+ def check_code_arm_required(self, code: str | None) -> str | None: ...
47
+ async def async_handle_alarm_disarm(self, code: str | None = None) -> None: ...
42
48
  def alarm_disarm(self, code: str | None = None) -> None: ...
43
49
  async def async_alarm_disarm(self, code: str | None = None) -> None: ...
50
+ async def async_handle_alarm_arm_home(self, code: str | None = None) -> None: ...
44
51
  def alarm_arm_home(self, code: str | None = None) -> None: ...
45
52
  async def async_alarm_arm_home(self, code: str | None = None) -> None: ...
53
+ async def async_handle_alarm_arm_away(self, code: str | None = None) -> None: ...
46
54
  def alarm_arm_away(self, code: str | None = None) -> None: ...
47
55
  async def async_alarm_arm_away(self, code: str | None = None) -> None: ...
56
+ async def async_handle_alarm_arm_night(self, code: str | None = None) -> None: ...
48
57
  def alarm_arm_night(self, code: str | None = None) -> None: ...
49
58
  async def async_alarm_arm_night(self, code: str | None = None) -> None: ...
59
+ async def async_handle_alarm_arm_vacation(self, code: str | None = None) -> None: ...
50
60
  def alarm_arm_vacation(self, code: str | None = None) -> None: ...
51
61
  async def async_alarm_arm_vacation(self, code: str | None = None) -> None: ...
52
62
  def alarm_trigger(self, code: str | None = None) -> None: ...
53
63
  async def async_alarm_trigger(self, code: str | None = None) -> None: ...
64
+ async def async_handle_alarm_arm_custom_bypass(self, code: str | None = None) -> None: ...
54
65
  def alarm_arm_custom_bypass(self, code: str | None = None) -> None: ...
55
66
  async def async_alarm_arm_custom_bypass(self, code: str | None = None) -> None: ...
56
67
  @cached_property
57
68
  def supported_features(self) -> AlarmControlPanelEntityFeature: ...
58
69
  @property
59
70
  def state_attributes(self) -> dict[str, Any] | None: ...
71
+ async def async_internal_added_to_hass(self) -> None: ...
72
+ def async_registry_entry_updated(self) -> None: ...
73
+ def _async_read_entity_options(self) -> None: ...
60
74
 
61
75
  __getattr__: Incomplete
62
76
  __dir__: Incomplete
@@ -1,5 +1,6 @@
1
+ from .const import DOMAIN as DOMAIN
1
2
  from homeassistant.components.group import GroupIntegrationRegistry as GroupIntegrationRegistry
2
- from homeassistant.const import STATE_ALARM_ARMED_AWAY as STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_CUSTOM_BYPASS as STATE_ALARM_ARMED_CUSTOM_BYPASS, STATE_ALARM_ARMED_HOME as STATE_ALARM_ARMED_HOME, STATE_ALARM_ARMED_NIGHT as STATE_ALARM_ARMED_NIGHT, STATE_ALARM_ARMED_VACATION as STATE_ALARM_ARMED_VACATION, STATE_ALARM_TRIGGERED as STATE_ALARM_TRIGGERED, STATE_OFF as STATE_OFF
3
+ from homeassistant.const import STATE_ALARM_ARMED_AWAY as STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_CUSTOM_BYPASS as STATE_ALARM_ARMED_CUSTOM_BYPASS, STATE_ALARM_ARMED_HOME as STATE_ALARM_ARMED_HOME, STATE_ALARM_ARMED_NIGHT as STATE_ALARM_ARMED_NIGHT, STATE_ALARM_ARMED_VACATION as STATE_ALARM_ARMED_VACATION, STATE_ALARM_TRIGGERED as STATE_ALARM_TRIGGERED, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON
3
4
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
4
5
 
5
6
  def async_describe_on_off_states(hass: HomeAssistant, registry: GroupIntegrationRegistry) -> None: ...
@@ -12,11 +12,12 @@ PLATFORMS: Incomplete
12
12
  DATA_CONFIG: str
13
13
  DEFAULT_SOCKET_MIN_RETRY: int
14
14
  CONFIG_SCHEMA: Incomplete
15
+ AmbientStationConfigEntry = ConfigEntry[AmbientStation]
15
16
 
16
17
  def async_wm2_to_lx(value: float) -> int: ...
17
18
  def async_hydrate_station_data(data: dict[str, Any]) -> dict[str, Any]: ...
18
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
19
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
19
+ async def async_setup_entry(hass: HomeAssistant, entry: AmbientStationConfigEntry) -> bool: ...
20
+ async def async_unload_entry(hass: HomeAssistant, entry: AmbientStationConfigEntry) -> bool: ...
20
21
  async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
21
22
 
22
23
  class AmbientStation:
@@ -1,9 +1,9 @@
1
- from .const import ATTR_LAST_DATA as ATTR_LAST_DATA, DOMAIN as DOMAIN
1
+ from . import AmbientStationConfigEntry as AmbientStationConfigEntry
2
+ from .const import ATTR_LAST_DATA as ATTR_LAST_DATA
2
3
  from .entity import AmbientWeatherEntity as AmbientWeatherEntity
3
4
  from _typeshed import Incomplete
4
5
  from dataclasses import dataclass
5
6
  from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
7
  from homeassistant.const import ATTR_NAME as ATTR_NAME, EntityCategory as EntityCategory
8
8
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
9
9
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
@@ -61,7 +61,7 @@ class AmbientBinarySensorDescription(BinarySensorEntityDescription):
61
61
 
62
62
  BINARY_SENSOR_DESCRIPTIONS: Incomplete
63
63
 
64
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
64
+ async def async_setup_entry(hass: HomeAssistant, entry: AmbientStationConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
65
65
 
66
66
  class AmbientWeatherBinarySensor(AmbientWeatherEntity, BinarySensorEntity):
67
67
  entity_description: AmbientBinarySensorDescription
@@ -1,8 +1,7 @@
1
- from . import AmbientStation as AmbientStation
2
- from .const import CONF_APP_KEY as CONF_APP_KEY, DOMAIN as DOMAIN
1
+ from . import AmbientStationConfigEntry as AmbientStationConfigEntry
2
+ from .const import CONF_APP_KEY as CONF_APP_KEY
3
3
  from _typeshed import Incomplete
4
4
  from homeassistant.components.diagnostics import async_redact_data as async_redact_data
5
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
5
  from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_LOCATION as CONF_LOCATION, CONF_UNIQUE_ID as CONF_UNIQUE_ID
7
6
  from homeassistant.core import HomeAssistant as HomeAssistant
8
7
  from typing import Any
@@ -16,4 +15,4 @@ CONF_TITLE: str
16
15
  CONF_TZ: str
17
16
  TO_REDACT: Incomplete
18
17
 
19
- async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: ConfigEntry) -> dict[str, Any]: ...
18
+ async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: AmbientStationConfigEntry) -> dict[str, Any]: ...
@@ -1,9 +1,8 @@
1
- from . import AmbientStation as AmbientStation
2
- from .const import ATTR_LAST_DATA as ATTR_LAST_DATA, DOMAIN as DOMAIN, TYPE_SOLARRADIATION as TYPE_SOLARRADIATION, TYPE_SOLARRADIATION_LX as TYPE_SOLARRADIATION_LX
1
+ from . import AmbientStation as AmbientStation, AmbientStationConfigEntry as AmbientStationConfigEntry
2
+ from .const import ATTR_LAST_DATA as ATTR_LAST_DATA, TYPE_SOLARRADIATION as TYPE_SOLARRADIATION, TYPE_SOLARRADIATION_LX as TYPE_SOLARRADIATION_LX
3
3
  from .entity import AmbientWeatherEntity as AmbientWeatherEntity
4
4
  from _typeshed import Incomplete
5
5
  from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
6
  from homeassistant.const import ATTR_NAME as ATTR_NAME, CONCENTRATION_MICROGRAMS_PER_CUBIC_METER as CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, DEGREE as DEGREE, LIGHT_LUX as LIGHT_LUX, PERCENTAGE as PERCENTAGE, UnitOfIrradiance as UnitOfIrradiance, UnitOfLength as UnitOfLength, UnitOfPrecipitationDepth as UnitOfPrecipitationDepth, UnitOfPressure as UnitOfPressure, UnitOfSpeed as UnitOfSpeed, UnitOfTemperature as UnitOfTemperature, UnitOfVolumetricFlux as UnitOfVolumetricFlux
8
7
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
9
8
  from homeassistant.helpers.entity import EntityDescription as EntityDescription
@@ -91,7 +90,7 @@ TYPE_WINDSPEEDMPH: str
91
90
  TYPE_YEARLYRAININ: str
92
91
  SENSOR_DESCRIPTIONS: Incomplete
93
92
 
94
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
93
+ async def async_setup_entry(hass: HomeAssistant, entry: AmbientStationConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
95
94
 
96
95
  class AmbientWeatherSensor(AmbientWeatherEntity, SensorEntity):
97
96
  entity_id: Incomplete
@@ -1,4 +1,4 @@
1
- from .const import CONF_TRACKED_INTEGRATIONS as CONF_TRACKED_INTEGRATIONS, DOMAIN as DOMAIN
1
+ from .const import CONF_TRACKED_INTEGRATIONS as CONF_TRACKED_INTEGRATIONS
2
2
  from .coordinator import HomeassistantAnalyticsDataUpdateCoordinator as HomeassistantAnalyticsDataUpdateCoordinator
3
3
  from dataclasses import dataclass
4
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
@@ -8,6 +8,7 @@ from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
8
8
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
9
9
 
10
10
  PLATFORMS: list[Platform]
11
+ AnalyticsInsightsConfigEntry = ConfigEntry[AnalyticsInsightsData]
11
12
 
12
13
  @dataclass(frozen=True)
13
14
  class AnalyticsInsightsData:
@@ -15,6 +16,6 @@ class AnalyticsInsightsData:
15
16
  names: dict[str, str]
16
17
  def __init__(self, coordinator, names) -> None: ...
17
18
 
18
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
19
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
20
- async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
19
+ async def async_setup_entry(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry) -> bool: ...
20
+ async def async_unload_entry(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry) -> bool: ...
21
+ async def update_listener(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry) -> None: ...
@@ -1,7 +1,7 @@
1
+ from . import AnalyticsInsightsConfigEntry as AnalyticsInsightsConfigEntry
1
2
  from .const import CONF_TRACKED_CUSTOM_INTEGRATIONS as CONF_TRACKED_CUSTOM_INTEGRATIONS, CONF_TRACKED_INTEGRATIONS as CONF_TRACKED_INTEGRATIONS, DOMAIN as DOMAIN, LOGGER as LOGGER
2
3
  from _typeshed import Incomplete
3
4
  from dataclasses import dataclass
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
7
7
  from python_homeassistant_analytics import CustomIntegration as CustomIntegration, HomeassistantAnalyticsClient as HomeassistantAnalyticsClient
@@ -13,7 +13,7 @@ class AnalyticsData:
13
13
  def __init__(self, core_integrations, custom_integrations) -> None: ...
14
14
 
15
15
  class HomeassistantAnalyticsDataUpdateCoordinator(DataUpdateCoordinator[AnalyticsData]):
16
- config_entry: ConfigEntry
16
+ config_entry: AnalyticsInsightsConfigEntry
17
17
  _client: Incomplete
18
18
  _tracked_integrations: Incomplete
19
19
  _tracked_custom_integrations: Incomplete
@@ -1,11 +1,10 @@
1
- from . import AnalyticsInsightsData as AnalyticsInsightsData
1
+ from . import AnalyticsInsightsConfigEntry as AnalyticsInsightsConfigEntry
2
2
  from .const import DOMAIN as DOMAIN
3
3
  from .coordinator import AnalyticsData as AnalyticsData, HomeassistantAnalyticsDataUpdateCoordinator as HomeassistantAnalyticsDataUpdateCoordinator
4
4
  from _typeshed import Incomplete
5
5
  from collections.abc import Callable as Callable
6
6
  from dataclasses import dataclass
7
7
  from homeassistant.components.sensor import SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
8
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
8
  from homeassistant.const import EntityCategory as EntityCategory
10
9
  from homeassistant.core import HomeAssistant as HomeAssistant
11
10
  from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
@@ -20,7 +19,7 @@ class AnalyticsSensorEntityDescription(SensorEntityDescription):
20
19
 
21
20
  def get_core_integration_entity_description(domain: str, name: str) -> AnalyticsSensorEntityDescription: ...
22
21
  def get_custom_integration_entity_description(domain: str) -> AnalyticsSensorEntityDescription: ...
23
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
22
+ async def async_setup_entry(hass: HomeAssistant, entry: AnalyticsInsightsConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
24
23
 
25
24
  class HomeassistantAnalyticsSensor(CoordinatorEntity[HomeassistantAnalyticsDataUpdateCoordinator], SensorEntity):
26
25
  _attr_has_entity_name: bool
@@ -1,8 +1,9 @@
1
- from .const import ANDROID_DEV as ANDROID_DEV, ANDROID_DEV_OPT as ANDROID_DEV_OPT, CONF_ADBKEY as CONF_ADBKEY, CONF_ADB_SERVER_IP as CONF_ADB_SERVER_IP, CONF_ADB_SERVER_PORT as CONF_ADB_SERVER_PORT, CONF_STATE_DETECTION_RULES as CONF_STATE_DETECTION_RULES, DEFAULT_ADB_SERVER_PORT as DEFAULT_ADB_SERVER_PORT, DEVICE_ANDROIDTV as DEVICE_ANDROIDTV, DEVICE_FIRETV as DEVICE_FIRETV, DOMAIN as DOMAIN, PROP_ETHMAC as PROP_ETHMAC, PROP_WIFIMAC as PROP_WIFIMAC, SIGNAL_CONFIG_ENTITY as SIGNAL_CONFIG_ENTITY
1
+ from .const import CONF_ADBKEY as CONF_ADBKEY, CONF_ADB_SERVER_IP as CONF_ADB_SERVER_IP, CONF_ADB_SERVER_PORT as CONF_ADB_SERVER_PORT, CONF_STATE_DETECTION_RULES as CONF_STATE_DETECTION_RULES, DEFAULT_ADB_SERVER_PORT as DEFAULT_ADB_SERVER_PORT, DEVICE_ANDROIDTV as DEVICE_ANDROIDTV, DEVICE_FIRETV as DEVICE_FIRETV, PROP_ETHMAC as PROP_ETHMAC, PROP_WIFIMAC as PROP_WIFIMAC, SIGNAL_CONFIG_ENTITY as SIGNAL_CONFIG_ENTITY
2
2
  from _typeshed import Incomplete
3
3
  from androidtv.adb_manager.adb_manager_sync import PythonRSASigner as PythonRSASigner
4
4
  from androidtv.setup_async import AndroidTVAsync as AndroidTVAsync, FireTVAsync as FireTVAsync
5
5
  from collections.abc import Mapping
6
+ from dataclasses import dataclass
6
7
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
8
  from homeassistant.const import CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
8
9
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
@@ -18,9 +19,16 @@ PLATFORMS: Incomplete
18
19
  RELOAD_OPTIONS: Incomplete
19
20
  _INVALID_MACS: Incomplete
20
21
 
22
+ @dataclass
23
+ class AndroidTVRuntimeData:
24
+ aftv: AndroidTVAsync | FireTVAsync
25
+ dev_opt: dict[str, Any]
26
+ def __init__(self, aftv, dev_opt) -> None: ...
27
+ AndroidTVConfigEntry = ConfigEntry[AndroidTVRuntimeData]
28
+
21
29
  def get_androidtv_mac(dev_props: dict[str, Any]) -> str | None: ...
22
30
  def _setup_androidtv(hass: HomeAssistant, config: Mapping[str, Any]) -> tuple[str, PythonRSASigner | None, str]: ...
23
31
  async def async_connect_androidtv(hass: HomeAssistant, config: Mapping[str, Any], *, state_detection_rules: dict[str, Any] | None = None, timeout: float = 30.0) -> tuple[AndroidTVAsync | FireTVAsync | None, str | None]: ...
24
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
25
- async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
26
- async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
32
+ async def async_setup_entry(hass: HomeAssistant, entry: AndroidTVConfigEntry) -> bool: ...
33
+ async def async_unload_entry(hass: HomeAssistant, entry: AndroidTVConfigEntry) -> bool: ...
34
+ async def update_listener(hass: HomeAssistant, entry: AndroidTVConfigEntry) -> None: ...
@@ -1,8 +1,6 @@
1
1
  from _typeshed import Incomplete
2
2
 
3
3
  DOMAIN: str
4
- ANDROID_DEV = DOMAIN
5
- ANDROID_DEV_OPT: str
6
4
  CONF_ADB_SERVER_IP: str
7
5
  CONF_ADB_SERVER_PORT: str
8
6
  CONF_ADBKEY: str
@@ -1,7 +1,7 @@
1
- from .const import ANDROID_DEV as ANDROID_DEV, DOMAIN as DOMAIN, PROP_ETHMAC as PROP_ETHMAC, PROP_SERIALNO as PROP_SERIALNO, PROP_WIFIMAC as PROP_WIFIMAC
1
+ from . import AndroidTVConfigEntry as AndroidTVConfigEntry
2
+ from .const import DOMAIN as DOMAIN, PROP_ETHMAC as PROP_ETHMAC, PROP_SERIALNO as PROP_SERIALNO, PROP_WIFIMAC as PROP_WIFIMAC
2
3
  from _typeshed import Incomplete
3
4
  from homeassistant.components.diagnostics import async_redact_data as async_redact_data
4
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
5
5
  from homeassistant.const import ATTR_CONNECTIONS as ATTR_CONNECTIONS, ATTR_IDENTIFIERS as ATTR_IDENTIFIERS, CONF_UNIQUE_ID as CONF_UNIQUE_ID
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant
7
7
  from typing import Any
@@ -10,4 +10,4 @@ TO_REDACT: Incomplete
10
10
  TO_REDACT_DEV: Incomplete
11
11
  TO_REDACT_DEV_PROP: Incomplete
12
12
 
13
- async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: ConfigEntry) -> dict[str, dict[str, Any]]: ...
13
+ async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: AndroidTVConfigEntry) -> dict[str, dict[str, Any]]: ...
@@ -1,20 +1,14 @@
1
- from . import ADB_PYTHON_EXCEPTIONS as ADB_PYTHON_EXCEPTIONS, ADB_TCP_EXCEPTIONS as ADB_TCP_EXCEPTIONS, get_androidtv_mac as get_androidtv_mac
1
+ from . import ADB_PYTHON_EXCEPTIONS as ADB_PYTHON_EXCEPTIONS, ADB_TCP_EXCEPTIONS as ADB_TCP_EXCEPTIONS, AndroidTVConfigEntry as AndroidTVConfigEntry, get_androidtv_mac as get_androidtv_mac
2
2
  from .const import DEVICE_ANDROIDTV as DEVICE_ANDROIDTV, DOMAIN as DOMAIN
3
3
  from _typeshed import Incomplete
4
- from androidtv.setup_async import AndroidTVAsync as AndroidTVAsync, FireTVAsync as FireTVAsync
5
4
  from collections.abc import Callable
6
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
7
5
  from homeassistant.const import ATTR_CONNECTIONS as ATTR_CONNECTIONS, ATTR_IDENTIFIERS as ATTR_IDENTIFIERS, ATTR_MANUFACTURER as ATTR_MANUFACTURER, ATTR_MODEL as ATTR_MODEL, ATTR_SW_VERSION as ATTR_SW_VERSION, CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME
8
6
  from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
9
7
  from homeassistant.helpers.entity import Entity as Entity
10
- from typing import Any, ParamSpec, TypeVar
11
8
 
12
9
  PREFIX_ANDROIDTV: str
13
10
  PREFIX_FIRETV: str
14
11
  _LOGGER: Incomplete
15
- _ADBDeviceT = TypeVar('_ADBDeviceT', bound='AndroidTVEntity')
16
- _R = TypeVar('_R')
17
- _P = ParamSpec('_P')
18
12
  _FuncType: Incomplete
19
13
  _ReturnFuncType: Incomplete
20
14
 
@@ -24,7 +18,7 @@ class AndroidTVEntity(Entity):
24
18
  _attr_has_entity_name: bool
25
19
  aftv: Incomplete
26
20
  _attr_unique_id: Incomplete
27
- _entry_data: Incomplete
21
+ _entry_runtime_data: Incomplete
28
22
  _attr_device_info: Incomplete
29
23
  exceptions: Incomplete
30
- def __init__(self, aftv: AndroidTVAsync | FireTVAsync, entry: ConfigEntry, entry_data: dict[str, Any]) -> None: ...
24
+ def __init__(self, entry: AndroidTVConfigEntry) -> None: ...
@@ -1,10 +1,10 @@
1
- from .const import ANDROID_DEV as ANDROID_DEV, ANDROID_DEV_OPT as ANDROID_DEV_OPT, CONF_APPS as CONF_APPS, CONF_EXCLUDE_UNNAMED_APPS as CONF_EXCLUDE_UNNAMED_APPS, CONF_GET_SOURCES as CONF_GET_SOURCES, CONF_SCREENCAP as CONF_SCREENCAP, CONF_TURN_OFF_COMMAND as CONF_TURN_OFF_COMMAND, CONF_TURN_ON_COMMAND as CONF_TURN_ON_COMMAND, DEFAULT_EXCLUDE_UNNAMED_APPS as DEFAULT_EXCLUDE_UNNAMED_APPS, DEFAULT_GET_SOURCES as DEFAULT_GET_SOURCES, DEFAULT_SCREENCAP as DEFAULT_SCREENCAP, DEVICE_ANDROIDTV as DEVICE_ANDROIDTV, DOMAIN as DOMAIN, SIGNAL_CONFIG_ENTITY as SIGNAL_CONFIG_ENTITY
1
+ from . import AndroidTVConfigEntry as AndroidTVConfigEntry
2
+ from .const import CONF_APPS as CONF_APPS, CONF_EXCLUDE_UNNAMED_APPS as CONF_EXCLUDE_UNNAMED_APPS, CONF_GET_SOURCES as CONF_GET_SOURCES, CONF_SCREENCAP as CONF_SCREENCAP, CONF_TURN_OFF_COMMAND as CONF_TURN_OFF_COMMAND, CONF_TURN_ON_COMMAND as CONF_TURN_ON_COMMAND, DEFAULT_EXCLUDE_UNNAMED_APPS as DEFAULT_EXCLUDE_UNNAMED_APPS, DEFAULT_GET_SOURCES as DEFAULT_GET_SOURCES, DEFAULT_SCREENCAP as DEFAULT_SCREENCAP, DEVICE_ANDROIDTV as DEVICE_ANDROIDTV, SIGNAL_CONFIG_ENTITY as SIGNAL_CONFIG_ENTITY
2
3
  from .entity import AndroidTVEntity as AndroidTVEntity, adb_decorator as adb_decorator
3
4
  from _typeshed import Incomplete
4
5
  from androidtv.setup_async import AndroidTVAsync as AndroidTVAsync, FireTVAsync as FireTVAsync
5
6
  from homeassistant.components import persistent_notification as persistent_notification
6
7
  from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState
7
- from homeassistant.config_entries import ConfigEntry as ConfigEntry
8
8
  from homeassistant.const import ATTR_COMMAND as ATTR_COMMAND
9
9
  from homeassistant.core import HomeAssistant as HomeAssistant
10
10
  from homeassistant.helpers import entity_platform as entity_platform
@@ -25,7 +25,7 @@ SERVICE_LEARN_SENDEVENT: str
25
25
  SERVICE_UPLOAD: str
26
26
  ANDROIDTV_STATES: Incomplete
27
27
 
28
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
28
+ async def async_setup_entry(hass: HomeAssistant, entry: AndroidTVConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
29
29
 
30
30
  class ADBDevice(AndroidTVEntity, MediaPlayerEntity):
31
31
  _attr_device_class: Incomplete
@@ -42,7 +42,7 @@ class ADBDevice(AndroidTVEntity, MediaPlayerEntity):
42
42
  turn_off_command: Incomplete
43
43
  _attr_extra_state_attributes: Incomplete
44
44
  _failed_connect_count: int
45
- def __init__(self, aftv: AndroidTVAsync | FireTVAsync, entry: ConfigEntry, entry_data: dict[str, Any]) -> None: ...
45
+ def __init__(self, entry: AndroidTVConfigEntry) -> None: ...
46
46
  def _process_config(self) -> None: ...
47
47
  async def async_added_to_hass(self) -> None: ...
48
48
  async def _adb_screencap(self) -> bytes | None: ...
@@ -1,7 +1,6 @@
1
- from .const import DOMAIN as DOMAIN
2
1
  from .helpers import create_api as create_api, get_enable_ime as get_enable_ime
3
2
  from _typeshed import Incomplete
4
- from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
3
+ from androidtvremote2 import AndroidTVRemote
5
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
6
5
  from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
7
6
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
@@ -9,7 +8,8 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
9
8
 
10
9
  _LOGGER: Incomplete
11
10
  PLATFORMS: list[Platform]
11
+ AndroidTVRemoteConfigEntry = ConfigEntry[AndroidTVRemote]
12
12
 
13
- async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
13
+ async def async_setup_entry(hass: HomeAssistant, entry: AndroidTVRemoteConfigEntry) -> bool: ...
14
14
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
15
- async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
15
+ async def async_update_options(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
@@ -10,6 +10,7 @@ from homeassistant.core import callback as callback
10
10
  from homeassistant.helpers.device_registry import format_mac as format_mac
11
11
  from typing import Any
12
12
 
13
+ _LOGGER: Incomplete
13
14
  STEP_USER_DATA_SCHEMA: Incomplete
14
15
  STEP_PAIR_DATA_SCHEMA: Incomplete
15
16
 
@@ -1,12 +1,10 @@
1
- from .const import DOMAIN as DOMAIN
1
+ from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
2
2
  from _typeshed import Incomplete
3
- from androidtvremote2 import AndroidTVRemote as AndroidTVRemote
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_HOST as CONF_HOST, CONF_MAC as CONF_MAC
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: AndroidTVRemoteConfigEntry) -> dict[str, Any]: ...