homeassistant-stubs 2023.4.0b4__py3-none-any.whl → 2023.4.0b6__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 (1158) hide show
  1. homeassistant-stubs/auth/__init__.pyi +18 -18
  2. homeassistant-stubs/auth/auth_store.pyi +8 -8
  3. homeassistant-stubs/auth/jwt_wrapper.pyi +2 -2
  4. homeassistant-stubs/auth/mfa_modules/__init__.pyi +1 -1
  5. homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
  6. homeassistant-stubs/auth/mfa_modules/totp.pyi +2 -2
  7. homeassistant-stubs/auth/models.pyi +12 -12
  8. homeassistant-stubs/auth/permissions/__init__.pyi +1 -1
  9. homeassistant-stubs/auth/permissions/entities.pyi +4 -4
  10. homeassistant-stubs/auth/permissions/util.pyi +1 -1
  11. homeassistant-stubs/auth/providers/__init__.pyi +6 -6
  12. homeassistant-stubs/auth/providers/command_line.pyi +2 -2
  13. homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
  14. homeassistant-stubs/auth/providers/insecure_example.pyi +2 -2
  15. homeassistant-stubs/auth/providers/legacy_api_password.pyi +2 -2
  16. homeassistant-stubs/auth/providers/trusted_networks.pyi +4 -4
  17. homeassistant-stubs/bootstrap.pyi +3 -3
  18. homeassistant-stubs/components/__init__.pyi +1 -1
  19. homeassistant-stubs/components/abode/__init__.pyi +1 -1
  20. homeassistant-stubs/components/abode/alarm_control_panel.pyi +5 -5
  21. homeassistant-stubs/components/abode/binary_sensor.pyi +1 -1
  22. homeassistant-stubs/components/abode/camera.pyi +1 -1
  23. homeassistant-stubs/components/abode/config_flow.pyi +3 -3
  24. homeassistant-stubs/components/abode/light.pyi +5 -5
  25. homeassistant-stubs/components/abode/sensor.pyi +1 -1
  26. homeassistant-stubs/components/abode/switch.pyi +1 -1
  27. homeassistant-stubs/components/accuweather/config_flow.pyi +1 -1
  28. homeassistant-stubs/components/accuweather/sensor.pyi +5 -5
  29. homeassistant-stubs/components/accuweather/weather.pyi +3 -3
  30. homeassistant-stubs/components/acer_projector/switch.pyi +2 -2
  31. homeassistant-stubs/components/actiontec/device_tracker.pyi +3 -3
  32. homeassistant-stubs/components/adguard/config_flow.pyi +5 -5
  33. homeassistant-stubs/components/adguard/sensor.pyi +1 -1
  34. homeassistant-stubs/components/aftership/sensor.pyi +3 -3
  35. homeassistant-stubs/components/air_quality/__init__.pyi +1 -1
  36. homeassistant-stubs/components/airly/__init__.pyi +1 -1
  37. homeassistant-stubs/components/airly/config_flow.pyi +1 -1
  38. homeassistant-stubs/components/airly/sensor.pyi +1 -1
  39. homeassistant-stubs/components/airvisual/config_flow.pyi +4 -4
  40. homeassistant-stubs/components/airzone/binary_sensor.pyi +1 -1
  41. homeassistant-stubs/components/airzone/config_flow.pyi +4 -4
  42. homeassistant-stubs/components/airzone/select.pyi +1 -1
  43. homeassistant-stubs/components/aladdin_connect/config_flow.pyi +3 -3
  44. homeassistant-stubs/components/aladdin_connect/cover.pyi +2 -2
  45. homeassistant-stubs/components/aladdin_connect/sensor.pyi +2 -2
  46. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +19 -19
  47. homeassistant-stubs/components/alarm_control_panel/device_action.pyi +1 -1
  48. homeassistant-stubs/components/alarm_control_panel/reproduce_state.pyi +2 -2
  49. homeassistant-stubs/components/alert/__init__.pyi +1 -1
  50. homeassistant-stubs/components/alert/reproduce_state.pyi +2 -2
  51. homeassistant-stubs/components/amazon_polly/tts.pyi +3 -3
  52. homeassistant-stubs/components/ambient_station/config_flow.pyi +2 -2
  53. homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
  54. homeassistant-stubs/components/amcrest/binary_sensor.pyi +2 -2
  55. homeassistant-stubs/components/amcrest/camera.pyi +8 -8
  56. homeassistant-stubs/components/amcrest/helpers.pyi +1 -1
  57. homeassistant-stubs/components/amcrest/sensor.pyi +1 -1
  58. homeassistant-stubs/components/amcrest/switch.pyi +1 -1
  59. homeassistant-stubs/components/ampio/air_quality.pyi +4 -4
  60. homeassistant-stubs/components/analytics/analytics.pyi +3 -3
  61. homeassistant-stubs/components/anthemav/config_flow.pyi +1 -1
  62. homeassistant-stubs/components/apcupsd/__init__.pyi +6 -6
  63. homeassistant-stubs/components/apcupsd/config_flow.pyi +1 -1
  64. homeassistant-stubs/components/apcupsd/sensor.pyi +1 -1
  65. homeassistant-stubs/components/aqualogic/__init__.pyi +1 -1
  66. homeassistant-stubs/components/aqualogic/sensor.pyi +3 -3
  67. homeassistant-stubs/components/aqualogic/switch.pyi +1 -1
  68. homeassistant-stubs/components/aseko_pool_live/config_flow.pyi +1 -1
  69. homeassistant-stubs/components/aseko_pool_live/sensor.pyi +1 -1
  70. homeassistant-stubs/components/asuswrt/config_flow.pyi +4 -4
  71. homeassistant-stubs/components/asuswrt/device_tracker.pyi +2 -2
  72. homeassistant-stubs/components/asuswrt/router.pyi +8 -8
  73. homeassistant-stubs/components/asuswrt/sensor.pyi +2 -2
  74. homeassistant-stubs/components/auth/__init__.pyi +2 -2
  75. homeassistant-stubs/components/auth/indieauth.pyi +1 -1
  76. homeassistant-stubs/components/automation/__init__.pyi +8 -8
  77. homeassistant-stubs/components/automation/config.pyi +4 -4
  78. homeassistant-stubs/components/automation/reproduce_state.pyi +2 -2
  79. homeassistant-stubs/components/automation/trace.pyi +3 -3
  80. homeassistant-stubs/components/awair/__init__.pyi +2 -2
  81. homeassistant-stubs/components/awair/config_flow.pyi +7 -7
  82. homeassistant-stubs/components/awair/sensor.pyi +3 -3
  83. homeassistant-stubs/components/backup/http.pyi +1 -1
  84. homeassistant-stubs/components/backup/manager.pyi +1 -1
  85. homeassistant-stubs/components/baf/binary_sensor.pyi +1 -1
  86. homeassistant-stubs/components/baf/config_flow.pyi +2 -2
  87. homeassistant-stubs/components/baf/fan.pyi +2 -2
  88. homeassistant-stubs/components/baf/number.pyi +1 -1
  89. homeassistant-stubs/components/baf/sensor.pyi +1 -1
  90. homeassistant-stubs/components/baf/switch.pyi +1 -1
  91. homeassistant-stubs/components/bayesian/binary_sensor.pyi +5 -5
  92. homeassistant-stubs/components/bayesian/helpers.pyi +8 -8
  93. homeassistant-stubs/components/binary_sensor/__init__.pyi +6 -6
  94. homeassistant-stubs/components/binary_sensor/significant_change.pyi +1 -1
  95. homeassistant-stubs/components/bitcoin/sensor.pyi +1 -1
  96. homeassistant-stubs/components/blockchain/sensor.pyi +1 -1
  97. homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +1 -1
  98. homeassistant-stubs/components/bluetooth/active_update_processor.pyi +1 -1
  99. homeassistant-stubs/components/bluetooth/api.pyi +5 -5
  100. homeassistant-stubs/components/bluetooth/base_scanner.pyi +4 -4
  101. homeassistant-stubs/components/bluetooth/config_flow.pyi +3 -3
  102. homeassistant-stubs/components/bluetooth/manager.pyi +8 -8
  103. homeassistant-stubs/components/bluetooth/models.pyi +1 -1
  104. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +7 -7
  105. homeassistant-stubs/components/bluetooth/scanner.pyi +1 -1
  106. homeassistant-stubs/components/bluetooth/storage.pyi +2 -2
  107. homeassistant-stubs/components/bluetooth/usage.pyi +1 -1
  108. homeassistant-stubs/components/bluetooth/util.pyi +1 -1
  109. homeassistant-stubs/components/bluetooth/wrappers.pyi +7 -7
  110. homeassistant-stubs/components/bluetooth_tracker/device_tracker.pyi +3 -3
  111. homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +1 -1
  112. homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +1 -1
  113. homeassistant-stubs/components/bmw_connected_drive/button.pyi +2 -2
  114. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +4 -4
  115. homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
  116. homeassistant-stubs/components/bmw_connected_drive/device_tracker.pyi +2 -2
  117. homeassistant-stubs/components/bmw_connected_drive/diagnostics.pyi +1 -1
  118. homeassistant-stubs/components/bmw_connected_drive/notify.pyi +2 -2
  119. homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +3 -3
  120. homeassistant-stubs/components/bond/button.pyi +2 -2
  121. homeassistant-stubs/components/bond/config_flow.pyi +3 -3
  122. homeassistant-stubs/components/bond/entity.pyi +1 -1
  123. homeassistant-stubs/components/bond/fan.pyi +2 -2
  124. homeassistant-stubs/components/bond/light.pyi +1 -1
  125. homeassistant-stubs/components/bond/utils.pyi +10 -10
  126. homeassistant-stubs/components/braviatv/config_flow.pyi +5 -5
  127. homeassistant-stubs/components/braviatv/coordinator.pyi +4 -4
  128. homeassistant-stubs/components/braviatv/media_player.pyi +10 -10
  129. homeassistant-stubs/components/brother/config_flow.pyi +2 -2
  130. homeassistant-stubs/components/brother/sensor.pyi +1 -1
  131. homeassistant-stubs/components/button/__init__.pyi +5 -5
  132. homeassistant-stubs/components/button/device_action.pyi +1 -1
  133. homeassistant-stubs/components/calendar/__init__.pyi +14 -14
  134. homeassistant-stubs/components/camera/__init__.pyi +18 -18
  135. homeassistant-stubs/components/camera/img_util.pyi +3 -3
  136. homeassistant-stubs/components/camera/prefs.pyi +1 -1
  137. homeassistant-stubs/components/canary/alarm_control_panel.pyi +5 -5
  138. homeassistant-stubs/components/canary/camera.pyi +2 -2
  139. homeassistant-stubs/components/canary/config_flow.pyi +3 -3
  140. homeassistant-stubs/components/canary/sensor.pyi +3 -3
  141. homeassistant-stubs/components/clickatell/notify.pyi +1 -1
  142. homeassistant-stubs/components/clicksend/notify.pyi +1 -1
  143. homeassistant-stubs/components/configurator/__init__.pyi +2 -2
  144. homeassistant-stubs/components/cover/__init__.pyi +15 -15
  145. homeassistant-stubs/components/cover/device_action.pyi +1 -1
  146. homeassistant-stubs/components/cover/reproduce_state.pyi +2 -2
  147. homeassistant-stubs/components/cpuspeed/config_flow.pyi +2 -2
  148. homeassistant-stubs/components/crownstone/config_flow.pyi +5 -5
  149. homeassistant-stubs/components/crownstone/entry_manager.pyi +1 -1
  150. homeassistant-stubs/components/crownstone/helpers.pyi +1 -1
  151. homeassistant-stubs/components/crownstone/light.pyi +3 -3
  152. homeassistant-stubs/components/crownstone/listeners.pyi +1 -1
  153. homeassistant-stubs/components/deconz/alarm_control_panel.pyi +7 -7
  154. homeassistant-stubs/components/deconz/binary_sensor.pyi +5 -5
  155. homeassistant-stubs/components/deconz/button.pyi +2 -2
  156. homeassistant-stubs/components/deconz/climate.pyi +4 -4
  157. homeassistant-stubs/components/deconz/config_flow.pyi +6 -6
  158. homeassistant-stubs/components/deconz/cover.pyi +2 -2
  159. homeassistant-stubs/components/deconz/deconz_device.pyi +6 -6
  160. homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
  161. homeassistant-stubs/components/deconz/device_trigger.pyi +1 -1
  162. homeassistant-stubs/components/deconz/fan.pyi +3 -3
  163. homeassistant-stubs/components/deconz/gateway.pyi +1 -1
  164. homeassistant-stubs/components/deconz/light.pyi +7 -7
  165. homeassistant-stubs/components/deconz/lock.pyi +1 -2
  166. homeassistant-stubs/components/deconz/logbook.pyi +1 -1
  167. homeassistant-stubs/components/deconz/number.pyi +3 -3
  168. homeassistant-stubs/components/deconz/scene.pyi +1 -2
  169. homeassistant-stubs/components/deconz/select.pyi +6 -6
  170. homeassistant-stubs/components/deconz/sensor.pyi +5 -5
  171. homeassistant-stubs/components/deconz/siren.pyi +1 -1
  172. homeassistant-stubs/components/deconz/switch.pyi +1 -2
  173. homeassistant-stubs/components/deconz/util.pyi +1 -1
  174. homeassistant-stubs/components/demo/air_quality.pyi +3 -3
  175. homeassistant-stubs/components/demo/alarm_control_panel.pyi +1 -1
  176. homeassistant-stubs/components/demo/binary_sensor.pyi +1 -1
  177. homeassistant-stubs/components/demo/button.pyi +1 -1
  178. homeassistant-stubs/components/demo/calendar.pyi +1 -1
  179. homeassistant-stubs/components/demo/camera.pyi +2 -2
  180. homeassistant-stubs/components/demo/climate.pyi +13 -13
  181. homeassistant-stubs/components/demo/config_flow.pyi +3 -3
  182. homeassistant-stubs/components/demo/cover.pyi +4 -4
  183. homeassistant-stubs/components/demo/device_tracker.pyi +1 -1
  184. homeassistant-stubs/components/demo/fan.pyi +12 -12
  185. homeassistant-stubs/components/demo/geo_location.pyi +4 -4
  186. homeassistant-stubs/components/demo/humidifier.pyi +2 -2
  187. homeassistant-stubs/components/demo/image_processing.pyi +1 -1
  188. homeassistant-stubs/components/demo/light.pyi +8 -8
  189. homeassistant-stubs/components/demo/lock.pyi +1 -1
  190. homeassistant-stubs/components/demo/mailbox.pyi +1 -1
  191. homeassistant-stubs/components/demo/media_player.pyi +9 -9
  192. homeassistant-stubs/components/demo/notify.pyi +1 -1
  193. homeassistant-stubs/components/demo/number.pyi +2 -2
  194. homeassistant-stubs/components/demo/remote.pyi +3 -3
  195. homeassistant-stubs/components/demo/select.pyi +2 -2
  196. homeassistant-stubs/components/demo/sensor.pyi +3 -3
  197. homeassistant-stubs/components/demo/siren.pyi +2 -2
  198. homeassistant-stubs/components/demo/stt.pyi +1 -1
  199. homeassistant-stubs/components/demo/switch.pyi +2 -2
  200. homeassistant-stubs/components/demo/text.pyi +2 -2
  201. homeassistant-stubs/components/demo/tts.pyi +2 -2
  202. homeassistant-stubs/components/demo/update.pyi +4 -4
  203. homeassistant-stubs/components/demo/vacuum.pyi +3 -3
  204. homeassistant-stubs/components/demo/water_heater.pyi +2 -2
  205. homeassistant-stubs/components/demo/weather.pyi +1 -1
  206. homeassistant-stubs/components/derivative/config_flow.pyi +2 -2
  207. homeassistant-stubs/components/derivative/sensor.pyi +4 -4
  208. homeassistant-stubs/components/device_automation/__init__.pyi +2 -2
  209. homeassistant-stubs/components/device_automation/action.pyi +2 -2
  210. homeassistant-stubs/components/device_automation/toggle_entity.pyi +1 -1
  211. homeassistant-stubs/components/device_tracker/config_entry.pyi +14 -14
  212. homeassistant-stubs/components/device_tracker/legacy.pyi +22 -22
  213. homeassistant-stubs/components/devolo_home_control/__init__.pyi +1 -1
  214. homeassistant-stubs/components/devolo_home_control/climate.pyi +2 -2
  215. homeassistant-stubs/components/devolo_home_control/config_flow.pyi +4 -4
  216. homeassistant-stubs/components/devolo_home_network/config_flow.pyi +3 -3
  217. homeassistant-stubs/components/dhcp/__init__.pyi +2 -2
  218. homeassistant-stubs/components/diagnostics/__init__.pyi +3 -3
  219. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +2 -2
  220. homeassistant-stubs/components/dlna_dmr/const.pyi +1 -1
  221. homeassistant-stubs/components/dlna_dmr/data.pyi +3 -3
  222. homeassistant-stubs/components/dlna_dmr/media_player.pyi +29 -29
  223. homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
  224. homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +5 -5
  225. homeassistant-stubs/components/dsmr/__init__.pyi +1 -1
  226. homeassistant-stubs/components/dsmr/config_flow.pyi +10 -10
  227. homeassistant-stubs/components/dsmr/sensor.pyi +6 -6
  228. homeassistant-stubs/components/dunehd/config_flow.pyi +1 -1
  229. homeassistant-stubs/components/dunehd/media_player.pyi +1 -1
  230. homeassistant-stubs/components/efergy/config_flow.pyi +2 -2
  231. homeassistant-stubs/components/efergy/sensor.pyi +1 -1
  232. homeassistant-stubs/components/elgato/config_flow.pyi +4 -4
  233. homeassistant-stubs/components/elgato/coordinator.pyi +2 -2
  234. homeassistant-stubs/components/elgato/light.pyi +4 -4
  235. homeassistant-stubs/components/elgato/sensor.pyi +2 -2
  236. homeassistant-stubs/components/elgato/switch.pyi +2 -2
  237. homeassistant-stubs/components/elkm1/__init__.pyi +3 -3
  238. homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +12 -12
  239. homeassistant-stubs/components/elkm1/climate.pyi +9 -9
  240. homeassistant-stubs/components/elkm1/config_flow.pyi +6 -6
  241. homeassistant-stubs/components/elkm1/discovery.pyi +2 -2
  242. homeassistant-stubs/components/elkm1/sensor.pyi +6 -6
  243. homeassistant-stubs/components/emulated_hue/config.pyi +1 -1
  244. homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
  245. homeassistant-stubs/components/energy/data.pyi +13 -13
  246. homeassistant-stubs/components/energy/sensor.pyi +4 -4
  247. homeassistant-stubs/components/energy/types.pyi +2 -2
  248. homeassistant-stubs/components/energy/validate.pyi +4 -4
  249. homeassistant-stubs/components/esphome/__init__.pyi +7 -7
  250. homeassistant-stubs/components/esphome/binary_sensor.pyi +2 -2
  251. homeassistant-stubs/components/esphome/bluetooth/characteristic.pyi +1 -1
  252. homeassistant-stubs/components/esphome/bluetooth/client.pyi +6 -6
  253. homeassistant-stubs/components/esphome/button.pyi +1 -1
  254. homeassistant-stubs/components/esphome/camera.pyi +2 -2
  255. homeassistant-stubs/components/esphome/climate.pyi +9 -9
  256. homeassistant-stubs/components/esphome/config_flow.pyi +9 -9
  257. homeassistant-stubs/components/esphome/cover.pyi +4 -4
  258. homeassistant-stubs/components/esphome/dashboard.pyi +1 -1
  259. homeassistant-stubs/components/esphome/domain_data.pyi +2 -2
  260. homeassistant-stubs/components/esphome/entry_data.pyi +2 -2
  261. homeassistant-stubs/components/esphome/fan.pyi +6 -6
  262. homeassistant-stubs/components/esphome/light.pyi +8 -8
  263. homeassistant-stubs/components/esphome/lock.pyi +5 -5
  264. homeassistant-stubs/components/esphome/media_player.pyi +4 -4
  265. homeassistant-stubs/components/esphome/number.pyi +3 -3
  266. homeassistant-stubs/components/esphome/select.pyi +1 -1
  267. homeassistant-stubs/components/esphome/sensor.pyi +6 -6
  268. homeassistant-stubs/components/esphome/switch.pyi +2 -2
  269. homeassistant-stubs/components/esphome/update.pyi +4 -4
  270. homeassistant-stubs/components/evil_genius_labs/__init__.pyi +2 -2
  271. homeassistant-stubs/components/evil_genius_labs/config_flow.pyi +1 -1
  272. homeassistant-stubs/components/fan/__init__.pyi +18 -18
  273. homeassistant-stubs/components/fan/device_action.pyi +1 -1
  274. homeassistant-stubs/components/fan/reproduce_state.pyi +2 -2
  275. homeassistant-stubs/components/fastdotcom/__init__.pyi +1 -1
  276. homeassistant-stubs/components/fastdotcom/sensor.pyi +1 -1
  277. homeassistant-stubs/components/feedreader/__init__.pyi +1 -1
  278. homeassistant-stubs/components/file_upload/__init__.pyi +1 -1
  279. homeassistant-stubs/components/filesize/config_flow.pyi +1 -1
  280. homeassistant-stubs/components/filesize/sensor.pyi +2 -2
  281. homeassistant-stubs/components/filter/sensor.pyi +9 -9
  282. homeassistant-stubs/components/fitbit/const.pyi +1 -1
  283. homeassistant-stubs/components/fitbit/sensor.pyi +7 -7
  284. homeassistant-stubs/components/flux_led/__init__.pyi +1 -1
  285. homeassistant-stubs/components/flux_led/config_flow.pyi +5 -5
  286. homeassistant-stubs/components/flux_led/discovery.pyi +5 -5
  287. homeassistant-stubs/components/flux_led/entity.pyi +1 -1
  288. homeassistant-stubs/components/flux_led/light.pyi +2 -2
  289. homeassistant-stubs/components/flux_led/number.pyi +1 -1
  290. homeassistant-stubs/components/flux_led/select.pyi +5 -5
  291. homeassistant-stubs/components/flux_led/util.pyi +2 -2
  292. homeassistant-stubs/components/forecast_solar/config_flow.pyi +2 -2
  293. homeassistant-stubs/components/forecast_solar/energy.pyi +1 -1
  294. homeassistant-stubs/components/forecast_solar/models.pyi +1 -1
  295. homeassistant-stubs/components/forecast_solar/sensor.pyi +1 -1
  296. homeassistant-stubs/components/fritz/binary_sensor.pyi +1 -1
  297. homeassistant-stubs/components/fritz/button.pyi +1 -1
  298. homeassistant-stubs/components/fritz/common.pyi +21 -22
  299. homeassistant-stubs/components/fritz/config_flow.pyi +9 -9
  300. homeassistant-stubs/components/fritz/sensor.pyi +2 -2
  301. homeassistant-stubs/components/fritz/services.pyi +1 -1
  302. homeassistant-stubs/components/fritz/switch.pyi +3 -3
  303. homeassistant-stubs/components/fritz/update.pyi +4 -4
  304. homeassistant-stubs/components/fritzbox/__init__.pyi +3 -2
  305. homeassistant-stubs/components/fritzbox/binary_sensor.pyi +2 -6
  306. homeassistant-stubs/components/fritzbox/climate.pyi +2 -2
  307. homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
  308. homeassistant-stubs/components/fritzbox/cover.pyi +2 -2
  309. homeassistant-stubs/components/fritzbox/light.pyi +2 -2
  310. homeassistant-stubs/components/fritzbox/sensor.pyi +2 -2
  311. homeassistant-stubs/components/fritzbox_callmonitor/base.pyi +1 -1
  312. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +5 -5
  313. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -4
  314. homeassistant-stubs/components/fronius/__init__.pyi +1 -1
  315. homeassistant-stubs/components/fronius/config_flow.pyi +2 -2
  316. homeassistant-stubs/components/fronius/coordinator.pyi +6 -6
  317. homeassistant-stubs/components/fronius/sensor.pyi +8 -7
  318. homeassistant-stubs/components/frontend/__init__.pyi +14 -14
  319. homeassistant-stubs/components/fully_kiosk/binary_sensor.pyi +1 -1
  320. homeassistant-stubs/components/fully_kiosk/config_flow.pyi +3 -3
  321. homeassistant-stubs/components/fully_kiosk/media_player.pyi +3 -3
  322. homeassistant-stubs/components/fully_kiosk/number.pyi +1 -1
  323. homeassistant-stubs/components/fully_kiosk/sensor.pyi +1 -1
  324. homeassistant-stubs/components/fully_kiosk/switch.pyi +1 -1
  325. homeassistant-stubs/components/geo_location/__init__.pyi +7 -7
  326. homeassistant-stubs/components/geo_location/trigger.pyi +1 -1
  327. homeassistant-stubs/components/geocaching/config_flow.pyi +2 -3
  328. homeassistant-stubs/components/geocaching/sensor.pyi +2 -2
  329. homeassistant-stubs/components/gios/config_flow.pyi +1 -1
  330. homeassistant-stubs/components/gios/sensor.pyi +2 -2
  331. homeassistant-stubs/components/goalzero/config_flow.pyi +3 -3
  332. homeassistant-stubs/components/goalzero/entity.pyi +1 -1
  333. homeassistant-stubs/components/google/api.pyi +2 -2
  334. homeassistant-stubs/components/google/calendar.pyi +6 -6
  335. homeassistant-stubs/components/google/config_flow.pyi +5 -5
  336. homeassistant-stubs/components/google/store.pyi +1 -1
  337. homeassistant-stubs/components/google_sheets/config_flow.pyi +3 -3
  338. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +7 -7
  339. homeassistant-stubs/components/group/__init__.pyi +13 -13
  340. homeassistant-stubs/components/group/binary_sensor.pyi +3 -3
  341. homeassistant-stubs/components/group/config_flow.pyi +5 -5
  342. homeassistant-stubs/components/group/cover.pyi +7 -7
  343. homeassistant-stubs/components/group/fan.pyi +8 -8
  344. homeassistant-stubs/components/group/light.pyi +2 -2
  345. homeassistant-stubs/components/group/lock.pyi +2 -2
  346. homeassistant-stubs/components/group/media_player.pyi +4 -4
  347. homeassistant-stubs/components/group/notify.pyi +1 -1
  348. homeassistant-stubs/components/group/reproduce_state.pyi +1 -1
  349. homeassistant-stubs/components/group/sensor.pyi +15 -15
  350. homeassistant-stubs/components/group/switch.pyi +2 -2
  351. homeassistant-stubs/components/group/util.pyi +3 -3
  352. homeassistant-stubs/components/guardian/config_flow.pyi +2 -2
  353. homeassistant-stubs/components/hardkernel/config_flow.pyi +1 -1
  354. homeassistant-stubs/components/hardware/models.pyi +11 -11
  355. homeassistant-stubs/components/hardware/websocket_api.pyi +1 -1
  356. homeassistant-stubs/components/here_travel_time/config_flow.pyi +9 -9
  357. homeassistant-stubs/components/here_travel_time/coordinator.pyi +3 -3
  358. homeassistant-stubs/components/here_travel_time/model.pyi +11 -11
  359. homeassistant-stubs/components/here_travel_time/sensor.pyi +4 -4
  360. homeassistant-stubs/components/history/__init__.pyi +3 -3
  361. homeassistant-stubs/components/history/models.pyi +2 -2
  362. homeassistant-stubs/components/history/websocket_api.pyi +8 -8
  363. homeassistant-stubs/components/homeassistant_alerts/__init__.pyi +1 -1
  364. homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +14 -14
  365. homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +1 -1
  366. homeassistant-stubs/components/homekit/__init__.pyi +6 -6
  367. homeassistant-stubs/components/homekit/accessories.pyi +5 -5
  368. homeassistant-stubs/components/homekit/aidmanager.pyi +2 -2
  369. homeassistant-stubs/components/homekit/config_flow.pyi +10 -10
  370. homeassistant-stubs/components/homekit/type_triggers.pyi +2 -2
  371. homeassistant-stubs/components/homekit/util.pyi +5 -5
  372. homeassistant-stubs/components/homekit_controller/alarm_control_panel.pyi +6 -6
  373. homeassistant-stubs/components/homekit_controller/button.pyi +1 -1
  374. homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
  375. homeassistant-stubs/components/homekit_controller/lock.pyi +1 -1
  376. homeassistant-stubs/components/homekit_controller/select.pyi +1 -1
  377. homeassistant-stubs/components/homekit_controller/storage.pyi +2 -2
  378. homeassistant-stubs/components/homewizard/config_flow.pyi +4 -4
  379. homeassistant-stubs/components/homewizard/const.pyi +2 -2
  380. homeassistant-stubs/components/homewizard/number.pyi +2 -2
  381. homeassistant-stubs/components/homewizard/sensor.pyi +2 -2
  382. homeassistant-stubs/components/homewizard/switch.pyi +4 -4
  383. homeassistant-stubs/components/http/__init__.pyi +5 -5
  384. homeassistant-stubs/components/http/auth.pyi +2 -2
  385. homeassistant-stubs/components/http/ban.pyi +2 -2
  386. homeassistant-stubs/components/http/forwarded.pyi +1 -1
  387. homeassistant-stubs/components/http/request_context.pyi +2 -2
  388. homeassistant-stubs/components/http/static.pyi +1 -1
  389. homeassistant-stubs/components/http/view.pyi +3 -3
  390. homeassistant-stubs/components/http/web_runner.pyi +1 -1
  391. homeassistant-stubs/components/huawei_lte/binary_sensor.pyi +2 -2
  392. homeassistant-stubs/components/huawei_lte/config_flow.pyi +6 -6
  393. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +6 -6
  394. homeassistant-stubs/components/huawei_lte/notify.pyi +1 -1
  395. homeassistant-stubs/components/huawei_lte/sensor.pyi +15 -15
  396. homeassistant-stubs/components/huawei_lte/switch.pyi +2 -2
  397. homeassistant-stubs/components/hyperion/__init__.pyi +2 -2
  398. homeassistant-stubs/components/hyperion/camera.pyi +4 -4
  399. homeassistant-stubs/components/hyperion/config_flow.pyi +9 -9
  400. homeassistant-stubs/components/hyperion/light.pyi +11 -11
  401. homeassistant-stubs/components/hyperion/switch.pyi +1 -1
  402. homeassistant-stubs/components/ibeacon/config_flow.pyi +1 -1
  403. homeassistant-stubs/components/ibeacon/entity.pyi +1 -1
  404. homeassistant-stubs/components/ibeacon/sensor.pyi +2 -2
  405. homeassistant-stubs/components/image_processing/__init__.pyi +11 -11
  406. homeassistant-stubs/components/input_button/__init__.pyi +2 -2
  407. homeassistant-stubs/components/input_select/__init__.pyi +1 -1
  408. homeassistant-stubs/components/input_select/reproduce_state.pyi +2 -2
  409. homeassistant-stubs/components/integration/config_flow.pyi +2 -2
  410. homeassistant-stubs/components/integration/sensor.pyi +4 -4
  411. homeassistant-stubs/components/iqvia/config_flow.pyi +1 -1
  412. homeassistant-stubs/components/isy994/__init__.pyi +1 -1
  413. homeassistant-stubs/components/isy994/binary_sensor.pyi +8 -8
  414. homeassistant-stubs/components/isy994/button.pyi +1 -1
  415. homeassistant-stubs/components/isy994/climate.pyi +10 -10
  416. homeassistant-stubs/components/isy994/config_flow.pyi +4 -4
  417. homeassistant-stubs/components/isy994/cover.pyi +2 -2
  418. homeassistant-stubs/components/isy994/entity.pyi +7 -7
  419. homeassistant-stubs/components/isy994/fan.pyi +5 -5
  420. homeassistant-stubs/components/isy994/helpers.pyi +7 -7
  421. homeassistant-stubs/components/isy994/light.pyi +3 -3
  422. homeassistant-stubs/components/isy994/lock.pyi +1 -1
  423. homeassistant-stubs/components/isy994/models.pyi +2 -2
  424. homeassistant-stubs/components/isy994/number.pyi +3 -3
  425. homeassistant-stubs/components/isy994/select.pyi +3 -3
  426. homeassistant-stubs/components/isy994/sensor.pyi +8 -8
  427. homeassistant-stubs/components/isy994/services.pyi +1 -1
  428. homeassistant-stubs/components/isy994/switch.pyi +4 -4
  429. homeassistant-stubs/components/jellyfin/browse_media.pyi +4 -4
  430. homeassistant-stubs/components/jellyfin/client_wrapper.pyi +2 -2
  431. homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
  432. homeassistant-stubs/components/jellyfin/media_player.pyi +3 -3
  433. homeassistant-stubs/components/jellyfin/media_source.pyi +2 -2
  434. homeassistant-stubs/components/jewish_calendar/__init__.pyi +1 -1
  435. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +3 -3
  436. homeassistant-stubs/components/jewish_calendar/sensor.pyi +4 -4
  437. homeassistant-stubs/components/kaleidescape/config_flow.pyi +2 -2
  438. homeassistant-stubs/components/kaleidescape/media_player.pyi +5 -5
  439. homeassistant-stubs/components/knx/__init__.pyi +1 -1
  440. homeassistant-stubs/components/knx/binary_sensor.pyi +1 -1
  441. homeassistant-stubs/components/knx/climate.pyi +6 -6
  442. homeassistant-stubs/components/knx/config_flow.pyi +12 -12
  443. homeassistant-stubs/components/knx/const.pyi +7 -7
  444. homeassistant-stubs/components/knx/cover.pyi +3 -3
  445. homeassistant-stubs/components/knx/expose.pyi +2 -2
  446. homeassistant-stubs/components/knx/fan.pyi +3 -3
  447. homeassistant-stubs/components/knx/light.pyi +6 -6
  448. homeassistant-stubs/components/knx/notify.pyi +1 -1
  449. homeassistant-stubs/components/knx/schema.pyi +17 -17
  450. homeassistant-stubs/components/knx/select.pyi +1 -1
  451. homeassistant-stubs/components/knx/sensor.pyi +3 -3
  452. homeassistant-stubs/components/knx/text.pyi +1 -1
  453. homeassistant-stubs/components/knx/weather.pyi +5 -5
  454. homeassistant-stubs/components/kraken/__init__.pyi +1 -1
  455. homeassistant-stubs/components/kraken/config_flow.pyi +2 -2
  456. homeassistant-stubs/components/kraken/const.pyi +1 -1
  457. homeassistant-stubs/components/lacrosse/sensor.pyi +10 -10
  458. homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
  459. homeassistant-stubs/components/lacrosse_view/sensor.pyi +3 -3
  460. homeassistant-stubs/components/lametric/config_flow.pyi +7 -8
  461. homeassistant-stubs/components/lametric/notify.pyi +1 -1
  462. homeassistant-stubs/components/lametric/number.pyi +2 -2
  463. homeassistant-stubs/components/lametric/select.pyi +1 -1
  464. homeassistant-stubs/components/lametric/sensor.pyi +2 -2
  465. homeassistant-stubs/components/lametric/services.pyi +1 -1
  466. homeassistant-stubs/components/laundrify/config_flow.pyi +3 -3
  467. homeassistant-stubs/components/lcn/__init__.pyi +1 -1
  468. homeassistant-stubs/components/lcn/binary_sensor.pyi +3 -3
  469. homeassistant-stubs/components/lcn/climate.pyi +2 -2
  470. homeassistant-stubs/components/lcn/config_flow.pyi +1 -1
  471. homeassistant-stubs/components/lcn/helpers.pyi +2 -2
  472. homeassistant-stubs/components/lcn/light.pyi +1 -1
  473. homeassistant-stubs/components/lcn/sensor.pyi +2 -2
  474. homeassistant-stubs/components/ld2410_ble/config_flow.pyi +1 -1
  475. homeassistant-stubs/components/lidarr/config_flow.pyi +3 -3
  476. homeassistant-stubs/components/lidarr/sensor.pyi +5 -5
  477. homeassistant-stubs/components/lifx/button.pyi +2 -2
  478. homeassistant-stubs/components/lifx/config_flow.pyi +5 -5
  479. homeassistant-stubs/components/lifx/coordinator.pyi +9 -9
  480. homeassistant-stubs/components/lifx/light.pyi +7 -7
  481. homeassistant-stubs/components/lifx/util.pyi +5 -5
  482. homeassistant-stubs/components/light/__init__.pyi +41 -41
  483. homeassistant-stubs/components/light/device_action.pyi +1 -1
  484. homeassistant-stubs/components/light/intent.pyi +1 -1
  485. homeassistant-stubs/components/light/reproduce_state.pyi +2 -2
  486. homeassistant-stubs/components/light/significant_change.pyi +1 -1
  487. homeassistant-stubs/components/litejet/config_flow.pyi +2 -2
  488. homeassistant-stubs/components/litejet/light.pyi +1 -1
  489. homeassistant-stubs/components/litterrobot/config_flow.pyi +2 -2
  490. homeassistant-stubs/components/litterrobot/select.pyi +5 -5
  491. homeassistant-stubs/components/litterrobot/sensor.pyi +4 -4
  492. homeassistant-stubs/components/litterrobot/switch.pyi +1 -1
  493. homeassistant-stubs/components/litterrobot/update.pyi +1 -1
  494. homeassistant-stubs/components/litterrobot/vacuum.pyi +2 -2
  495. homeassistant-stubs/components/local_ip/config_flow.pyi +1 -1
  496. homeassistant-stubs/components/local_ip/sensor.pyi +1 -1
  497. homeassistant-stubs/components/lock/__init__.pyi +15 -15
  498. homeassistant-stubs/components/lock/device_action.pyi +1 -1
  499. homeassistant-stubs/components/lock/reproduce_state.pyi +2 -2
  500. homeassistant-stubs/components/lock/significant_change.pyi +1 -1
  501. homeassistant-stubs/components/logbook/__init__.pyi +2 -2
  502. homeassistant-stubs/components/logbook/helpers.pyi +4 -4
  503. homeassistant-stubs/components/logbook/models.pyi +14 -14
  504. homeassistant-stubs/components/logbook/processor.pyi +12 -12
  505. homeassistant-stubs/components/logbook/queries/__init__.pyi +1 -1
  506. homeassistant-stubs/components/logbook/queries/all.pyi +1 -1
  507. homeassistant-stubs/components/logbook/rest_api.pyi +3 -3
  508. homeassistant-stubs/components/logbook/websocket_api.pyi +7 -7
  509. homeassistant-stubs/components/lookin/climate.pyi +4 -4
  510. homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
  511. homeassistant-stubs/components/lookin/coordinator.pyi +1 -1
  512. homeassistant-stubs/components/lookin/entity.pyi +4 -4
  513. homeassistant-stubs/components/lookin/models.pyi +1 -1
  514. homeassistant-stubs/components/luftdaten/config_flow.pyi +2 -2
  515. homeassistant-stubs/components/luftdaten/sensor.pyi +1 -1
  516. homeassistant-stubs/components/mastodon/notify.pyi +1 -1
  517. homeassistant-stubs/components/matter/config_flow.pyi +9 -9
  518. homeassistant-stubs/components/matter/entity.pyi +1 -1
  519. homeassistant-stubs/components/matter/helpers.pyi +1 -1
  520. homeassistant-stubs/components/matter/lock.pyi +1 -1
  521. homeassistant-stubs/components/matter/models.pyi +7 -7
  522. homeassistant-stubs/components/media_player/__init__.pyi +76 -76
  523. homeassistant-stubs/components/media_player/browse_media.pyi +1 -1
  524. homeassistant-stubs/components/media_player/reproduce_state.pyi +2 -2
  525. homeassistant-stubs/components/media_source/__init__.pyi +2 -2
  526. homeassistant-stubs/components/media_source/local_source.pyi +2 -2
  527. homeassistant-stubs/components/media_source/models.pyi +5 -5
  528. homeassistant-stubs/components/metoffice/config_flow.pyi +1 -1
  529. homeassistant-stubs/components/metoffice/helpers.pyi +1 -1
  530. homeassistant-stubs/components/metoffice/sensor.pyi +2 -2
  531. homeassistant-stubs/components/metoffice/weather.pyi +9 -9
  532. homeassistant-stubs/components/mikrotik/config_flow.pyi +5 -5
  533. homeassistant-stubs/components/mikrotik/device.pyi +3 -3
  534. homeassistant-stubs/components/mikrotik/device_tracker.pyi +2 -2
  535. homeassistant-stubs/components/mikrotik/hub.pyi +1 -1
  536. homeassistant-stubs/components/min_max/config_flow.pyi +2 -2
  537. homeassistant-stubs/components/min_max/sensor.pyi +12 -12
  538. homeassistant-stubs/components/mjpeg/camera.pyi +5 -5
  539. homeassistant-stubs/components/mjpeg/config_flow.pyi +4 -4
  540. homeassistant-stubs/components/modbus/base_platform.pyi +4 -4
  541. homeassistant-stubs/components/modbus/binary_sensor.pyi +3 -3
  542. homeassistant-stubs/components/modbus/climate.pyi +3 -3
  543. homeassistant-stubs/components/modbus/cover.pyi +3 -3
  544. homeassistant-stubs/components/modbus/fan.pyi +3 -3
  545. homeassistant-stubs/components/modbus/light.pyi +1 -1
  546. homeassistant-stubs/components/modbus/modbus.pyi +2 -2
  547. homeassistant-stubs/components/modbus/sensor.pyi +3 -3
  548. homeassistant-stubs/components/modbus/switch.pyi +1 -1
  549. homeassistant-stubs/components/modbus/validators.pyi +1 -1
  550. homeassistant-stubs/components/modem_callerid/config_flow.pyi +3 -3
  551. homeassistant-stubs/components/modem_callerid/sensor.pyi +1 -1
  552. homeassistant-stubs/components/moon/config_flow.pyi +1 -1
  553. homeassistant-stubs/components/mopeka/config_flow.pyi +2 -2
  554. homeassistant-stubs/components/mopeka/sensor.pyi +1 -1
  555. homeassistant-stubs/components/mqtt/__init__.pyi +1 -1
  556. homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +14 -14
  557. homeassistant-stubs/components/mqtt/binary_sensor.pyi +4 -4
  558. homeassistant-stubs/components/mqtt/button.pyi +2 -2
  559. homeassistant-stubs/components/mqtt/camera.pyi +3 -3
  560. homeassistant-stubs/components/mqtt/client.pyi +9 -9
  561. homeassistant-stubs/components/mqtt/climate.pyi +4 -4
  562. homeassistant-stubs/components/mqtt/config_flow.pyi +8 -8
  563. homeassistant-stubs/components/mqtt/cover.pyi +6 -6
  564. homeassistant-stubs/components/mqtt/device_tracker.pyi +6 -6
  565. homeassistant-stubs/components/mqtt/device_trigger.pyi +6 -6
  566. homeassistant-stubs/components/mqtt/diagnostics.pyi +1 -1
  567. homeassistant-stubs/components/mqtt/fan.pyi +5 -5
  568. homeassistant-stubs/components/mqtt/humidifier.pyi +3 -3
  569. homeassistant-stubs/components/mqtt/light/__init__.pyi +1 -1
  570. homeassistant-stubs/components/mqtt/light/schema_basic.pyi +5 -5
  571. homeassistant-stubs/components/mqtt/light/schema_json.pyi +8 -8
  572. homeassistant-stubs/components/mqtt/light/schema_template.pyi +6 -6
  573. homeassistant-stubs/components/mqtt/lock.pyi +4 -4
  574. homeassistant-stubs/components/mqtt/mixins.pyi +12 -12
  575. homeassistant-stubs/components/mqtt/models.pyi +5 -5
  576. homeassistant-stubs/components/mqtt/number.pyi +3 -3
  577. homeassistant-stubs/components/mqtt/scene.pyi +2 -2
  578. homeassistant-stubs/components/mqtt/select.pyi +3 -3
  579. homeassistant-stubs/components/mqtt/sensor.pyi +7 -7
  580. homeassistant-stubs/components/mqtt/siren.pyi +6 -6
  581. homeassistant-stubs/components/mqtt/subscription.pyi +8 -8
  582. homeassistant-stubs/components/mqtt/switch.pyi +2 -2
  583. homeassistant-stubs/components/mqtt/tag.pyi +1 -1
  584. homeassistant-stubs/components/mqtt/text.pyi +4 -4
  585. homeassistant-stubs/components/mqtt/update.pyi +4 -4
  586. homeassistant-stubs/components/mqtt/util.pyi +3 -3
  587. homeassistant-stubs/components/mqtt/vacuum/__init__.pyi +1 -1
  588. homeassistant-stubs/components/mqtt/vacuum/schema_legacy.pyi +10 -10
  589. homeassistant-stubs/components/mqtt/vacuum/schema_state.pyi +9 -9
  590. homeassistant-stubs/components/mysensors/__init__.pyi +1 -1
  591. homeassistant-stubs/components/mysensors/climate.pyi +6 -6
  592. homeassistant-stubs/components/mysensors/config_flow.pyi +4 -4
  593. homeassistant-stubs/components/mysensors/cover.pyi +1 -1
  594. homeassistant-stubs/components/mysensors/device_tracker.pyi +4 -4
  595. homeassistant-stubs/components/mysensors/gateway.pyi +2 -2
  596. homeassistant-stubs/components/mysensors/helpers.pyi +1 -1
  597. homeassistant-stubs/components/mysensors/remote.pyi +2 -2
  598. homeassistant-stubs/components/mysensors/sensor.pyi +3 -3
  599. homeassistant-stubs/components/mysensors/text.pyi +1 -1
  600. homeassistant-stubs/components/nam/__init__.pyi +2 -2
  601. homeassistant-stubs/components/nam/config_flow.pyi +4 -4
  602. homeassistant-stubs/components/nam/sensor.pyi +2 -2
  603. homeassistant-stubs/components/nanoleaf/config_flow.pyi +3 -3
  604. homeassistant-stubs/components/nanoleaf/light.pyi +2 -2
  605. homeassistant-stubs/components/neato/camera.pyi +2 -2
  606. homeassistant-stubs/components/neato/config_flow.pyi +3 -4
  607. homeassistant-stubs/components/neato/sensor.pyi +1 -1
  608. homeassistant-stubs/components/neato/vacuum.pyi +3 -3
  609. homeassistant-stubs/components/nest/__init__.pyi +3 -3
  610. homeassistant-stubs/components/nest/api.pyi +1 -1
  611. homeassistant-stubs/components/nest/camera_sdm.pyi +6 -6
  612. homeassistant-stubs/components/nest/climate_sdm.pyi +9 -9
  613. homeassistant-stubs/components/nest/config_flow.pyi +15 -15
  614. homeassistant-stubs/components/nest/device_info.pyi +3 -3
  615. homeassistant-stubs/components/nest/legacy/camera.pyi +1 -1
  616. homeassistant-stubs/components/nest/media_source.pyi +5 -5
  617. homeassistant-stubs/components/nest/sensor_sdm.pyi +3 -3
  618. homeassistant-stubs/components/netatmo/camera.pyi +3 -3
  619. homeassistant-stubs/components/netatmo/climate.pyi +4 -4
  620. homeassistant-stubs/components/netatmo/config_flow.pyi +5 -5
  621. homeassistant-stubs/components/netatmo/data_handler.pyi +3 -3
  622. homeassistant-stubs/components/netatmo/media_source.pyi +3 -3
  623. homeassistant-stubs/components/netatmo/netatmo_entity_base.pyi +1 -1
  624. homeassistant-stubs/components/network/__init__.pyi +2 -2
  625. homeassistant-stubs/components/network/util.pyi +3 -3
  626. homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
  627. homeassistant-stubs/components/nfandroidtv/config_flow.pyi +2 -2
  628. homeassistant-stubs/components/nfandroidtv/notify.pyi +2 -2
  629. homeassistant-stubs/components/nissan_leaf/__init__.pyi +1 -1
  630. homeassistant-stubs/components/nissan_leaf/binary_sensor.pyi +1 -1
  631. homeassistant-stubs/components/nissan_leaf/button.pyi +1 -1
  632. homeassistant-stubs/components/nissan_leaf/sensor.pyi +3 -3
  633. homeassistant-stubs/components/nissan_leaf/switch.pyi +1 -1
  634. homeassistant-stubs/components/notify/legacy.pyi +3 -3
  635. homeassistant-stubs/components/notion/config_flow.pyi +2 -2
  636. homeassistant-stubs/components/number/__init__.pyi +23 -23
  637. homeassistant-stubs/components/number/const.pyi +1 -1
  638. homeassistant-stubs/components/number/device_action.pyi +1 -1
  639. homeassistant-stubs/components/number/reproduce_state.pyi +2 -2
  640. homeassistant-stubs/components/nut/__init__.pyi +13 -13
  641. homeassistant-stubs/components/nut/config_flow.pyi +4 -4
  642. homeassistant-stubs/components/nut/sensor.pyi +2 -2
  643. homeassistant-stubs/components/oncue/config_flow.pyi +1 -1
  644. homeassistant-stubs/components/onewire/config_flow.pyi +4 -4
  645. homeassistant-stubs/components/onewire/onewire_entities.pyi +4 -4
  646. homeassistant-stubs/components/onewire/onewirehub.pyi +1 -1
  647. homeassistant-stubs/components/onewire/sensor.pyi +1 -1
  648. homeassistant-stubs/components/open_meteo/config_flow.pyi +1 -1
  649. homeassistant-stubs/components/open_meteo/weather.pyi +5 -5
  650. homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -1
  651. homeassistant-stubs/components/openexchangerates/sensor.pyi +2 -2
  652. homeassistant-stubs/components/openuv/config_flow.pyi +2 -2
  653. homeassistant-stubs/components/otbr/__init__.pyi +2 -23
  654. homeassistant-stubs/components/otbr/config_flow.pyi +1 -1
  655. homeassistant-stubs/components/otbr/util.pyi +33 -4
  656. homeassistant-stubs/components/otbr/websocket_api.pyi +1 -2
  657. homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +15 -15
  658. homeassistant-stubs/components/overkiz/binary_sensor.pyi +1 -1
  659. homeassistant-stubs/components/overkiz/button.pyi +1 -1
  660. homeassistant-stubs/components/overkiz/climate_entities/atlantic_electrical_heater.pyi +2 -2
  661. homeassistant-stubs/components/overkiz/climate_entities/atlantic_electrical_heater_with_adjustable_temperature_setpoint.pyi +4 -4
  662. homeassistant-stubs/components/overkiz/climate_entities/atlantic_electrical_towel_dryer.pyi +3 -3
  663. homeassistant-stubs/components/overkiz/climate_entities/atlantic_heat_recovery_ventilation.pyi +5 -5
  664. homeassistant-stubs/components/overkiz/climate_entities/atlantic_pass_apc_heating_zone.pyi +2 -2
  665. homeassistant-stubs/components/overkiz/climate_entities/somfy_thermostat.pyi +3 -3
  666. homeassistant-stubs/components/overkiz/climate_entities/valve_heating_temperature_interface.pyi +2 -2
  667. homeassistant-stubs/components/overkiz/config_flow.pyi +3 -3
  668. homeassistant-stubs/components/overkiz/const.pyi +2 -2
  669. homeassistant-stubs/components/overkiz/coordinator.pyi +1 -1
  670. homeassistant-stubs/components/overkiz/cover_entities/awning.pyi +3 -3
  671. homeassistant-stubs/components/overkiz/cover_entities/generic_cover.pyi +3 -3
  672. homeassistant-stubs/components/overkiz/cover_entities/vertical_cover.pyi +3 -3
  673. homeassistant-stubs/components/overkiz/executor.pyi +2 -2
  674. homeassistant-stubs/components/overkiz/light.pyi +2 -2
  675. homeassistant-stubs/components/overkiz/lock.pyi +1 -1
  676. homeassistant-stubs/components/overkiz/number.pyi +2 -2
  677. homeassistant-stubs/components/overkiz/select.pyi +1 -1
  678. homeassistant-stubs/components/overkiz/sensor.pyi +3 -3
  679. homeassistant-stubs/components/overkiz/switch.pyi +4 -4
  680. homeassistant-stubs/components/overkiz/water_heater_entities/domestic_hot_water_production.pyi +6 -6
  681. homeassistant-stubs/components/overkiz/water_heater_entities/hitachi_dhw.pyi +4 -4
  682. homeassistant-stubs/components/peco/config_flow.pyi +1 -1
  683. homeassistant-stubs/components/peco/sensor.pyi +2 -2
  684. homeassistant-stubs/components/persistent_notification/__init__.pyi +3 -3
  685. homeassistant-stubs/components/pi_hole/binary_sensor.pyi +3 -3
  686. homeassistant-stubs/components/pi_hole/config_flow.pyi +3 -3
  687. homeassistant-stubs/components/pi_hole/sensor.pyi +1 -1
  688. homeassistant-stubs/components/pi_hole/update.pyi +8 -8
  689. homeassistant-stubs/components/powerwall/__init__.pyi +1 -1
  690. homeassistant-stubs/components/powerwall/config_flow.pyi +4 -4
  691. homeassistant-stubs/components/powerwall/models.pyi +3 -3
  692. homeassistant-stubs/components/powerwall/sensor.pyi +3 -3
  693. homeassistant-stubs/components/proximity/__init__.pyi +2 -2
  694. homeassistant-stubs/components/prusalink/camera.pyi +1 -1
  695. homeassistant-stubs/components/prusalink/config_flow.pyi +1 -1
  696. homeassistant-stubs/components/prusalink/sensor.pyi +2 -2
  697. homeassistant-stubs/components/pure_energie/config_flow.pyi +2 -2
  698. homeassistant-stubs/components/pure_energie/sensor.pyi +2 -2
  699. homeassistant-stubs/components/purpleair/config_flow.pyi +8 -8
  700. homeassistant-stubs/components/purpleair/sensor.pyi +2 -2
  701. homeassistant-stubs/components/pvoutput/config_flow.pyi +4 -4
  702. homeassistant-stubs/components/pvoutput/sensor.pyi +2 -2
  703. homeassistant-stubs/components/qnap_qsw/binary_sensor.pyi +3 -3
  704. homeassistant-stubs/components/qnap_qsw/config_flow.pyi +4 -4
  705. homeassistant-stubs/components/qnap_qsw/entity.pyi +6 -5
  706. homeassistant-stubs/components/qnap_qsw/sensor.pyi +3 -3
  707. homeassistant-stubs/components/radarr/config_flow.pyi +3 -3
  708. homeassistant-stubs/components/radarr/sensor.pyi +4 -4
  709. homeassistant-stubs/components/rainmachine/config_flow.pyi +4 -4
  710. homeassistant-stubs/components/rainmachine/update.pyi +1 -1
  711. homeassistant-stubs/components/raspberry_pi/config_flow.pyi +1 -1
  712. homeassistant-stubs/components/rdw/binary_sensor.pyi +1 -1
  713. homeassistant-stubs/components/rdw/config_flow.pyi +1 -1
  714. homeassistant-stubs/components/rdw/sensor.pyi +2 -2
  715. homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
  716. homeassistant-stubs/components/recollect_waste/config_flow.pyi +2 -2
  717. homeassistant-stubs/components/recorder/core.pyi +5 -5
  718. homeassistant-stubs/components/recorder/db_schema.pyi +81 -81
  719. homeassistant-stubs/components/recorder/filters.pyi +2 -2
  720. homeassistant-stubs/components/recorder/history/__init__.pyi +4 -4
  721. homeassistant-stubs/components/recorder/history/legacy.pyi +9 -9
  722. homeassistant-stubs/components/recorder/history/modern.pyi +9 -9
  723. homeassistant-stubs/components/recorder/migration.pyi +6 -6
  724. homeassistant-stubs/components/recorder/models/context.pyi +4 -4
  725. homeassistant-stubs/components/recorder/models/database.pyi +1 -1
  726. homeassistant-stubs/components/recorder/models/legacy.pyi +2 -2
  727. homeassistant-stubs/components/recorder/models/state.pyi +3 -3
  728. homeassistant-stubs/components/recorder/models/statistics.pyi +4 -4
  729. homeassistant-stubs/components/recorder/models/time.pyi +2 -2
  730. homeassistant-stubs/components/recorder/queries.pyi +4 -4
  731. homeassistant-stubs/components/recorder/statistics.pyi +34 -34
  732. homeassistant-stubs/components/recorder/system_health/mysql.pyi +1 -1
  733. homeassistant-stubs/components/recorder/system_health/postgresql.pyi +1 -1
  734. homeassistant-stubs/components/recorder/system_health/sqlite.pyi +1 -1
  735. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +2 -2
  736. homeassistant-stubs/components/recorder/table_managers/event_data.pyi +4 -4
  737. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
  738. homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
  739. homeassistant-stubs/components/recorder/table_managers/state_attributes.pyi +4 -4
  740. homeassistant-stubs/components/recorder/table_managers/states.pyi +2 -2
  741. homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +2 -2
  742. homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +7 -7
  743. homeassistant-stubs/components/recorder/tasks.pyi +3 -3
  744. homeassistant-stubs/components/recorder/util.pyi +7 -7
  745. homeassistant-stubs/components/recorder/websocket_api.pyi +3 -3
  746. homeassistant-stubs/components/remote/__init__.pyi +5 -5
  747. homeassistant-stubs/components/remote/device_action.pyi +1 -1
  748. homeassistant-stubs/components/remote/reproduce_state.pyi +2 -2
  749. homeassistant-stubs/components/renault/binary_sensor.pyi +3 -3
  750. homeassistant-stubs/components/renault/config_flow.pyi +5 -5
  751. homeassistant-stubs/components/renault/device_tracker.pyi +2 -2
  752. homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
  753. homeassistant-stubs/components/renault/select.pyi +2 -2
  754. homeassistant-stubs/components/renault/sensor.pyi +7 -7
  755. homeassistant-stubs/components/repairs/__init__.pyi +1 -1
  756. homeassistant-stubs/components/repairs/issue_handler.pyi +3 -3
  757. homeassistant-stubs/components/repairs/models.pyi +2 -2
  758. homeassistant-stubs/components/rest/__init__.pyi +1 -1
  759. homeassistant-stubs/components/rest/binary_sensor.pyi +2 -2
  760. homeassistant-stubs/components/rest/data.pyi +1 -1
  761. homeassistant-stubs/components/rest/entity.pyi +1 -1
  762. homeassistant-stubs/components/rest/notify.pyi +2 -2
  763. homeassistant-stubs/components/rest/sensor.pyi +2 -2
  764. homeassistant-stubs/components/rest/switch.pyi +2 -2
  765. homeassistant-stubs/components/rfxtrx/__init__.pyi +12 -12
  766. homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
  767. homeassistant-stubs/components/rfxtrx/config_flow.pyi +13 -13
  768. homeassistant-stubs/components/rfxtrx/cover.pyi +2 -2
  769. homeassistant-stubs/components/rfxtrx/device_action.pyi +1 -1
  770. homeassistant-stubs/components/rfxtrx/sensor.pyi +5 -5
  771. homeassistant-stubs/components/rfxtrx/siren.pyi +4 -4
  772. homeassistant-stubs/components/rfxtrx/switch.pyi +1 -1
  773. homeassistant-stubs/components/rhasspy/config_flow.pyi +1 -1
  774. homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
  775. homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
  776. homeassistant-stubs/components/rituals_perfume_genie/config_flow.pyi +1 -1
  777. homeassistant-stubs/components/rituals_perfume_genie/number.pyi +2 -3
  778. homeassistant-stubs/components/rituals_perfume_genie/select.pyi +1 -1
  779. homeassistant-stubs/components/rituals_perfume_genie/sensor.pyi +2 -2
  780. homeassistant-stubs/components/roku/binary_sensor.pyi +2 -2
  781. homeassistant-stubs/components/roku/browse_media.pyi +3 -3
  782. homeassistant-stubs/components/roku/config_flow.pyi +3 -3
  783. homeassistant-stubs/components/roku/coordinator.pyi +1 -1
  784. homeassistant-stubs/components/roku/entity.pyi +1 -1
  785. homeassistant-stubs/components/roku/helpers.pyi +1 -1
  786. homeassistant-stubs/components/roku/media_player.pyi +14 -14
  787. homeassistant-stubs/components/roku/select.pyi +4 -4
  788. homeassistant-stubs/components/roku/sensor.pyi +2 -2
  789. homeassistant-stubs/components/rpi_power/config_flow.pyi +1 -1
  790. homeassistant-stubs/components/rss_feed_template/__init__.pyi +1 -1
  791. homeassistant-stubs/components/rtsp_to_webrtc/config_flow.pyi +4 -4
  792. homeassistant-stubs/components/ruuvi_gateway/config_flow.pyi +2 -2
  793. homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
  794. homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +2 -2
  795. homeassistant-stubs/components/ruuvitag_ble/sensor.pyi +2 -2
  796. homeassistant-stubs/components/samsungtv/bridge.pyi +17 -17
  797. homeassistant-stubs/components/samsungtv/config_flow.pyi +10 -10
  798. homeassistant-stubs/components/samsungtv/media_player.pyi +2 -2
  799. homeassistant-stubs/components/samsungtv/triggers/turn_on.pyi +1 -1
  800. homeassistant-stubs/components/scene/__init__.pyi +2 -2
  801. homeassistant-stubs/components/schedule/__init__.pyi +3 -3
  802. homeassistant-stubs/components/scrape/config_flow.pyi +2 -2
  803. homeassistant-stubs/components/scrape/sensor.pyi +2 -2
  804. homeassistant-stubs/components/select/__init__.pyi +4 -4
  805. homeassistant-stubs/components/select/device_action.pyi +1 -1
  806. homeassistant-stubs/components/select/reproduce_state.pyi +2 -2
  807. homeassistant-stubs/components/senseme/config_flow.pyi +3 -3
  808. homeassistant-stubs/components/senseme/fan.pyi +1 -1
  809. homeassistant-stubs/components/sensibo/binary_sensor.pyi +4 -4
  810. homeassistant-stubs/components/sensibo/climate.pyi +11 -11
  811. homeassistant-stubs/components/sensibo/config_flow.pyi +3 -3
  812. homeassistant-stubs/components/sensibo/entity.pyi +1 -1
  813. homeassistant-stubs/components/sensibo/number.pyi +2 -2
  814. homeassistant-stubs/components/sensibo/select.pyi +4 -4
  815. homeassistant-stubs/components/sensibo/sensor.pyi +6 -6
  816. homeassistant-stubs/components/sensibo/switch.pyi +4 -4
  817. homeassistant-stubs/components/sensibo/update.pyi +4 -4
  818. homeassistant-stubs/components/sensirion_ble/config_flow.pyi +2 -2
  819. homeassistant-stubs/components/sensirion_ble/sensor.pyi +3 -3
  820. homeassistant-stubs/components/sensor/__init__.pyi +37 -37
  821. homeassistant-stubs/components/sensor/const.pyi +2 -2
  822. homeassistant-stubs/components/sensor/helpers.pyi +1 -1
  823. homeassistant-stubs/components/sensor/recorder.pyi +8 -8
  824. homeassistant-stubs/components/sensor/significant_change.pyi +2 -2
  825. homeassistant-stubs/components/senz/climate.pyi +1 -1
  826. homeassistant-stubs/components/senz/config_flow.pyi +1 -2
  827. homeassistant-stubs/components/sfr_box/binary_sensor.pyi +2 -2
  828. homeassistant-stubs/components/sfr_box/config_flow.pyi +5 -5
  829. homeassistant-stubs/components/shelly/binary_sensor.pyi +2 -2
  830. homeassistant-stubs/components/shelly/button.pyi +2 -2
  831. homeassistant-stubs/components/shelly/climate.pyi +5 -5
  832. homeassistant-stubs/components/shelly/config_flow.pyi +6 -6
  833. homeassistant-stubs/components/shelly/coordinator.pyi +7 -7
  834. homeassistant-stubs/components/shelly/cover.pyi +2 -2
  835. homeassistant-stubs/components/shelly/entity.pyi +14 -14
  836. homeassistant-stubs/components/shelly/light.pyi +2 -2
  837. homeassistant-stubs/components/shelly/number.pyi +1 -1
  838. homeassistant-stubs/components/shelly/sensor.pyi +3 -3
  839. homeassistant-stubs/components/shelly/update.pyi +8 -8
  840. homeassistant-stubs/components/shelly/utils.pyi +6 -6
  841. homeassistant-stubs/components/simplepush/config_flow.pyi +2 -2
  842. homeassistant-stubs/components/simplepush/notify.pyi +1 -1
  843. homeassistant-stubs/components/simplisafe/__init__.pyi +1 -1
  844. homeassistant-stubs/components/simplisafe/alarm_control_panel.pyi +4 -4
  845. homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -1
  846. homeassistant-stubs/components/simplisafe/config_flow.pyi +2 -2
  847. homeassistant-stubs/components/skybell/camera.pyi +1 -1
  848. homeassistant-stubs/components/skybell/config_flow.pyi +2 -2
  849. homeassistant-stubs/components/skybell/light.pyi +1 -1
  850. homeassistant-stubs/components/skybell/sensor.pyi +2 -2
  851. homeassistant-stubs/components/slack/__init__.pyi +1 -1
  852. homeassistant-stubs/components/slack/config_flow.pyi +2 -2
  853. homeassistant-stubs/components/slack/notify.pyi +4 -4
  854. homeassistant-stubs/components/sleepiq/config_flow.pyi +3 -3
  855. homeassistant-stubs/components/sleepiq/entity.pyi +2 -2
  856. homeassistant-stubs/components/smhi/config_flow.pyi +1 -1
  857. homeassistant-stubs/components/smhi/weather.pyi +2 -2
  858. homeassistant-stubs/components/snooz/config_flow.pyi +5 -5
  859. homeassistant-stubs/components/snooz/fan.pyi +3 -3
  860. homeassistant-stubs/components/sonarr/config_flow.pyi +3 -3
  861. homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +2 -2
  862. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
  863. homeassistant-stubs/components/ssdp/__init__.pyi +12 -12
  864. homeassistant-stubs/components/statistics/sensor.pyi +16 -16
  865. homeassistant-stubs/components/steamist/config_flow.pyi +3 -3
  866. homeassistant-stubs/components/steamist/coordinator.pyi +1 -1
  867. homeassistant-stubs/components/steamist/discovery.pyi +4 -4
  868. homeassistant-stubs/components/steamist/sensor.pyi +2 -2
  869. homeassistant-stubs/components/stookalert/config_flow.pyi +1 -1
  870. homeassistant-stubs/components/stream/__init__.pyi +3 -3
  871. homeassistant-stubs/components/stream/core.pyi +7 -7
  872. homeassistant-stubs/components/stream/worker.pyi +3 -3
  873. homeassistant-stubs/components/sun/__init__.pyi +5 -5
  874. homeassistant-stubs/components/sun/config_flow.pyi +1 -1
  875. homeassistant-stubs/components/sun/sensor.pyi +3 -2
  876. homeassistant-stubs/components/surepetcare/config_flow.pyi +3 -3
  877. homeassistant-stubs/components/surepetcare/sensor.pyi +1 -1
  878. homeassistant-stubs/components/switch/__init__.pyi +3 -3
  879. homeassistant-stubs/components/switch/device_action.pyi +1 -1
  880. homeassistant-stubs/components/switch/light.pyi +2 -2
  881. homeassistant-stubs/components/switch/reproduce_state.pyi +2 -2
  882. homeassistant-stubs/components/switch/significant_change.pyi +1 -1
  883. homeassistant-stubs/components/switchbee/climate.pyi +4 -4
  884. homeassistant-stubs/components/switchbee/config_flow.pyi +1 -1
  885. homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
  886. homeassistant-stubs/components/switchbee/cover.pyi +1 -1
  887. homeassistant-stubs/components/switcher_kis/config_flow.pyi +2 -2
  888. homeassistant-stubs/components/switcher_kis/sensor.pyi +4 -4
  889. homeassistant-stubs/components/synology_dsm/binary_sensor.pyi +1 -1
  890. homeassistant-stubs/components/synology_dsm/camera.pyi +2 -2
  891. homeassistant-stubs/components/synology_dsm/config_flow.pyi +9 -9
  892. homeassistant-stubs/components/synology_dsm/entity.pyi +3 -4
  893. homeassistant-stubs/components/synology_dsm/models.pyi +2 -2
  894. homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -2
  895. homeassistant-stubs/components/synology_dsm/switch.pyi +0 -1
  896. homeassistant-stubs/components/synology_dsm/update.pyi +3 -3
  897. homeassistant-stubs/components/systemmonitor/sensor.pyi +8 -8
  898. homeassistant-stubs/components/tag/__init__.pyi +1 -1
  899. homeassistant-stubs/components/tailscale/binary_sensor.pyi +2 -2
  900. homeassistant-stubs/components/tailscale/config_flow.pyi +3 -3
  901. homeassistant-stubs/components/tailscale/sensor.pyi +2 -2
  902. homeassistant-stubs/components/tautulli/__init__.pyi +1 -1
  903. homeassistant-stubs/components/tautulli/config_flow.pyi +3 -3
  904. homeassistant-stubs/components/tautulli/sensor.pyi +2 -2
  905. homeassistant-stubs/components/tcp/binary_sensor.pyi +1 -1
  906. homeassistant-stubs/components/tcp/model.pyi +3 -3
  907. homeassistant-stubs/components/tcp/sensor.pyi +2 -2
  908. homeassistant-stubs/components/threshold/binary_sensor.pyi +5 -5
  909. homeassistant-stubs/components/threshold/config_flow.pyi +2 -2
  910. homeassistant-stubs/components/tibber/config_flow.pyi +1 -1
  911. homeassistant-stubs/components/tibber/notify.pyi +1 -1
  912. homeassistant-stubs/components/tile/config_flow.pyi +2 -2
  913. homeassistant-stubs/components/tile/device_tracker.pyi +4 -4
  914. homeassistant-stubs/components/tilt_ble/config_flow.pyi +2 -2
  915. homeassistant-stubs/components/tilt_ble/sensor.pyi +1 -1
  916. homeassistant-stubs/components/tolo/climate.pyi +6 -6
  917. homeassistant-stubs/components/tolo/config_flow.pyi +3 -3
  918. homeassistant-stubs/components/tolo/fan.pyi +1 -1
  919. homeassistant-stubs/components/tolo/number.pyi +2 -2
  920. homeassistant-stubs/components/tolo/sensor.pyi +3 -3
  921. homeassistant-stubs/components/tplink/config_flow.pyi +3 -3
  922. homeassistant-stubs/components/tplink/light.pyi +8 -8
  923. homeassistant-stubs/components/tplink/sensor.pyi +4 -4
  924. homeassistant-stubs/components/tplink_omada/config_flow.pyi +4 -4
  925. homeassistant-stubs/components/tplink_omada/switch.pyi +1 -1
  926. homeassistant-stubs/components/tplink_omada/update.pyi +3 -3
  927. homeassistant-stubs/components/tractive/__init__.pyi +1 -1
  928. homeassistant-stubs/components/tractive/config_flow.pyi +2 -2
  929. homeassistant-stubs/components/tradfri/base_class.pyi +2 -2
  930. homeassistant-stubs/components/tradfri/config_flow.pyi +4 -4
  931. homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
  932. homeassistant-stubs/components/tradfri/cover.pyi +3 -3
  933. homeassistant-stubs/components/tradfri/fan.pyi +5 -5
  934. homeassistant-stubs/components/tradfri/light.pyi +4 -4
  935. homeassistant-stubs/components/tradfri/sensor.pyi +3 -3
  936. homeassistant-stubs/components/tradfri/switch.pyi +1 -1
  937. homeassistant-stubs/components/trafikverket_ferry/config_flow.pyi +3 -3
  938. homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +3 -3
  939. homeassistant-stubs/components/trafikverket_ferry/util.pyi +1 -1
  940. homeassistant-stubs/components/trafikverket_train/config_flow.pyi +3 -3
  941. homeassistant-stubs/components/trafikverket_train/sensor.pyi +2 -2
  942. homeassistant-stubs/components/trafikverket_train/util.pyi +1 -1
  943. homeassistant-stubs/components/trafikverket_weatherstation/config_flow.pyi +1 -1
  944. homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +2 -2
  945. homeassistant-stubs/components/tts/__init__.pyi +16 -16
  946. homeassistant-stubs/components/tts/media_source.pyi +5 -5
  947. homeassistant-stubs/components/tts/notify.pyi +1 -1
  948. homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
  949. homeassistant-stubs/components/twentemilieu/config_flow.pyi +2 -2
  950. homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -1
  951. homeassistant-stubs/components/unifi/__init__.pyi +2 -2
  952. homeassistant-stubs/components/unifi/config_flow.pyi +8 -8
  953. homeassistant-stubs/components/unifi/controller.pyi +4 -4
  954. homeassistant-stubs/components/unifi/device_tracker.pyi +3 -3
  955. homeassistant-stubs/components/unifi/diagnostics.pyi +1 -1
  956. homeassistant-stubs/components/unifi/entity.pyi +5 -5
  957. homeassistant-stubs/components/unifi/sensor.pyi +1 -1
  958. homeassistant-stubs/components/unifi/switch.pyi +1 -1
  959. homeassistant-stubs/components/unifi/update.pyi +1 -1
  960. homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +2 -2
  961. homeassistant-stubs/components/unifiprotect/button.pyi +1 -1
  962. homeassistant-stubs/components/unifiprotect/camera.pyi +4 -4
  963. homeassistant-stubs/components/unifiprotect/config_flow.pyi +5 -5
  964. homeassistant-stubs/components/unifiprotect/data.pyi +3 -3
  965. homeassistant-stubs/components/unifiprotect/entity.pyi +4 -4
  966. homeassistant-stubs/components/unifiprotect/media_player.pyi +2 -2
  967. homeassistant-stubs/components/unifiprotect/media_source.pyi +7 -7
  968. homeassistant-stubs/components/unifiprotect/models.pyi +10 -10
  969. homeassistant-stubs/components/unifiprotect/number.pyi +5 -5
  970. homeassistant-stubs/components/unifiprotect/repairs.pyi +5 -5
  971. homeassistant-stubs/components/unifiprotect/select.pyi +7 -7
  972. homeassistant-stubs/components/unifiprotect/sensor.pyi +4 -4
  973. homeassistant-stubs/components/unifiprotect/text.pyi +1 -1
  974. homeassistant-stubs/components/unifiprotect/utils.pyi +1 -1
  975. homeassistant-stubs/components/unifiprotect/views.pyi +3 -3
  976. homeassistant-stubs/components/upcloud/config_flow.pyi +3 -3
  977. homeassistant-stubs/components/update/__init__.pyi +26 -26
  978. homeassistant-stubs/components/update/significant_change.pyi +1 -1
  979. homeassistant-stubs/components/uptime/config_flow.pyi +1 -1
  980. homeassistant-stubs/components/uptimerobot/config_flow.pyi +3 -3
  981. homeassistant-stubs/components/uptimerobot/entity.pyi +1 -1
  982. homeassistant-stubs/components/usb/__init__.pyi +3 -3
  983. homeassistant-stubs/components/usb/models.pyi +3 -3
  984. homeassistant-stubs/components/vacuum/__init__.pyi +11 -11
  985. homeassistant-stubs/components/vacuum/device_action.pyi +1 -1
  986. homeassistant-stubs/components/vacuum/reproduce_state.pyi +2 -2
  987. homeassistant-stubs/components/vallox/__init__.pyi +3 -3
  988. homeassistant-stubs/components/vallox/binary_sensor.pyi +1 -1
  989. homeassistant-stubs/components/vallox/config_flow.pyi +1 -1
  990. homeassistant-stubs/components/vallox/fan.pyi +5 -5
  991. homeassistant-stubs/components/vallox/number.pyi +1 -1
  992. homeassistant-stubs/components/vallox/sensor.pyi +5 -5
  993. homeassistant-stubs/components/vallox/switch.pyi +1 -1
  994. homeassistant-stubs/components/velbus/button.pyi +1 -1
  995. homeassistant-stubs/components/velbus/climate.pyi +3 -3
  996. homeassistant-stubs/components/velbus/config_flow.pyi +2 -2
  997. homeassistant-stubs/components/velbus/cover.pyi +2 -2
  998. homeassistant-stubs/components/velbus/sensor.pyi +3 -3
  999. homeassistant-stubs/components/vlc_telnet/config_flow.pyi +6 -6
  1000. homeassistant-stubs/components/vlc_telnet/media_player.pyi +9 -9
  1001. homeassistant-stubs/components/wake_on_lan/switch.pyi +2 -2
  1002. homeassistant-stubs/components/wallbox/config_flow.pyi +1 -1
  1003. homeassistant-stubs/components/wallbox/number.pyi +1 -1
  1004. homeassistant-stubs/components/wallbox/sensor.pyi +2 -2
  1005. homeassistant-stubs/components/water_heater/__init__.pyi +15 -15
  1006. homeassistant-stubs/components/water_heater/device_action.pyi +1 -1
  1007. homeassistant-stubs/components/water_heater/reproduce_state.pyi +2 -2
  1008. homeassistant-stubs/components/watttime/config_flow.pyi +5 -5
  1009. homeassistant-stubs/components/watttime/sensor.pyi +1 -1
  1010. homeassistant-stubs/components/weather/__init__.pyi +52 -52
  1011. homeassistant-stubs/components/webostv/__init__.pyi +1 -1
  1012. homeassistant-stubs/components/webostv/config_flow.pyi +4 -4
  1013. homeassistant-stubs/components/webostv/media_player.pyi +2 -2
  1014. homeassistant-stubs/components/webostv/notify.pyi +1 -1
  1015. homeassistant-stubs/components/webostv/triggers/turn_on.pyi +1 -1
  1016. homeassistant-stubs/components/websocket_api/__init__.pyi +1 -1
  1017. homeassistant-stubs/components/websocket_api/auth.pyi +1 -1
  1018. homeassistant-stubs/components/websocket_api/connection.pyi +4 -4
  1019. homeassistant-stubs/components/websocket_api/http.pyi +1 -1
  1020. homeassistant-stubs/components/websocket_api/messages.pyi +3 -3
  1021. homeassistant-stubs/components/websocket_api/sensor.pyi +1 -1
  1022. homeassistant-stubs/components/wemo/__init__.pyi +2 -2
  1023. homeassistant-stubs/components/wemo/entity.pyi +4 -4
  1024. homeassistant-stubs/components/wemo/fan.pyi +2 -2
  1025. homeassistant-stubs/components/wemo/light.pyi +2 -2
  1026. homeassistant-stubs/components/wemo/sensor.pyi +4 -4
  1027. homeassistant-stubs/components/wemo/switch.pyi +1 -1
  1028. homeassistant-stubs/components/whois/config_flow.pyi +2 -2
  1029. homeassistant-stubs/components/whois/sensor.pyi +6 -6
  1030. homeassistant-stubs/components/wiz/config_flow.pyi +3 -3
  1031. homeassistant-stubs/components/wiz/models.pyi +1 -1
  1032. homeassistant-stubs/components/wiz/number.pyi +1 -1
  1033. homeassistant-stubs/components/wled/config_flow.pyi +3 -3
  1034. homeassistant-stubs/components/wled/light.pyi +5 -5
  1035. homeassistant-stubs/components/wled/number.pyi +2 -2
  1036. homeassistant-stubs/components/wled/select.pyi +3 -3
  1037. homeassistant-stubs/components/wled/sensor.pyi +2 -2
  1038. homeassistant-stubs/components/wled/switch.pyi +3 -3
  1039. homeassistant-stubs/components/wled/update.pyi +4 -4
  1040. homeassistant-stubs/components/worldclock/sensor.pyi +2 -2
  1041. homeassistant-stubs/components/yale_smart_alarm/alarm_control_panel.pyi +4 -4
  1042. homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +4 -4
  1043. homeassistant-stubs/components/yale_smart_alarm/lock.pyi +2 -2
  1044. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +3 -3
  1045. homeassistant-stubs/components/yalexs_ble/sensor.pyi +1 -1
  1046. homeassistant-stubs/components/yalexs_ble/util.pyi +2 -2
  1047. homeassistant-stubs/components/zeroconf/__init__.pyi +6 -7
  1048. homeassistant-stubs/components/zodiac/sensor.pyi +2 -2
  1049. homeassistant-stubs/components/zone/__init__.pyi +4 -4
  1050. homeassistant-stubs/components/zwave_js/api.pyi +4 -4
  1051. homeassistant-stubs/components/zwave_js/binary_sensor.pyi +5 -5
  1052. homeassistant-stubs/components/zwave_js/climate.pyi +14 -14
  1053. homeassistant-stubs/components/zwave_js/config_flow.pyi +20 -20
  1054. homeassistant-stubs/components/zwave_js/cover.pyi +6 -6
  1055. homeassistant-stubs/components/zwave_js/device_action.pyi +1 -1
  1056. homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi +1 -1
  1057. homeassistant-stubs/components/zwave_js/discovery.pyi +28 -28
  1058. homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +17 -17
  1059. homeassistant-stubs/components/zwave_js/entity.pyi +2 -2
  1060. homeassistant-stubs/components/zwave_js/fan.pyi +13 -13
  1061. homeassistant-stubs/components/zwave_js/helpers.pyi +19 -19
  1062. homeassistant-stubs/components/zwave_js/humidifier.pyi +3 -3
  1063. homeassistant-stubs/components/zwave_js/light.pyi +10 -10
  1064. homeassistant-stubs/components/zwave_js/lock.pyi +2 -2
  1065. homeassistant-stubs/components/zwave_js/migrate.pyi +1 -1
  1066. homeassistant-stubs/components/zwave_js/number.pyi +3 -3
  1067. homeassistant-stubs/components/zwave_js/select.pyi +3 -3
  1068. homeassistant-stubs/components/zwave_js/sensor.pyi +13 -13
  1069. homeassistant-stubs/components/zwave_js/services.pyi +3 -3
  1070. homeassistant-stubs/components/zwave_js/siren.pyi +2 -2
  1071. homeassistant-stubs/components/zwave_js/switch.pyi +2 -2
  1072. homeassistant-stubs/components/zwave_js/update.pyi +4 -4
  1073. homeassistant-stubs/config.pyi +9 -9
  1074. homeassistant-stubs/config_entries.pyi +31 -31
  1075. homeassistant-stubs/core.pyi +44 -44
  1076. homeassistant-stubs/data_entry_flow.pyi +21 -21
  1077. homeassistant-stubs/exceptions.pyi +2 -2
  1078. homeassistant-stubs/generated/bluetooth.pyi +1 -1
  1079. homeassistant-stubs/generated/dhcp.pyi +1 -1
  1080. homeassistant-stubs/helpers/__init__.pyi +1 -1
  1081. homeassistant-stubs/helpers/aiohttp_client.pyi +3 -3
  1082. homeassistant-stubs/helpers/aiohttp_compat.pyi +1 -1
  1083. homeassistant-stubs/helpers/area_registry.pyi +7 -7
  1084. homeassistant-stubs/helpers/check_config.pyi +3 -3
  1085. homeassistant-stubs/helpers/collection.pyi +4 -4
  1086. homeassistant-stubs/helpers/condition.pyi +10 -10
  1087. homeassistant-stubs/helpers/config_entry_flow.pyi +5 -5
  1088. homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +6 -6
  1089. homeassistant-stubs/helpers/config_validation.pyi +17 -17
  1090. homeassistant-stubs/helpers/debounce.pyi +2 -2
  1091. homeassistant-stubs/helpers/deprecation.pyi +1 -1
  1092. homeassistant-stubs/helpers/device_registry.pyi +21 -21
  1093. homeassistant-stubs/helpers/discovery.pyi +7 -7
  1094. homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
  1095. homeassistant-stubs/helpers/dispatcher.pyi +1 -1
  1096. homeassistant-stubs/helpers/entity.pyi +58 -58
  1097. homeassistant-stubs/helpers/entity_component.pyi +5 -5
  1098. homeassistant-stubs/helpers/entity_platform.pyi +7 -7
  1099. homeassistant-stubs/helpers/entity_registry.pyi +36 -36
  1100. homeassistant-stubs/helpers/entity_values.pyi +1 -1
  1101. homeassistant-stubs/helpers/entityfilter.pyi +2 -2
  1102. homeassistant-stubs/helpers/event.pyi +31 -31
  1103. homeassistant-stubs/helpers/frame.pyi +2 -2
  1104. homeassistant-stubs/helpers/icon.pyi +2 -2
  1105. homeassistant-stubs/helpers/integration_platform.pyi +1 -1
  1106. homeassistant-stubs/helpers/intent.pyi +19 -19
  1107. homeassistant-stubs/helpers/issue_registry.pyi +14 -14
  1108. homeassistant-stubs/helpers/json.pyi +1 -1
  1109. homeassistant-stubs/helpers/location.pyi +3 -3
  1110. homeassistant-stubs/helpers/network.pyi +3 -3
  1111. homeassistant-stubs/helpers/ratelimit.pyi +2 -2
  1112. homeassistant-stubs/helpers/reload.pyi +2 -2
  1113. homeassistant-stubs/helpers/restore_state.pyi +6 -6
  1114. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +14 -14
  1115. homeassistant-stubs/helpers/script.pyi +12 -12
  1116. homeassistant-stubs/helpers/script_variables.pyi +1 -1
  1117. homeassistant-stubs/helpers/selector.pyi +42 -42
  1118. homeassistant-stubs/helpers/service.pyi +6 -6
  1119. homeassistant-stubs/helpers/significant_change.pyi +7 -7
  1120. homeassistant-stubs/helpers/start.pyi +3 -3
  1121. homeassistant-stubs/helpers/state.pyi +2 -2
  1122. homeassistant-stubs/helpers/storage.pyi +4 -4
  1123. homeassistant-stubs/helpers/sun.pyi +4 -4
  1124. homeassistant-stubs/helpers/temperature.pyi +1 -1
  1125. homeassistant-stubs/helpers/template.pyi +48 -46
  1126. homeassistant-stubs/helpers/template_entity.pyi +10 -10
  1127. homeassistant-stubs/helpers/trace.pyi +15 -15
  1128. homeassistant-stubs/helpers/translation.pyi +3 -3
  1129. homeassistant-stubs/helpers/trigger.pyi +7 -7
  1130. homeassistant-stubs/helpers/update_coordinator.pyi +1 -1
  1131. homeassistant-stubs/loader.pyi +23 -23
  1132. homeassistant-stubs/requirements.pyi +2 -2
  1133. homeassistant-stubs/runner.pyi +2 -2
  1134. homeassistant-stubs/scripts/__init__.pyi +1 -1
  1135. homeassistant-stubs/setup.pyi +1 -1
  1136. homeassistant-stubs/util/__init__.pyi +4 -4
  1137. homeassistant-stubs/util/aiohttp.pyi +2 -2
  1138. homeassistant-stubs/util/async_.pyi +1 -1
  1139. homeassistant-stubs/util/color.pyi +6 -6
  1140. homeassistant-stubs/util/dt.pyi +9 -9
  1141. homeassistant-stubs/util/enum.pyi +1 -1
  1142. homeassistant-stubs/util/json.pyi +7 -7
  1143. homeassistant-stubs/util/location.pyi +4 -4
  1144. homeassistant-stubs/util/logging.pyi +4 -4
  1145. homeassistant-stubs/util/network.pyi +5 -5
  1146. homeassistant-stubs/util/package.pyi +1 -1
  1147. homeassistant-stubs/util/pressure.pyi +1 -1
  1148. homeassistant-stubs/util/read_only_dict.pyi +7 -8
  1149. homeassistant-stubs/util/speed.pyi +1 -1
  1150. homeassistant-stubs/util/timeout.pyi +9 -9
  1151. homeassistant-stubs/util/ulid.pyi +1 -1
  1152. homeassistant-stubs/util/unit_conversion.pyi +18 -18
  1153. homeassistant-stubs/util/unit_system.pyi +7 -7
  1154. homeassistant-stubs/util/yaml/loader.pyi +8 -8
  1155. {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/METADATA +2 -2
  1156. {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/RECORD +1158 -1158
  1157. {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/LICENSE +0 -0
  1158. {homeassistant_stubs-2023.4.0b4.dist-info → homeassistant_stubs-2023.4.0b6.dist-info}/WHEEL +0 -0
@@ -32,8 +32,8 @@ class AddEntitiesCallback(Protocol):
32
32
  def __call__(self, new_entities: Iterable[Entity], update_before_add: bool = ...) -> None: ...
33
33
 
34
34
  class EntityPlatformModule(Protocol):
35
- async def async_setup_platform(self, hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: Union[DiscoveryInfoType, None] = ...) -> None: ...
36
- def setup_platform(self, hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: Union[DiscoveryInfoType, None] = ...) -> None: ...
35
+ async def async_setup_platform(self, hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
36
+ def setup_platform(self, hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
37
37
  async def async_setup_entry(self, hass: HomeAssistant, entry: config_entries.ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
38
38
 
39
39
  class EntityPlatform:
@@ -54,10 +54,10 @@ class EntityPlatform:
54
54
  _process_updates: Incomplete
55
55
  parallel_updates: Incomplete
56
56
  parallel_updates_created: Incomplete
57
- def __init__(self, *, hass: HomeAssistant, logger: Logger, domain: str, platform_name: str, platform: Union[EntityPlatformModule, None], scan_interval: timedelta, entity_namespace: Union[str, None]) -> None: ...
57
+ def __init__(self, *, hass: HomeAssistant, logger: Logger, domain: str, platform_name: str, platform: EntityPlatformModule | None, scan_interval: timedelta, entity_namespace: str | None) -> None: ...
58
58
  def __repr__(self) -> str: ...
59
- def _get_parallel_updates_semaphore(self, entity_has_sync_update: bool) -> Union[asyncio.Semaphore, None]: ...
60
- async def async_setup(self, platform_config: ConfigType, discovery_info: Union[DiscoveryInfoType, None] = ...) -> None: ...
59
+ def _get_parallel_updates_semaphore(self, entity_has_sync_update: bool) -> asyncio.Semaphore | None: ...
60
+ async def async_setup(self, platform_config: ConfigType, discovery_info: DiscoveryInfoType | None = ...) -> None: ...
61
61
  async def async_shutdown(self) -> None: ...
62
62
  def async_cancel_retry_setup(self) -> None: ...
63
63
  async def async_setup_entry(self, config_entry: config_entries.ConfigEntry) -> bool: ...
@@ -74,10 +74,10 @@ class EntityPlatform:
74
74
  async def async_destroy(self) -> None: ...
75
75
  async def async_remove_entity(self, entity_id: str) -> None: ...
76
76
  async def async_extract_from_service(self, service_call: ServiceCall, expand_group: bool = ...) -> list[Entity]: ...
77
- def async_register_entity_service(self, name: str, schema: Union[dict[str, Any], vol.Schema], func: Union[str, Callable[..., Any]], required_features: Union[Iterable[int], None] = ...) -> None: ...
77
+ def async_register_entity_service(self, name: str, schema: dict[str, Any] | vol.Schema, func: str | Callable[..., Any], required_features: Iterable[int] | None = ...) -> None: ...
78
78
  async def _update_entity_states(self, now: datetime) -> None: ...
79
79
 
80
- current_platform: ContextVar[Union[EntityPlatform, None]]
80
+ current_platform: ContextVar[EntityPlatform | None]
81
81
 
82
82
  def async_get_current_platform() -> EntityPlatform: ...
83
83
  def async_get_platforms(hass: HomeAssistant, integration_name: str) -> list[EntityPlatform]: ...
@@ -25,7 +25,7 @@ _LOGGER: Incomplete
25
25
  STORAGE_VERSION_MAJOR: int
26
26
  STORAGE_VERSION_MINOR: int
27
27
  STORAGE_KEY: str
28
- ENTITY_CATEGORY_VALUE_TO_INDEX: dict[Union[EntityCategory, None], int]
28
+ ENTITY_CATEGORY_VALUE_TO_INDEX: dict[EntityCategory | None, int]
29
29
  ENTITY_CATEGORY_INDEX_TO_VALUE: Incomplete
30
30
  ENTITY_DESCRIBING_ATTRIBUTES: Incomplete
31
31
 
@@ -44,7 +44,7 @@ DISLAY_DICT_OPTIONAL: Incomplete
44
44
 
45
45
  class _EntityOptions(UserDict[str, MappingProxyType]):
46
46
  data: Incomplete
47
- def __init__(self, data: Union[Mapping[str, Mapping], None]) -> None: ...
47
+ def __init__(self, data: Mapping[str, Mapping] | None) -> None: ...
48
48
  def __setitem__(self, key: str, entry: Mapping) -> None: ...
49
49
  def __delitem__(self, key: str) -> None: ...
50
50
  def as_dict(self) -> dict[str, dict]: ...
@@ -54,41 +54,41 @@ class RegistryEntry:
54
54
  unique_id: str
55
55
  platform: str
56
56
  aliases: set[str]
57
- area_id: Union[str, None]
58
- capabilities: Union[Mapping[str, Any], None]
59
- config_entry_id: Union[str, None]
60
- device_class: Union[str, None]
61
- device_id: Union[str, None]
57
+ area_id: str | None
58
+ capabilities: Mapping[str, Any] | None
59
+ config_entry_id: str | None
60
+ device_class: str | None
61
+ device_id: str | None
62
62
  domain: str
63
- disabled_by: Union[RegistryEntryDisabler, None]
64
- entity_category: Union[EntityCategory, None]
65
- hidden_by: Union[RegistryEntryHider, None]
66
- icon: Union[str, None]
63
+ disabled_by: RegistryEntryDisabler | None
64
+ entity_category: EntityCategory | None
65
+ hidden_by: RegistryEntryHider | None
66
+ icon: str | None
67
67
  id: str
68
68
  has_entity_name: bool
69
- name: Union[str, None]
69
+ name: str | None
70
70
  options: _EntityOptions
71
- original_device_class: Union[str, None]
72
- original_icon: Union[str, None]
73
- original_name: Union[str, None]
71
+ original_device_class: str | None
72
+ original_icon: str | None
73
+ original_name: str | None
74
74
  supported_features: int
75
- translation_key: Union[str, None]
76
- unit_of_measurement: Union[str, None]
77
- _partial_repr: Union[str, None, UndefinedType]
78
- _display_repr: Union[str, None, UndefinedType]
75
+ translation_key: str | None
76
+ unit_of_measurement: str | None
77
+ _partial_repr: str | None | UndefinedType
78
+ _display_repr: str | None | UndefinedType
79
79
  def _domain_default(self) -> str: ...
80
80
  @property
81
81
  def disabled(self) -> bool: ...
82
82
  @property
83
83
  def hidden(self) -> bool: ...
84
84
  @property
85
- def _as_display_dict(self) -> Union[dict[str, Any], None]: ...
85
+ def _as_display_dict(self) -> dict[str, Any] | None: ...
86
86
  @property
87
- def display_json_repr(self) -> Union[str, None]: ...
87
+ def display_json_repr(self) -> str | None: ...
88
88
  @property
89
89
  def as_partial_dict(self) -> dict[str, Any]: ...
90
90
  @property
91
- def partial_json_repr(self) -> Union[str, None]: ...
91
+ def partial_json_repr(self) -> str | None: ...
92
92
  def write_unavailable_state(self, hass: HomeAssistant) -> None: ...
93
93
  def __init__(self, entity_id, unique_id, platform, aliases, area_id, capabilities, config_entry_id, device_class, device_id, domain, disabled_by, entity_category, hidden_by, icon, id, has_entity_name, name, options, original_device_class, original_icon, original_name, supported_features, translation_key, unit_of_measurement, partial_repr, display_repr) -> None: ...
94
94
  def __lt__(self, other): ...
@@ -106,27 +106,27 @@ class EntityRegistryItems(UserDict[str, 'RegistryEntry']):
106
106
  def values(self) -> ValuesView[RegistryEntry]: ...
107
107
  def __setitem__(self, key: str, entry: RegistryEntry) -> None: ...
108
108
  def __delitem__(self, key: str) -> None: ...
109
- def get_entity_id(self, key: tuple[str, str, str]) -> Union[str, None]: ...
110
- def get_entry(self, key: str) -> Union[RegistryEntry, None]: ...
109
+ def get_entity_id(self, key: tuple[str, str, str]) -> str | None: ...
110
+ def get_entry(self, key: str) -> RegistryEntry | None: ...
111
111
 
112
112
  class EntityRegistry:
113
113
  entities: EntityRegistryItems
114
114
  hass: Incomplete
115
115
  _store: Incomplete
116
116
  def __init__(self, hass: HomeAssistant) -> None: ...
117
- def async_get_device_class_lookup(self, domain_device_classes: set[tuple[str, Union[str, None]]]) -> dict[str, dict[tuple[str, Union[str, None]], str]]: ...
117
+ def async_get_device_class_lookup(self, domain_device_classes: set[tuple[str, str | None]]) -> dict[str, dict[tuple[str, str | None], str]]: ...
118
118
  def async_is_registered(self, entity_id: str) -> bool: ...
119
- def async_get(self, entity_id: str) -> Union[RegistryEntry, None]: ...
120
- def async_get_entity_id(self, domain: str, platform: str, unique_id: str) -> Union[str, None]: ...
121
- def _entity_id_available(self, entity_id: str, known_object_ids: Union[Iterable[str], None]) -> bool: ...
122
- def async_generate_entity_id(self, domain: str, suggested_object_id: str, known_object_ids: Union[Iterable[str], None] = ...) -> str: ...
123
- def async_get_or_create(self, domain: str, platform: str, unique_id: str, *, known_object_ids: Union[Iterable[str], None] = ..., suggested_object_id: Union[str, None] = ..., disabled_by: Union[RegistryEntryDisabler, None] = ..., hidden_by: Union[RegistryEntryHider, None] = ..., get_initial_options: Union[Callable[[], Union[EntityOptionsType, None]], None] = ..., capabilities: Union[Mapping[str, Any], None, UndefinedType] = ..., config_entry: Union[ConfigEntry, None, UndefinedType] = ..., device_id: Union[str, None, UndefinedType] = ..., entity_category: Union[EntityCategory, UndefinedType, None] = ..., has_entity_name: Union[bool, UndefinedType] = ..., original_device_class: Union[str, None, UndefinedType] = ..., original_icon: Union[str, None, UndefinedType] = ..., original_name: Union[str, None, UndefinedType] = ..., supported_features: Union[int, None, UndefinedType] = ..., translation_key: Union[str, None, UndefinedType] = ..., unit_of_measurement: Union[str, None, UndefinedType] = ...) -> RegistryEntry: ...
119
+ def async_get(self, entity_id: str) -> RegistryEntry | None: ...
120
+ def async_get_entity_id(self, domain: str, platform: str, unique_id: str) -> str | None: ...
121
+ def _entity_id_available(self, entity_id: str, known_object_ids: Iterable[str] | None) -> bool: ...
122
+ def async_generate_entity_id(self, domain: str, suggested_object_id: str, known_object_ids: Iterable[str] | None = ...) -> str: ...
123
+ def async_get_or_create(self, domain: str, platform: str, unique_id: str, *, known_object_ids: Iterable[str] | None = ..., suggested_object_id: str | None = ..., disabled_by: RegistryEntryDisabler | None = ..., hidden_by: RegistryEntryHider | None = ..., get_initial_options: Callable[[], EntityOptionsType | None] | None = ..., capabilities: Mapping[str, Any] | None | UndefinedType = ..., config_entry: ConfigEntry | None | UndefinedType = ..., device_id: str | None | UndefinedType = ..., entity_category: EntityCategory | UndefinedType | None = ..., has_entity_name: bool | UndefinedType = ..., original_device_class: str | None | UndefinedType = ..., original_icon: str | None | UndefinedType = ..., original_name: str | None | UndefinedType = ..., supported_features: int | None | UndefinedType = ..., translation_key: str | None | UndefinedType = ..., unit_of_measurement: str | None | UndefinedType = ...) -> RegistryEntry: ...
124
124
  def async_remove(self, entity_id: str) -> None: ...
125
125
  def async_device_modified(self, event: Event) -> None: ...
126
- def _async_update_entity(self, entity_id: str, *, aliases: Union[set[str], UndefinedType] = ..., area_id: Union[str, None, UndefinedType] = ..., capabilities: Union[Mapping[str, Any], None, UndefinedType] = ..., config_entry_id: Union[str, None, UndefinedType] = ..., device_class: Union[str, None, UndefinedType] = ..., device_id: Union[str, None, UndefinedType] = ..., disabled_by: Union[RegistryEntryDisabler, None, UndefinedType] = ..., entity_category: Union[EntityCategory, None, UndefinedType] = ..., hidden_by: Union[RegistryEntryHider, None, UndefinedType] = ..., icon: Union[str, None, UndefinedType] = ..., has_entity_name: Union[bool, UndefinedType] = ..., name: Union[str, None, UndefinedType] = ..., new_entity_id: Union[str, UndefinedType] = ..., new_unique_id: Union[str, UndefinedType] = ..., options: Union[EntityOptionsType, UndefinedType] = ..., original_device_class: Union[str, None, UndefinedType] = ..., original_icon: Union[str, None, UndefinedType] = ..., original_name: Union[str, None, UndefinedType] = ..., platform: Union[str, None, UndefinedType] = ..., supported_features: Union[int, UndefinedType] = ..., translation_key: Union[str, None, UndefinedType] = ..., unit_of_measurement: Union[str, None, UndefinedType] = ...) -> RegistryEntry: ...
127
- def async_update_entity(self, entity_id: str, *, aliases: Union[set[str], UndefinedType] = ..., area_id: Union[str, None, UndefinedType] = ..., capabilities: Union[Mapping[str, Any], None, UndefinedType] = ..., config_entry_id: Union[str, None, UndefinedType] = ..., device_class: Union[str, None, UndefinedType] = ..., device_id: Union[str, None, UndefinedType] = ..., disabled_by: Union[RegistryEntryDisabler, None, UndefinedType] = ..., entity_category: Union[EntityCategory, None, UndefinedType] = ..., hidden_by: Union[RegistryEntryHider, None, UndefinedType] = ..., icon: Union[str, None, UndefinedType] = ..., has_entity_name: Union[bool, UndefinedType] = ..., name: Union[str, None, UndefinedType] = ..., new_entity_id: Union[str, UndefinedType] = ..., new_unique_id: Union[str, UndefinedType] = ..., original_device_class: Union[str, None, UndefinedType] = ..., original_icon: Union[str, None, UndefinedType] = ..., original_name: Union[str, None, UndefinedType] = ..., supported_features: Union[int, UndefinedType] = ..., translation_key: Union[str, None, UndefinedType] = ..., unit_of_measurement: Union[str, None, UndefinedType] = ...) -> RegistryEntry: ...
128
- def async_update_entity_platform(self, entity_id: str, new_platform: str, *, new_config_entry_id: Union[str, UndefinedType] = ..., new_unique_id: Union[str, UndefinedType] = ..., new_device_id: Union[str, None, UndefinedType] = ...) -> RegistryEntry: ...
129
- def async_update_entity_options(self, entity_id: str, domain: str, options: Union[Mapping[str, Any], None]) -> RegistryEntry: ...
126
+ def _async_update_entity(self, entity_id: str, *, aliases: set[str] | UndefinedType = ..., area_id: str | None | UndefinedType = ..., capabilities: Mapping[str, Any] | None | UndefinedType = ..., config_entry_id: str | None | UndefinedType = ..., device_class: str | None | UndefinedType = ..., device_id: str | None | UndefinedType = ..., disabled_by: RegistryEntryDisabler | None | UndefinedType = ..., entity_category: EntityCategory | None | UndefinedType = ..., hidden_by: RegistryEntryHider | None | UndefinedType = ..., icon: str | None | UndefinedType = ..., has_entity_name: bool | UndefinedType = ..., name: str | None | UndefinedType = ..., new_entity_id: str | UndefinedType = ..., new_unique_id: str | UndefinedType = ..., options: EntityOptionsType | UndefinedType = ..., original_device_class: str | None | UndefinedType = ..., original_icon: str | None | UndefinedType = ..., original_name: str | None | UndefinedType = ..., platform: str | None | UndefinedType = ..., supported_features: int | UndefinedType = ..., translation_key: str | None | UndefinedType = ..., unit_of_measurement: str | None | UndefinedType = ...) -> RegistryEntry: ...
127
+ def async_update_entity(self, entity_id: str, *, aliases: set[str] | UndefinedType = ..., area_id: str | None | UndefinedType = ..., capabilities: Mapping[str, Any] | None | UndefinedType = ..., config_entry_id: str | None | UndefinedType = ..., device_class: str | None | UndefinedType = ..., device_id: str | None | UndefinedType = ..., disabled_by: RegistryEntryDisabler | None | UndefinedType = ..., entity_category: EntityCategory | None | UndefinedType = ..., hidden_by: RegistryEntryHider | None | UndefinedType = ..., icon: str | None | UndefinedType = ..., has_entity_name: bool | UndefinedType = ..., name: str | None | UndefinedType = ..., new_entity_id: str | UndefinedType = ..., new_unique_id: str | UndefinedType = ..., original_device_class: str | None | UndefinedType = ..., original_icon: str | None | UndefinedType = ..., original_name: str | None | UndefinedType = ..., supported_features: int | UndefinedType = ..., translation_key: str | None | UndefinedType = ..., unit_of_measurement: str | None | UndefinedType = ...) -> RegistryEntry: ...
128
+ def async_update_entity_platform(self, entity_id: str, new_platform: str, *, new_config_entry_id: str | UndefinedType = ..., new_unique_id: str | UndefinedType = ..., new_device_id: str | None | UndefinedType = ...) -> RegistryEntry: ...
129
+ def async_update_entity_options(self, entity_id: str, domain: str, options: Mapping[str, Any] | None) -> RegistryEntry: ...
130
130
  async def async_load(self) -> None: ...
131
131
  def async_schedule_save(self) -> None: ...
132
132
  def _data_to_save(self) -> dict[str, Any]: ...
@@ -141,7 +141,7 @@ def async_entries_for_area(registry: EntityRegistry, area_id: str) -> list[Regis
141
141
  def async_entries_for_config_entry(registry: EntityRegistry, config_entry_id: str) -> list[RegistryEntry]: ...
142
142
  def async_config_entry_disabled_by_changed(registry: EntityRegistry, config_entry: ConfigEntry) -> None: ...
143
143
  def async_setup_entity_restore(hass: HomeAssistant, registry: EntityRegistry) -> None: ...
144
- async def async_migrate_entries(hass: HomeAssistant, config_entry_id: str, entry_callback: Callable[[RegistryEntry], Union[dict[str, Any], None]]) -> None: ...
144
+ async def async_migrate_entries(hass: HomeAssistant, config_entry_id: str, entry_callback: Callable[[RegistryEntry], dict[str, Any] | None]) -> None: ...
145
145
  def async_validate_entity_id(registry: EntityRegistry, entity_id_or_uuid: str) -> str: ...
146
- def async_resolve_entity_id(registry: EntityRegistry, entity_id_or_uuid: str) -> Union[str, None]: ...
146
+ def async_resolve_entity_id(registry: EntityRegistry, entity_id_or_uuid: str) -> str | None: ...
147
147
  def async_validate_entity_ids(registry: EntityRegistry, entity_ids_or_uuids: list[str]) -> list[str]: ...
@@ -6,5 +6,5 @@ class EntityValues:
6
6
  _exact: Incomplete
7
7
  _domain: Incomplete
8
8
  _glob: Incomplete
9
- def __init__(self, exact: Union[dict[str, dict[str, str]], None] = ..., domain: Union[dict[str, dict[str, str]], None] = ..., glob: Union[dict[str, dict[str, str]], None] = ...) -> None: ...
9
+ def __init__(self, exact: dict[str, dict[str, str]] | None = ..., domain: dict[str, dict[str, str]] | None = ..., glob: dict[str, dict[str, str]] | None = ...) -> None: ...
10
10
  def get(self, entity_id: str) -> dict[str, str]: ...
@@ -40,6 +40,6 @@ INCLUDE_EXCLUDE_FILTER_SCHEMA: Incomplete
40
40
 
41
41
  def _glob_to_re(glob: str) -> re.Pattern[str]: ...
42
42
  def _test_against_patterns(patterns: list[re.Pattern[str]], entity_id: str) -> bool: ...
43
- def _convert_globs_to_pattern_list(globs: Union[list[str], None]) -> list[re.Pattern[str]]: ...
44
- def generate_filter(include_domains: list[str], include_entities: list[str], exclude_domains: list[str], exclude_entities: list[str], include_entity_globs: Union[list[str], None] = ..., exclude_entity_globs: Union[list[str], None] = ...) -> Callable[[str], bool]: ...
43
+ def _convert_globs_to_pattern_list(globs: list[str] | None) -> list[re.Pattern[str]]: ...
44
+ def generate_filter(include_domains: list[str], include_entities: list[str], exclude_domains: list[str], exclude_entities: list[str], include_entity_globs: list[str] | None = ..., exclude_entity_globs: list[str] | None = ...) -> Callable[[str], bool]: ...
45
45
  def _generate_filter_from_sets_and_pattern_lists(include_d: set[str], include_e: set[str], exclude_d: set[str], exclude_e: set[str], include_eg: list[re.Pattern[str]], exclude_eg: list[re.Pattern[str]]) -> Callable[[str], bool]: ...
@@ -39,7 +39,7 @@ class TrackStates:
39
39
  class TrackTemplate:
40
40
  template: Template
41
41
  variables: TemplateVarsType
42
- rate_limit: Union[timedelta, None]
42
+ rate_limit: timedelta | None
43
43
  def __init__(self, template, variables, rate_limit) -> None: ...
44
44
 
45
45
  class TrackTemplateResult:
@@ -49,21 +49,21 @@ class TrackTemplateResult:
49
49
  def __init__(self, template, last_result, result) -> None: ...
50
50
 
51
51
  def threaded_listener_factory(async_factory: Callable[Concatenate[HomeAssistant, _P], Any]) -> Callable[Concatenate[HomeAssistant, _P], CALLBACK_TYPE]: ...
52
- def async_track_state_change(hass: HomeAssistant, entity_ids: Union[str, Iterable[str]], action: Callable[[str, Union[State, None], Union[State, None]], Union[Coroutine[Any, Any, None], None]], from_state: Union[None, str, Iterable[str]] = ..., to_state: Union[None, str, Iterable[str]] = ...) -> CALLBACK_TYPE: ...
52
+ def async_track_state_change(hass: HomeAssistant, entity_ids: str | Iterable[str], action: Callable[[str, State | None, State | None], Coroutine[Any, Any, None] | None], from_state: None | str | Iterable[str] = ..., to_state: None | str | Iterable[str] = ...) -> CALLBACK_TYPE: ...
53
53
 
54
54
  track_state_change: Incomplete
55
55
 
56
- def async_track_state_change_event(hass: HomeAssistant, entity_ids: Union[str, Iterable[str]], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
57
- def _async_track_state_change_event(hass: HomeAssistant, entity_ids: Union[str, Iterable[str]], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
56
+ def async_track_state_change_event(hass: HomeAssistant, entity_ids: str | Iterable[str], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
57
+ def _async_track_state_change_event(hass: HomeAssistant, entity_ids: str | Iterable[str], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
58
58
  def _remove_empty_listener() -> None: ...
59
59
  def _async_remove_indexed_listeners(hass: HomeAssistant, data_key: str, listener_key: str, storage_keys: Iterable[str], job: HassJob[[Event], Any]) -> None: ...
60
- def async_track_entity_registry_updated_event(hass: HomeAssistant, entity_ids: Union[str, Iterable[str]], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
60
+ def async_track_entity_registry_updated_event(hass: HomeAssistant, entity_ids: str | Iterable[str], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
61
61
  def _async_domain_has_listeners(domain: str, callbacks: dict[str, list[HassJob[[Event], Any]]]) -> bool: ...
62
62
  def _async_dispatch_domain_event(hass: HomeAssistant, event: Event, callbacks: dict[str, list[HassJob[[Event], Any]]]) -> None: ...
63
- def async_track_state_added_domain(hass: HomeAssistant, domains: Union[str, Iterable[str]], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
64
- def _async_track_state_added_domain(hass: HomeAssistant, domains: Union[str, Iterable[str]], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
65
- def async_track_state_removed_domain(hass: HomeAssistant, domains: Union[str, Iterable[str]], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
66
- def _async_string_to_lower_list(instr: Union[str, Iterable[str]]) -> list[str]: ...
63
+ def async_track_state_added_domain(hass: HomeAssistant, domains: str | Iterable[str], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
64
+ def _async_track_state_added_domain(hass: HomeAssistant, domains: str | Iterable[str], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
65
+ def async_track_state_removed_domain(hass: HomeAssistant, domains: str | Iterable[str], action: Callable[[Event], Any]) -> CALLBACK_TYPE: ...
66
+ def _async_string_to_lower_list(instr: str | Iterable[str]) -> list[str]: ...
67
67
 
68
68
  class _TrackStateChangeFiltered:
69
69
  hass: Incomplete
@@ -74,7 +74,7 @@ class _TrackStateChangeFiltered:
74
74
  def __init__(self, hass: HomeAssistant, track_states: TrackStates, action: Callable[[Event], Any]) -> None: ...
75
75
  def async_setup(self) -> None: ...
76
76
  @property
77
- def listeners(self) -> dict[str, Union[bool, set[str]]]: ...
77
+ def listeners(self) -> dict[str, bool | set[str]]: ...
78
78
  def async_update_listeners(self, new_track_states: TrackStates) -> None: ...
79
79
  def async_remove(self) -> None: ...
80
80
  def _cancel_listener(self, listener_name: str) -> None: ...
@@ -84,7 +84,7 @@ class _TrackStateChangeFiltered:
84
84
  def _setup_all_listener(self) -> None: ...
85
85
 
86
86
  def async_track_state_change_filtered(hass: HomeAssistant, track_states: TrackStates, action: Callable[[Event], Any]) -> _TrackStateChangeFiltered: ...
87
- def async_track_template(hass: HomeAssistant, template: Template, action: Callable[[str, Union[State, None], Union[State, None]], Union[Coroutine[Any, Any, None], None]], variables: Union[TemplateVarsType, None] = ...) -> CALLBACK_TYPE: ...
87
+ def async_track_template(hass: HomeAssistant, template: Template, action: Callable[[str, State | None, State | None], Coroutine[Any, Any, None] | None], variables: TemplateVarsType | None = ...) -> CALLBACK_TYPE: ...
88
88
 
89
89
  track_template: Incomplete
90
90
 
@@ -98,50 +98,50 @@ class TrackTemplateResultInfo:
98
98
  _info: Incomplete
99
99
  _track_state_changes: Incomplete
100
100
  _time_listeners: Incomplete
101
- def __init__(self, hass: HomeAssistant, track_templates: Sequence[TrackTemplate], action: Callable[[Union[Event, None], list[TrackTemplateResult]], None], has_super_template: bool = ...) -> None: ...
101
+ def __init__(self, hass: HomeAssistant, track_templates: Sequence[TrackTemplate], action: Callable[[Event | None, list[TrackTemplateResult]], None], has_super_template: bool = ...) -> None: ...
102
102
  def __repr__(self) -> str: ...
103
103
  def async_setup(self, raise_on_template_error: bool, strict: bool = ...) -> None: ...
104
104
  @property
105
- def listeners(self) -> dict[str, Union[bool, set[str]]]: ...
105
+ def listeners(self) -> dict[str, bool | set[str]]: ...
106
106
  def _setup_time_listener(self, template: Template, has_time: bool) -> None: ...
107
107
  def _update_time_listeners(self) -> None: ...
108
108
  def async_remove(self) -> None: ...
109
109
  def async_refresh(self) -> None: ...
110
- def _render_template_if_ready(self, track_template_: TrackTemplate, now: datetime, event: Union[Event, None]) -> Union[bool, TrackTemplateResult]: ...
110
+ def _render_template_if_ready(self, track_template_: TrackTemplate, now: datetime, event: Event | None) -> bool | TrackTemplateResult: ...
111
111
  @staticmethod
112
- def _super_template_as_boolean(result: Union[bool, str, TemplateError]) -> bool: ...
113
- def _refresh(self, event: Union[Event, None], track_templates: Union[Iterable[TrackTemplate], None] = ..., replayed: Union[bool, None] = ...) -> None: ...
112
+ def _super_template_as_boolean(result: bool | str | TemplateError) -> bool: ...
113
+ def _refresh(self, event: Event | None, track_templates: Iterable[TrackTemplate] | None = ..., replayed: bool | None = ...) -> None: ...
114
114
 
115
115
  TrackTemplateResultListener: Incomplete
116
116
 
117
117
  def async_track_template_result(hass: HomeAssistant, track_templates: Sequence[TrackTemplate], action: TrackTemplateResultListener, raise_on_template_error: bool = ..., strict: bool = ..., has_super_template: bool = ...) -> TrackTemplateResultInfo: ...
118
- def async_track_same_state(hass: HomeAssistant, period: timedelta, action: Callable[[], Union[Coroutine[Any, Any, None], None]], async_check_same_func: Callable[[str, Union[State, None], Union[State, None]], bool], entity_ids: Union[str, Iterable[str]] = ...) -> CALLBACK_TYPE: ...
118
+ def async_track_same_state(hass: HomeAssistant, period: timedelta, action: Callable[[], Coroutine[Any, Any, None] | None], async_check_same_func: Callable[[str, State | None, State | None], bool], entity_ids: str | Iterable[str] = ...) -> CALLBACK_TYPE: ...
119
119
 
120
120
  track_same_state: Incomplete
121
121
 
122
- def async_track_point_in_time(hass: HomeAssistant, action: Union[HassJob[[datetime], Union[Coroutine[Any, Any, None], None]], Callable[[datetime], Union[Coroutine[Any, Any, None], None]]], point_in_time: datetime) -> CALLBACK_TYPE: ...
122
+ def async_track_point_in_time(hass: HomeAssistant, action: HassJob[[datetime], Coroutine[Any, Any, None] | None] | Callable[[datetime], Coroutine[Any, Any, None] | None], point_in_time: datetime) -> CALLBACK_TYPE: ...
123
123
 
124
124
  track_point_in_time: Incomplete
125
125
 
126
- def async_track_point_in_utc_time(hass: HomeAssistant, action: Union[HassJob[[datetime], Union[Coroutine[Any, Any, None], None]], Callable[[datetime], Union[Coroutine[Any, Any, None], None]]], point_in_time: datetime) -> CALLBACK_TYPE: ...
126
+ def async_track_point_in_utc_time(hass: HomeAssistant, action: HassJob[[datetime], Coroutine[Any, Any, None] | None] | Callable[[datetime], Coroutine[Any, Any, None] | None], point_in_time: datetime) -> CALLBACK_TYPE: ...
127
127
 
128
128
  track_point_in_utc_time: Incomplete
129
129
 
130
- def async_call_later(hass: HomeAssistant, delay: Union[float, timedelta], action: Union[HassJob[[datetime], Union[Coroutine[Any, Any, None], None]], Callable[[datetime], Union[Coroutine[Any, Any, None], None]]]) -> CALLBACK_TYPE: ...
130
+ def async_call_later(hass: HomeAssistant, delay: float | timedelta, action: HassJob[[datetime], Coroutine[Any, Any, None] | None] | Callable[[datetime], Coroutine[Any, Any, None] | None]) -> CALLBACK_TYPE: ...
131
131
 
132
132
  call_later: Incomplete
133
133
 
134
- def async_track_time_interval(hass: HomeAssistant, action: Callable[[datetime], Union[Coroutine[Any, Any, None], None]], interval: timedelta, name: Union[str, None] = ...) -> CALLBACK_TYPE: ...
134
+ def async_track_time_interval(hass: HomeAssistant, action: Callable[[datetime], Coroutine[Any, Any, None] | None], interval: timedelta, name: str | None = ...) -> CALLBACK_TYPE: ...
135
135
 
136
136
  track_time_interval: Incomplete
137
137
 
138
138
  class SunListener:
139
139
  hass: HomeAssistant
140
- job: HassJob[[], Union[Coroutine[Any, Any, None], None]]
140
+ job: HassJob[[], Coroutine[Any, Any, None] | None]
141
141
  event: str
142
- offset: Union[timedelta, None]
143
- _unsub_sun: Union[CALLBACK_TYPE, None]
144
- _unsub_config: Union[CALLBACK_TYPE, None]
142
+ offset: timedelta | None
143
+ _unsub_sun: CALLBACK_TYPE | None
144
+ _unsub_config: CALLBACK_TYPE | None
145
145
  def async_attach(self) -> None: ...
146
146
  def async_detach(self) -> None: ...
147
147
  def _listen_next_sun_event(self) -> None: ...
@@ -153,28 +153,28 @@ class SunListener:
153
153
  def __gt__(self, other): ...
154
154
  def __ge__(self, other): ...
155
155
 
156
- def async_track_sunrise(hass: HomeAssistant, action: Callable[[], None], offset: Union[timedelta, None] = ...) -> CALLBACK_TYPE: ...
156
+ def async_track_sunrise(hass: HomeAssistant, action: Callable[[], None], offset: timedelta | None = ...) -> CALLBACK_TYPE: ...
157
157
 
158
158
  track_sunrise: Incomplete
159
159
 
160
- def async_track_sunset(hass: HomeAssistant, action: Callable[[], None], offset: Union[timedelta, None] = ...) -> CALLBACK_TYPE: ...
160
+ def async_track_sunset(hass: HomeAssistant, action: Callable[[], None], offset: timedelta | None = ...) -> CALLBACK_TYPE: ...
161
161
 
162
162
  track_sunset: Incomplete
163
163
  time_tracker_utcnow: Incomplete
164
164
  time_tracker_timestamp = time.time
165
165
 
166
- def async_track_utc_time_change(hass: HomeAssistant, action: Callable[[datetime], Union[Coroutine[Any, Any, None], None]], hour: Union[Any, None] = ..., minute: Union[Any, None] = ..., second: Union[Any, None] = ..., local: bool = ...) -> CALLBACK_TYPE: ...
166
+ def async_track_utc_time_change(hass: HomeAssistant, action: Callable[[datetime], Coroutine[Any, Any, None] | None], hour: Any | None = ..., minute: Any | None = ..., second: Any | None = ..., local: bool = ...) -> CALLBACK_TYPE: ...
167
167
 
168
168
  track_utc_time_change: Incomplete
169
169
 
170
- def async_track_time_change(hass: HomeAssistant, action: Callable[[datetime], Union[Coroutine[Any, Any, None], None]], hour: Union[Any, None] = ..., minute: Union[Any, None] = ..., second: Union[Any, None] = ...) -> CALLBACK_TYPE: ...
170
+ def async_track_time_change(hass: HomeAssistant, action: Callable[[datetime], Coroutine[Any, Any, None] | None], hour: Any | None = ..., minute: Any | None = ..., second: Any | None = ...) -> CALLBACK_TYPE: ...
171
171
 
172
172
  track_time_change: Incomplete
173
173
 
174
- def process_state_match(parameter: Union[None, str, Iterable[str]], invert: bool = ...) -> Callable[[Union[str, None]], bool]: ...
174
+ def process_state_match(parameter: None | str | Iterable[str], invert: bool = ...) -> Callable[[str | None], bool]: ...
175
175
  def _entities_domains_from_render_infos(render_infos: Iterable[RenderInfo]) -> tuple[set[str], set[str]]: ...
176
176
  def _render_infos_needs_all_listener(render_infos: Iterable[RenderInfo]) -> bool: ...
177
177
  def _render_infos_to_track_states(render_infos: Iterable[RenderInfo]) -> TrackStates: ...
178
178
  def _event_triggers_rerender(event: Event, info: RenderInfo) -> bool: ...
179
- def _rate_limit_for_event(event: Event, info: RenderInfo, track_template_: TrackTemplate) -> Union[timedelta, None]: ...
179
+ def _rate_limit_for_event(event: Event, info: RenderInfo, track_template_: TrackTemplate) -> timedelta | None: ...
180
180
  def _suppress_domain_all_in_render_info(render_info: RenderInfo) -> RenderInfo: ...
@@ -8,10 +8,10 @@ _LOGGER: Incomplete
8
8
  _REPORTED_INTEGRATIONS: set[str]
9
9
  _CallableT = TypeVar('_CallableT', bound=Callable)
10
10
 
11
- def get_integration_frame(exclude_integrations: Union[set, None] = ...) -> tuple[FrameSummary, str, str]: ...
11
+ def get_integration_frame(exclude_integrations: set | None = ...) -> tuple[FrameSummary, str, str]: ...
12
12
 
13
13
  class MissingIntegrationFrame(HomeAssistantError): ...
14
14
 
15
- def report(what: str, exclude_integrations: Union[set, None] = ..., error_if_core: bool = ..., level: int = ...) -> None: ...
15
+ def report(what: str, exclude_integrations: set | None = ..., error_if_core: bool = ..., level: int = ...) -> None: ...
16
16
  def report_integration(what: str, integration_frame: tuple[FrameSummary, str, str], level: int = ...) -> None: ...
17
17
  def warn_use(func: _CallableT, what: str) -> _CallableT: ...
@@ -1,2 +1,2 @@
1
- def icon_for_battery_level(battery_level: Union[int, None] = ..., charging: bool = ...) -> str: ...
2
- def icon_for_signal_level(signal_level: Union[int, None] = ...) -> str: ...
1
+ def icon_for_battery_level(battery_level: int | None = ..., charging: bool = ...) -> str: ...
2
+ def icon_for_signal_level(signal_level: int | None = ...) -> str: ...
@@ -15,6 +15,6 @@ class IntegrationPlatform:
15
15
  seen_components: set[str]
16
16
  def __init__(self, platform_name, process_platform, seen_components) -> None: ...
17
17
 
18
- async def _async_process_single_integration_platform_component(hass: HomeAssistant, component_name: str, integration: Union[Integration, Exception], integration_platform: IntegrationPlatform) -> None: ...
18
+ async def _async_process_single_integration_platform_component(hass: HomeAssistant, component_name: str, integration: Integration | Exception, integration_platform: IntegrationPlatform) -> None: ...
19
19
  async def async_process_integration_platform_for_component(hass: HomeAssistant, component_name: str) -> None: ...
20
20
  async def async_process_integration_platforms(hass: HomeAssistant, platform_name: str, process_platform: Callable[[HomeAssistant, str, Any], Awaitable[None]]) -> None: ...
@@ -22,7 +22,7 @@ SPEECH_TYPE_PLAIN: str
22
22
  SPEECH_TYPE_SSML: str
23
23
 
24
24
  def async_register(hass: HomeAssistant, handler: IntentHandler) -> None: ...
25
- async def async_handle(hass: HomeAssistant, platform: str, intent_type: str, slots: Union[_SlotsType, None] = ..., text_input: Union[str, None] = ..., context: Union[Context, None] = ..., language: Union[str, None] = ...) -> IntentResponse: ...
25
+ async def async_handle(hass: HomeAssistant, platform: str, intent_type: str, slots: _SlotsType | None = ..., text_input: str | None = ..., context: Context | None = ..., language: str | None = ...) -> IntentResponse: ...
26
26
 
27
27
  class IntentError(HomeAssistantError): ...
28
28
  class UnknownIntent(IntentError): ...
@@ -30,18 +30,18 @@ class InvalidSlotInfo(IntentError): ...
30
30
  class IntentHandleError(IntentError): ...
31
31
  class IntentUnexpectedError(IntentError): ...
32
32
 
33
- def _is_device_class(state: State, entity: Union[entity_registry.RegistryEntry, None], device_classes: Collection[str]) -> bool: ...
34
- def _has_name(state: State, entity: Union[entity_registry.RegistryEntry, None], name: str) -> bool: ...
35
- def _find_area(id_or_name: str, areas: area_registry.AreaRegistry) -> Union[area_registry.AreaEntry, None]: ...
36
- def _filter_by_area(states_and_entities: list[tuple[State, Union[entity_registry.RegistryEntry, None]]], area: area_registry.AreaEntry, devices: device_registry.DeviceRegistry) -> Iterable[tuple[State, Union[entity_registry.RegistryEntry, None]]]: ...
37
- def async_match_states(hass: HomeAssistant, name: Union[str, None] = ..., area_name: Union[str, None] = ..., area: Union[area_registry.AreaEntry, None] = ..., domains: Union[Collection[str], None] = ..., device_classes: Union[Collection[str], None] = ..., states: Union[Iterable[State], None] = ..., entities: Union[entity_registry.EntityRegistry, None] = ..., areas: Union[area_registry.AreaRegistry, None] = ..., devices: Union[device_registry.DeviceRegistry, None] = ...) -> Iterable[State]: ...
33
+ def _is_device_class(state: State, entity: entity_registry.RegistryEntry | None, device_classes: Collection[str]) -> bool: ...
34
+ def _has_name(state: State, entity: entity_registry.RegistryEntry | None, name: str) -> bool: ...
35
+ def _find_area(id_or_name: str, areas: area_registry.AreaRegistry) -> area_registry.AreaEntry | None: ...
36
+ def _filter_by_area(states_and_entities: list[tuple[State, entity_registry.RegistryEntry | None]], area: area_registry.AreaEntry, devices: device_registry.DeviceRegistry) -> Iterable[tuple[State, entity_registry.RegistryEntry | None]]: ...
37
+ def async_match_states(hass: HomeAssistant, name: str | None = ..., area_name: str | None = ..., area: area_registry.AreaEntry | None = ..., domains: Collection[str] | None = ..., device_classes: Collection[str] | None = ..., states: Iterable[State] | None = ..., entities: entity_registry.EntityRegistry | None = ..., areas: area_registry.AreaRegistry | None = ..., devices: device_registry.DeviceRegistry | None = ...) -> Iterable[State]: ...
38
38
  def async_test_feature(state: State, feature: int, feature_name: str) -> None: ...
39
39
 
40
40
  class IntentHandler:
41
- intent_type: Union[str, None]
42
- slot_schema: Union[vol.Schema, None]
43
- _slot_schema: Union[vol.Schema, None]
44
- platforms: Union[Iterable[str], None]
41
+ intent_type: str | None
42
+ slot_schema: vol.Schema | None
43
+ _slot_schema: vol.Schema | None
44
+ platforms: Iterable[str] | None
45
45
  def async_can_handle(self, intent_obj: Intent) -> bool: ...
46
46
  def async_validate_slots(self, slots: _SlotsType) -> _SlotsType: ...
47
47
  async def async_handle(self, intent_obj: Intent) -> IntentResponse: ...
@@ -54,9 +54,9 @@ class ServiceIntentHandler(IntentHandler):
54
54
  domain: Incomplete
55
55
  service: Incomplete
56
56
  speech: Incomplete
57
- def __init__(self, intent_type: str, domain: str, service: str, speech: Union[str, None] = ...) -> None: ...
57
+ def __init__(self, intent_type: str, domain: str, service: str, speech: str | None = ...) -> None: ...
58
58
  async def async_handle(self, intent_obj: Intent) -> IntentResponse: ...
59
- async def async_handle_states(self, intent_obj: Intent, states: list[State], area: Union[area_registry.AreaEntry, None] = ...) -> IntentResponse: ...
59
+ async def async_handle_states(self, intent_obj: Intent, states: list[State], area: area_registry.AreaEntry | None = ...) -> IntentResponse: ...
60
60
  async def async_call_service(self, intent_obj: Intent, state: State) -> None: ...
61
61
 
62
62
  class IntentCategory(Enum):
@@ -73,7 +73,7 @@ class Intent:
73
73
  context: Incomplete
74
74
  language: Incomplete
75
75
  category: Incomplete
76
- def __init__(self, hass: HomeAssistant, platform: str, intent_type: str, slots: _SlotsType, text_input: Union[str, None], context: Context, language: str, category: Union[IntentCategory, None] = ...) -> None: ...
76
+ def __init__(self, hass: HomeAssistant, platform: str, intent_type: str, slots: _SlotsType, text_input: str | None, context: Context, language: str, category: IntentCategory | None = ...) -> None: ...
77
77
  def create_response(self) -> IntentResponse: ...
78
78
 
79
79
  class IntentResponseType(Enum):
@@ -99,7 +99,7 @@ class IntentResponseTargetType(str, Enum):
99
99
  class IntentResponseTarget:
100
100
  name: str
101
101
  type: IntentResponseTargetType
102
- id: Union[str, None]
102
+ id: str | None
103
103
  def __init__(self, name, type, id) -> None: ...
104
104
 
105
105
  class IntentResponse:
@@ -115,12 +115,12 @@ class IntentResponse:
115
115
  matched_states: Incomplete
116
116
  unmatched_states: Incomplete
117
117
  response_type: Incomplete
118
- def __init__(self, language: str, intent: Union[Intent, None] = ...) -> None: ...
119
- def async_set_speech(self, speech: str, speech_type: str = ..., extra_data: Union[Any, None] = ...) -> None: ...
120
- def async_set_reprompt(self, speech: str, speech_type: str = ..., extra_data: Union[Any, None] = ...) -> None: ...
118
+ def __init__(self, language: str, intent: Intent | None = ...) -> None: ...
119
+ def async_set_speech(self, speech: str, speech_type: str = ..., extra_data: Any | None = ...) -> None: ...
120
+ def async_set_reprompt(self, speech: str, speech_type: str = ..., extra_data: Any | None = ...) -> None: ...
121
121
  def async_set_card(self, title: str, content: str, card_type: str = ...) -> None: ...
122
122
  def async_set_error(self, code: IntentResponseErrorCode, message: str) -> None: ...
123
123
  def async_set_targets(self, intent_targets: list[IntentResponseTarget]) -> None: ...
124
- def async_set_results(self, success_results: list[IntentResponseTarget], failed_results: Union[list[IntentResponseTarget], None] = ...) -> None: ...
125
- def async_set_states(self, matched_states: list[State], unmatched_states: Union[list[State], None] = ...) -> None: ...
124
+ def async_set_results(self, success_results: list[IntentResponseTarget], failed_results: list[IntentResponseTarget] | None = ...) -> None: ...
125
+ def async_set_states(self, matched_states: list[State], unmatched_states: list[State] | None = ...) -> None: ...
126
126
  def as_dict(self) -> dict[str, Any]: ...
@@ -20,19 +20,19 @@ class IssueSeverity(StrEnum):
20
20
 
21
21
  class IssueEntry:
22
22
  active: bool
23
- breaks_in_ha_version: Union[str, None]
23
+ breaks_in_ha_version: str | None
24
24
  created: datetime
25
- data: Union[dict[str, Union[str, int, float, None]], None]
26
- dismissed_version: Union[str, None]
25
+ data: dict[str, str | int | float | None] | None
26
+ dismissed_version: str | None
27
27
  domain: str
28
- is_fixable: Union[bool, None]
28
+ is_fixable: bool | None
29
29
  is_persistent: bool
30
- issue_domain: Union[str, None]
30
+ issue_domain: str | None
31
31
  issue_id: str
32
- learn_more_url: Union[str, None]
33
- severity: Union[IssueSeverity, None]
34
- translation_key: Union[str, None]
35
- translation_placeholders: Union[dict[str, str], None]
32
+ learn_more_url: str | None
33
+ severity: IssueSeverity | None
34
+ translation_key: str | None
35
+ translation_placeholders: dict[str, str] | None
36
36
  def to_json(self) -> dict[str, Any]: ...
37
37
  def __init__(self, active, breaks_in_ha_version, created, data, dismissed_version, domain, is_fixable, is_persistent, issue_domain, issue_id, learn_more_url, severity, translation_key, translation_placeholders) -> None: ...
38
38
 
@@ -44,18 +44,18 @@ class IssueRegistry:
44
44
  issues: Incomplete
45
45
  _store: Incomplete
46
46
  def __init__(self, hass: HomeAssistant) -> None: ...
47
- def async_get_issue(self, domain: str, issue_id: str) -> Union[IssueEntry, None]: ...
48
- def async_get_or_create(self, domain: str, issue_id: str, *, breaks_in_ha_version: Union[str, None] = ..., data: Union[dict[str, Union[str, int, float, None]], None] = ..., is_fixable: bool, is_persistent: bool, issue_domain: Union[str, None] = ..., learn_more_url: Union[str, None] = ..., severity: IssueSeverity, translation_key: str, translation_placeholders: Union[dict[str, str], None] = ...) -> IssueEntry: ...
47
+ def async_get_issue(self, domain: str, issue_id: str) -> IssueEntry | None: ...
48
+ def async_get_or_create(self, domain: str, issue_id: str, *, breaks_in_ha_version: str | None = ..., data: dict[str, str | int | float | None] | None = ..., is_fixable: bool, is_persistent: bool, issue_domain: str | None = ..., learn_more_url: str | None = ..., severity: IssueSeverity, translation_key: str, translation_placeholders: dict[str, str] | None = ...) -> IssueEntry: ...
49
49
  def async_delete(self, domain: str, issue_id: str) -> None: ...
50
50
  def async_ignore(self, domain: str, issue_id: str, ignore: bool) -> IssueEntry: ...
51
51
  async def async_load(self) -> None: ...
52
52
  def async_schedule_save(self) -> None: ...
53
- def _data_to_save(self) -> dict[str, list[dict[str, Union[str, None]]]]: ...
53
+ def _data_to_save(self) -> dict[str, list[dict[str, str | None]]]: ...
54
54
 
55
55
  def async_get(hass: HomeAssistant) -> IssueRegistry: ...
56
56
  async def async_load(hass: HomeAssistant) -> None: ...
57
- def async_create_issue(hass: HomeAssistant, domain: str, issue_id: str, *, breaks_in_ha_version: Union[str, None] = ..., data: Union[dict[str, Union[str, int, float, None]], None] = ..., is_fixable: bool, is_persistent: bool = ..., issue_domain: Union[str, None] = ..., learn_more_url: Union[str, None] = ..., severity: IssueSeverity, translation_key: str, translation_placeholders: Union[dict[str, str], None] = ...) -> None: ...
58
- def create_issue(hass: HomeAssistant, domain: str, issue_id: str, *, breaks_in_ha_version: Union[str, None] = ..., data: Union[dict[str, Union[str, int, float, None]], None] = ..., is_fixable: bool, is_persistent: bool = ..., issue_domain: Union[str, None] = ..., learn_more_url: Union[str, None] = ..., severity: IssueSeverity, translation_key: str, translation_placeholders: Union[dict[str, str], None] = ...) -> None: ...
57
+ def async_create_issue(hass: HomeAssistant, domain: str, issue_id: str, *, breaks_in_ha_version: str | None = ..., data: dict[str, str | int | float | None] | None = ..., is_fixable: bool, is_persistent: bool = ..., issue_domain: str | None = ..., learn_more_url: str | None = ..., severity: IssueSeverity, translation_key: str, translation_placeholders: dict[str, str] | None = ...) -> None: ...
58
+ def create_issue(hass: HomeAssistant, domain: str, issue_id: str, *, breaks_in_ha_version: str | None = ..., data: dict[str, str | int | float | None] | None = ..., is_fixable: bool, is_persistent: bool = ..., issue_domain: str | None = ..., learn_more_url: str | None = ..., severity: IssueSeverity, translation_key: str, translation_placeholders: dict[str, str] | None = ...) -> None: ...
59
59
  def async_delete_issue(hass: HomeAssistant, domain: str, issue_id: str) -> None: ...
60
60
  def delete_issue(hass: HomeAssistant, domain: str, issue_id: str) -> None: ...
61
61
  def async_ignore_issue(hass: HomeAssistant, domain: str, issue_id: str, ignore: bool) -> None: ...
@@ -25,5 +25,5 @@ def json_dumps_sorted(data: Any) -> str: ...
25
25
  JSON_DUMP: Final[Incomplete]
26
26
 
27
27
  def _orjson_default_encoder(data: Any) -> str: ...
28
- def save_json(filename: str, data: Union[list, dict], private: bool = ..., *, encoder: Union[type[json.JSONEncoder], None] = ..., atomic_writes: bool = ...) -> None: ...
28
+ def save_json(filename: str, data: list | dict, private: bool = ..., *, encoder: type[json.JSONEncoder] | None = ..., atomic_writes: bool = ...) -> None: ...
29
29
  def find_paths_unserializable_data(bad_data: Any, *, dump: Callable[[Any], str] = ...) -> dict[str, Any]: ...
@@ -6,7 +6,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant, State as State
6
6
  _LOGGER: Incomplete
7
7
 
8
8
  def has_location(state: State) -> bool: ...
9
- def closest(latitude: float, longitude: float, states: Iterable[State]) -> Union[State, None]: ...
10
- def find_coordinates(hass: HomeAssistant, name: str, recursion_history: Union[list, None] = ...) -> Union[str, None]: ...
11
- def resolve_zone(hass: HomeAssistant, zone_name: str) -> Union[str, None]: ...
9
+ def closest(latitude: float, longitude: float, states: Iterable[State]) -> State | None: ...
10
+ def find_coordinates(hass: HomeAssistant, name: str, recursion_history: list | None = ...) -> str | None: ...
11
+ def resolve_zone(hass: HomeAssistant, zone_name: str) -> str | None: ...
12
12
  def _get_location_from_attributes(entity_state: State) -> str: ...
@@ -12,10 +12,10 @@ SUPERVISOR_NETWORK_HOST: str
12
12
  class NoURLAvailableError(HomeAssistantError): ...
13
13
 
14
14
  def is_internal_request(hass: HomeAssistant) -> bool: ...
15
- def get_supervisor_network_url(hass: HomeAssistant, *, allow_ssl: bool = ...) -> Union[str, None]: ...
15
+ def get_supervisor_network_url(hass: HomeAssistant, *, allow_ssl: bool = ...) -> str | None: ...
16
16
  def is_hass_url(hass: HomeAssistant, url: str) -> bool: ...
17
- def get_url(hass: HomeAssistant, *, require_current_request: bool = ..., require_ssl: bool = ..., require_standard_port: bool = ..., allow_internal: bool = ..., allow_external: bool = ..., allow_cloud: bool = ..., allow_ip: Union[bool, None] = ..., prefer_external: Union[bool, None] = ..., prefer_cloud: bool = ...) -> str: ...
18
- def _get_request_host() -> Union[str, None]: ...
17
+ def get_url(hass: HomeAssistant, *, require_current_request: bool = ..., require_ssl: bool = ..., require_standard_port: bool = ..., allow_internal: bool = ..., allow_external: bool = ..., allow_cloud: bool = ..., allow_ip: bool | None = ..., prefer_external: bool | None = ..., prefer_cloud: bool = ...) -> str: ...
18
+ def _get_request_host() -> str | None: ...
19
19
  def _get_internal_url(hass: HomeAssistant, *, allow_ip: bool = ..., require_current_request: bool = ..., require_ssl: bool = ..., require_standard_port: bool = ...) -> str: ...
20
20
  def _get_external_url(hass: HomeAssistant, *, allow_cloud: bool = ..., allow_ip: bool = ..., prefer_cloud: bool = ..., require_current_request: bool = ..., require_ssl: bool = ..., require_standard_port: bool = ...) -> str: ...
21
21
  def _get_cloud_url(hass: HomeAssistant, require_current_request: bool = ...) -> str: ...
@@ -12,7 +12,7 @@ class KeyedRateLimit:
12
12
  _rate_limit_timers: Incomplete
13
13
  def __init__(self, hass: HomeAssistant) -> None: ...
14
14
  def async_has_timer(self, key: Hashable) -> bool: ...
15
- def async_triggered(self, key: Hashable, now: Union[datetime, None] = ...) -> None: ...
15
+ def async_triggered(self, key: Hashable, now: datetime | None = ...) -> None: ...
16
16
  def async_cancel_timer(self, key: Hashable) -> None: ...
17
17
  def async_remove(self) -> None: ...
18
- def async_schedule_action(self, key: Hashable, rate_limit: Union[timedelta, None], now: datetime, action: Callable, *args: Any) -> Union[datetime, None]: ...
18
+ def async_schedule_action(self, key: Hashable, rate_limit: timedelta | None, now: datetime, action: Callable, *args: Any) -> datetime | None: ...