homeassistant-stubs 2025.9.4__py3-none-any.whl → 2025.10.0b0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (305) hide show
  1. homeassistant-stubs/components/acaia/coordinator.pyi +1 -0
  2. homeassistant-stubs/components/accuweather/__init__.pyi +3 -3
  3. homeassistant-stubs/components/accuweather/config_flow.pyi +5 -0
  4. homeassistant-stubs/components/accuweather/const.pyi +1 -0
  5. homeassistant-stubs/components/accuweather/coordinator.pyi +17 -4
  6. homeassistant-stubs/components/accuweather/weather.pyi +5 -2
  7. homeassistant-stubs/components/airos/binary_sensor.pyi +2 -2
  8. homeassistant-stubs/components/airos/config_flow.pyi +1 -1
  9. homeassistant-stubs/components/airos/coordinator.pyi +4 -4
  10. homeassistant-stubs/components/airos/sensor.pyi +2 -2
  11. homeassistant-stubs/components/airzone/select.pyi +1 -0
  12. homeassistant-stubs/components/alexa_devices/coordinator.pyi +2 -0
  13. homeassistant-stubs/components/analytics/__init__.pyi +4 -21
  14. homeassistant-stubs/components/analytics/analytics.pyi +42 -5
  15. homeassistant-stubs/components/androidtv/__init__.pyi +5 -1
  16. homeassistant-stubs/components/androidtv/media_player.pyi +1 -10
  17. homeassistant-stubs/components/androidtv/services.pyi +16 -0
  18. homeassistant-stubs/components/androidtv_remote/entity.pyi +1 -3
  19. homeassistant-stubs/components/assist_pipeline/__init__.pyi +1 -1
  20. homeassistant-stubs/components/assist_pipeline/const.pyi +1 -0
  21. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +7 -4
  22. homeassistant-stubs/components/assist_pipeline/select.pyi +1 -1
  23. homeassistant-stubs/components/asuswrt/bridge.pyi +8 -0
  24. homeassistant-stubs/components/blue_current/__init__.pyi +11 -5
  25. homeassistant-stubs/components/blue_current/const.pyi +6 -0
  26. homeassistant-stubs/components/bluetooth/__init__.pyi +2 -2
  27. homeassistant-stubs/components/bluetooth/api.pyi +5 -2
  28. homeassistant-stubs/components/bluetooth/manager.pyi +7 -1
  29. homeassistant-stubs/components/bluetooth/websocket_api.pyi +6 -1
  30. homeassistant-stubs/components/brother/__init__.pyi +4 -2
  31. homeassistant-stubs/components/brother/config_flow.pyi +5 -2
  32. homeassistant-stubs/components/brother/const.pyi +4 -0
  33. homeassistant-stubs/components/bthome/sensor.pyi +1 -1
  34. homeassistant-stubs/components/camera/__init__.pyi +1 -1
  35. homeassistant-stubs/components/camera/prefs.pyi +3 -1
  36. homeassistant-stubs/components/cloud/http_api.pyi +2 -0
  37. homeassistant-stubs/components/comelit/coordinator.pyi +2 -1
  38. homeassistant-stubs/components/comelit/sensor.pyi +1 -1
  39. homeassistant-stubs/components/compit/__init__.pyi +11 -0
  40. homeassistant-stubs/components/compit/climate.pyi +63 -0
  41. homeassistant-stubs/components/compit/config_flow.pyi +17 -0
  42. homeassistant-stubs/components/compit/const.pyi +2 -0
  43. homeassistant-stubs/components/compit/coordinator.pyi +16 -0
  44. homeassistant-stubs/components/derivative/diagnostics.pyi +5 -0
  45. homeassistant-stubs/components/droplet/__init__.pyi +10 -0
  46. homeassistant-stubs/components/droplet/config_flow.pyi +13 -0
  47. homeassistant-stubs/components/droplet/const.pyi +7 -0
  48. homeassistant-stubs/components/droplet/coordinator.pyi +23 -0
  49. homeassistant-stubs/components/droplet/sensor.pyi +37 -0
  50. homeassistant-stubs/components/ecovacs/number.pyi +4 -1
  51. homeassistant-stubs/components/elkm1/config_flow.pyi +2 -0
  52. homeassistant-stubs/components/elkm1/sensor.pyi +8 -1
  53. homeassistant-stubs/components/energy/sensor.pyi +1 -1
  54. homeassistant-stubs/components/esphome/assist_satellite.pyi +5 -1
  55. homeassistant-stubs/components/esphome/climate.pyi +2 -0
  56. homeassistant-stubs/components/esphome/config_flow.pyi +2 -0
  57. homeassistant-stubs/components/esphome/const.pyi +1 -0
  58. homeassistant-stubs/components/esphome/entry_data.pyi +8 -4
  59. homeassistant-stubs/components/esphome/lock.pyi +1 -1
  60. homeassistant-stubs/components/esphome/select.pyi +4 -3
  61. homeassistant-stubs/components/fritz/sensor.pyi +2 -1
  62. homeassistant-stubs/components/frontend/__init__.pyi +5 -2
  63. homeassistant-stubs/components/geocaching/entity.pyi +14 -0
  64. homeassistant-stubs/components/geocaching/sensor.pyi +25 -5
  65. homeassistant-stubs/components/go2rtc/__init__.pyi +3 -0
  66. homeassistant-stubs/components/google/__init__.pyi +0 -1
  67. homeassistant-stubs/components/google/config_flow.pyi +3 -3
  68. homeassistant-stubs/components/google_cloud/__init__.pyi +0 -1
  69. homeassistant-stubs/components/google_cloud/config_flow.pyi +2 -2
  70. homeassistant-stubs/components/google_photos/media_source.pyi +2 -2
  71. homeassistant-stubs/components/habitica/binary_sensor.pyi +1 -1
  72. homeassistant-stubs/components/habitica/const.pyi +1 -0
  73. homeassistant-stubs/components/habitica/sensor.pyi +3 -1
  74. homeassistant-stubs/components/habitica/services.pyi +2 -1
  75. homeassistant-stubs/components/habitica/util.pyi +1 -0
  76. homeassistant-stubs/components/here_travel_time/__init__.pyi +3 -1
  77. homeassistant-stubs/components/history_stats/config_flow.pyi +7 -2
  78. homeassistant-stubs/components/history_stats/diagnostics.pyi +5 -0
  79. homeassistant-stubs/components/home_connect/application_credentials.pyi +0 -1
  80. homeassistant-stubs/components/home_connect/coordinator.pyi +0 -1
  81. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +38 -11
  82. homeassistant-stubs/components/homee/alarm_control_panel.pyi +3 -2
  83. homeassistant-stubs/components/homee/binary_sensor.pyi +4 -2
  84. homeassistant-stubs/components/homee/button.pyi +3 -1
  85. homeassistant-stubs/components/homee/climate.pyi +3 -1
  86. homeassistant-stubs/components/homee/cover.pyi +3 -1
  87. homeassistant-stubs/components/homee/event.pyi +3 -1
  88. homeassistant-stubs/components/homee/fan.pyi +3 -1
  89. homeassistant-stubs/components/homee/helpers.pyi +6 -0
  90. homeassistant-stubs/components/homee/light.pyi +2 -0
  91. homeassistant-stubs/components/homee/lock.pyi +4 -2
  92. homeassistant-stubs/components/homee/number.pyi +3 -1
  93. homeassistant-stubs/components/homee/select.pyi +3 -1
  94. homeassistant-stubs/components/homee/sensor.pyi +2 -2
  95. homeassistant-stubs/components/homee/siren.pyi +4 -1
  96. homeassistant-stubs/components/homee/switch.pyi +4 -2
  97. homeassistant-stubs/components/homee/valve.pyi +3 -1
  98. homeassistant-stubs/components/homekit/type_switches.pyi +7 -1
  99. homeassistant-stubs/components/homewizard/sensor.pyi +3 -1
  100. homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +1 -1
  101. homeassistant-stubs/components/image/__init__.pyi +1 -0
  102. homeassistant-stubs/components/image_upload/__init__.pyi +1 -1
  103. homeassistant-stubs/components/image_upload/const.pyi +1 -0
  104. homeassistant-stubs/components/image_upload/media_source.pyi +5 -1
  105. homeassistant-stubs/components/immich/media_source.pyi +2 -2
  106. homeassistant-stubs/components/integration/__init__.pyi +0 -1
  107. homeassistant-stubs/components/integration/config_flow.pyi +1 -0
  108. homeassistant-stubs/components/lawn_mower/intent.pyi +8 -0
  109. homeassistant-stubs/components/letpot/number.pyi +34 -0
  110. homeassistant-stubs/components/libre_hardware_monitor/__init__.pyi +9 -0
  111. homeassistant-stubs/components/libre_hardware_monitor/config_flow.pyi +12 -0
  112. homeassistant-stubs/components/libre_hardware_monitor/const.pyi +4 -0
  113. homeassistant-stubs/components/libre_hardware_monitor/coordinator.pyi +21 -0
  114. homeassistant-stubs/components/libre_hardware_monitor/sensor.pyi +34 -0
  115. homeassistant-stubs/components/litterrobot/select.pyi +1 -1
  116. homeassistant-stubs/components/litterrobot/switch.pyi +5 -1
  117. homeassistant-stubs/components/logbook/helpers.pyi +4 -3
  118. homeassistant-stubs/components/mastodon/const.pyi +1 -0
  119. homeassistant-stubs/components/mastodon/services.pyi +1 -1
  120. homeassistant-stubs/components/matter/models.pyi +1 -0
  121. homeassistant-stubs/components/matter/sensor.pyi +1 -0
  122. homeassistant-stubs/components/mcp_server/session.pyi +2 -2
  123. homeassistant-stubs/components/media_source/__init__.pyi +2 -10
  124. homeassistant-stubs/components/media_source/helper.pyi +16 -0
  125. homeassistant-stubs/components/media_source/http.pyi +13 -0
  126. homeassistant-stubs/components/media_source/local_source.pyi +19 -11
  127. homeassistant-stubs/components/metoffice/sensor.pyi +1 -1
  128. homeassistant-stubs/components/miele/const.pyi +193 -17
  129. homeassistant-stubs/components/miele/sensor.pyi +12 -3
  130. homeassistant-stubs/components/miele/vacuum.pyi +1 -2
  131. homeassistant-stubs/components/min_max/sensor.pyi +1 -1
  132. homeassistant-stubs/components/modbus/__init__.pyi +1 -1
  133. homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
  134. homeassistant-stubs/components/modbus/climate.pyi +2 -2
  135. homeassistant-stubs/components/modbus/const.pyi +1 -0
  136. homeassistant-stubs/components/modbus/cover.pyi +2 -2
  137. homeassistant-stubs/components/modbus/entity.pyi +4 -4
  138. homeassistant-stubs/components/modbus/fan.pyi +2 -2
  139. homeassistant-stubs/components/modbus/light.pyi +2 -2
  140. homeassistant-stubs/components/modbus/modbus.pyi +1 -2
  141. homeassistant-stubs/components/modbus/sensor.pyi +2 -2
  142. homeassistant-stubs/components/modbus/switch.pyi +2 -2
  143. homeassistant-stubs/components/modbus/validators.pyi +1 -1
  144. homeassistant-stubs/components/motionmount/select.pyi +1 -0
  145. homeassistant-stubs/components/mqtt/config_flow.pyi +61 -60
  146. homeassistant-stubs/components/mqtt/const.pyi +6 -0
  147. homeassistant-stubs/components/mqtt/device_automation.pyi +1 -1
  148. homeassistant-stubs/components/mqtt/entity.pyi +2 -2
  149. homeassistant-stubs/components/mqtt/image.pyi +1 -5
  150. homeassistant-stubs/components/mqtt/light/schema_json.pyi +0 -1
  151. homeassistant-stubs/components/mqtt/schemas.pyi +1 -1
  152. homeassistant-stubs/components/mqtt/tag.pyi +1 -1
  153. homeassistant-stubs/components/music_assistant/__init__.pyi +2 -1
  154. homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -1
  155. homeassistant-stubs/components/music_assistant/const.pyi +1 -0
  156. homeassistant-stubs/components/nordpool/coordinator.pyi +4 -2
  157. homeassistant-stubs/components/ntfy/config_flow.pyi +4 -2
  158. homeassistant-stubs/components/ntfy/const.pyi +6 -0
  159. homeassistant-stubs/components/ntfy/entity.pyi +18 -0
  160. homeassistant-stubs/components/ntfy/event.pyi +29 -0
  161. homeassistant-stubs/components/ntfy/notify.pyi +19 -13
  162. homeassistant-stubs/components/{home_connect → ntfy}/repairs.pyi +7 -3
  163. homeassistant-stubs/components/number/const.pyi +1 -1
  164. homeassistant-stubs/components/openai_conversation/ai_task.pyi +5 -1
  165. homeassistant-stubs/components/openai_conversation/const.pyi +1 -0
  166. homeassistant-stubs/components/openai_conversation/entity.pyi +2 -2
  167. homeassistant-stubs/components/openuv/__init__.pyi +1 -1
  168. homeassistant-stubs/components/openuv/binary_sensor.pyi +2 -2
  169. homeassistant-stubs/components/openuv/coordinator.pyi +14 -1
  170. homeassistant-stubs/components/opnsense/__init__.pyi +11 -0
  171. homeassistant-stubs/components/opnsense/const.pyi +5 -0
  172. homeassistant-stubs/components/opnsense/device_tracker.pyi +23 -0
  173. homeassistant-stubs/components/portainer/__init__.pyi +11 -0
  174. homeassistant-stubs/components/portainer/binary_sensor.pyi +39 -0
  175. homeassistant-stubs/components/portainer/config_flow.pyi +20 -0
  176. homeassistant-stubs/components/portainer/const.pyi +2 -0
  177. homeassistant-stubs/components/portainer/coordinator.pyi +29 -0
  178. homeassistant-stubs/components/portainer/entity.pyi +22 -0
  179. homeassistant-stubs/components/prusalink/coordinator.pyi +2 -0
  180. homeassistant-stubs/components/radio_browser/media_source.pyi +3 -0
  181. homeassistant-stubs/components/recorder/models/statistics.pyi +1 -0
  182. homeassistant-stubs/components/recorder/statistics.pyi +1 -1
  183. homeassistant-stubs/components/recorder/util.pyi +1 -0
  184. homeassistant-stubs/components/recorder/websocket_api.pyi +1 -1
  185. homeassistant-stubs/components/reolink/entity.pyi +10 -0
  186. homeassistant-stubs/components/reolink/light.pyi +7 -1
  187. homeassistant-stubs/components/reolink/number.pyi +10 -1
  188. homeassistant-stubs/components/reolink/select.pyi +11 -3
  189. homeassistant-stubs/components/reolink/siren.pyi +11 -1
  190. homeassistant-stubs/components/reolink/switch.pyi +11 -1
  191. homeassistant-stubs/components/roborock/config_flow.pyi +1 -1
  192. homeassistant-stubs/components/roborock/const.pyi +1 -0
  193. homeassistant-stubs/components/roborock/coordinator.pyi +1 -1
  194. homeassistant-stubs/components/route_b_smart_meter/__init__.pyi +10 -0
  195. homeassistant-stubs/components/route_b_smart_meter/config_flow.pyi +22 -0
  196. homeassistant-stubs/components/route_b_smart_meter/const.pyi +9 -0
  197. homeassistant-stubs/components/route_b_smart_meter/coordinator.pyi +26 -0
  198. homeassistant-stubs/components/route_b_smart_meter/sensor.pyi +30 -0
  199. homeassistant-stubs/components/scrape/__init__.pyi +0 -1
  200. homeassistant-stubs/components/scrape/config_flow.pyi +1 -0
  201. homeassistant-stubs/components/scrape/coordinator.pyi +5 -1
  202. homeassistant-stubs/components/sensor/const.pyi +2 -1
  203. homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
  204. homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
  205. homeassistant-stubs/components/sftp_storage/__init__.pyi +21 -0
  206. homeassistant-stubs/components/sftp_storage/backup.pyi +24 -0
  207. homeassistant-stubs/components/sftp_storage/client.pyi +48 -0
  208. homeassistant-stubs/components/sftp_storage/config_flow.pyi +25 -0
  209. homeassistant-stubs/components/sftp_storage/const.pyi +16 -0
  210. homeassistant-stubs/components/shelly/__init__.pyi +2 -2
  211. homeassistant-stubs/components/shelly/binary_sensor.pyi +5 -1
  212. homeassistant-stubs/components/shelly/button.pyi +10 -2
  213. homeassistant-stubs/components/shelly/const.pyi +5 -2
  214. homeassistant-stubs/components/shelly/cover.pyi +6 -0
  215. homeassistant-stubs/components/shelly/entity.pyi +1 -3
  216. homeassistant-stubs/components/shelly/light.pyi +18 -10
  217. homeassistant-stubs/components/shelly/number.pyi +1 -1
  218. homeassistant-stubs/components/shelly/repairs.pyi +4 -2
  219. homeassistant-stubs/components/shelly/select.pyi +1 -1
  220. homeassistant-stubs/components/shelly/sensor.pyi +12 -8
  221. homeassistant-stubs/components/shelly/switch.pyi +1 -1
  222. homeassistant-stubs/components/shelly/text.pyi +1 -1
  223. homeassistant-stubs/components/shelly/utils.pyi +7 -2
  224. homeassistant-stubs/components/sql/__init__.pyi +2 -2
  225. homeassistant-stubs/components/sql/config_flow.pyi +6 -2
  226. homeassistant-stubs/components/sql/const.pyi +1 -0
  227. homeassistant-stubs/components/sql/sensor.pyi +1 -1
  228. homeassistant-stubs/components/squeezebox/browse_media.pyi +1 -1
  229. homeassistant-stubs/components/ssdp/server.pyi +2 -3
  230. homeassistant-stubs/components/starlink/sensor.pyi +8 -1
  231. homeassistant-stubs/components/statistics/__init__.pyi +0 -1
  232. homeassistant-stubs/components/statistics/config_flow.pyi +1 -0
  233. homeassistant-stubs/components/switchbot_cloud/__init__.pyi +1 -0
  234. homeassistant-stubs/components/switchbot_cloud/binary_sensor.pyi +7 -0
  235. homeassistant-stubs/components/switchbot_cloud/climate.pyi +7 -3
  236. homeassistant-stubs/components/switchbot_cloud/const.pyi +13 -0
  237. homeassistant-stubs/components/switchbot_cloud/humidifier.pyi +48 -0
  238. homeassistant-stubs/components/switchbot_cloud/light.pyi +1 -0
  239. homeassistant-stubs/components/switchbot_cloud/sensor.pyi +13 -1
  240. homeassistant-stubs/components/synology_dsm/media_source.pyi +2 -2
  241. homeassistant-stubs/components/synology_dsm/sensor.pyi +3 -0
  242. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
  243. homeassistant-stubs/components/systemmonitor/const.pyi +1 -0
  244. homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -0
  245. homeassistant-stubs/components/systemmonitor/sensor.pyi +2 -0
  246. homeassistant-stubs/components/telegram_bot/__init__.pyi +2 -1
  247. homeassistant-stubs/components/telegram_bot/bot.pyi +1 -0
  248. homeassistant-stubs/components/telegram_bot/const.pyi +13 -0
  249. homeassistant-stubs/components/threshold/__init__.pyi +0 -1
  250. homeassistant-stubs/components/threshold/config_flow.pyi +1 -0
  251. homeassistant-stubs/components/tolo/config_flow.pyi +5 -3
  252. homeassistant-stubs/components/tts/__init__.pyi +5 -0
  253. homeassistant-stubs/components/uptimerobot/config_flow.pyi +1 -0
  254. homeassistant-stubs/components/vacuum/intent.pyi +1 -1
  255. homeassistant-stubs/components/volvo/__init__.pyi +1 -1
  256. homeassistant-stubs/components/volvo/api.pyi +4 -0
  257. homeassistant-stubs/components/volvo/coordinator.pyi +28 -15
  258. homeassistant-stubs/components/wake_on_lan/__init__.pyi +0 -1
  259. homeassistant-stubs/components/wake_on_lan/config_flow.pyi +1 -0
  260. homeassistant-stubs/components/webhook/trigger.pyi +2 -1
  261. homeassistant-stubs/components/workday/calendar.pyi +25 -0
  262. homeassistant-stubs/components/yalexs_ble/__init__.pyi +0 -1
  263. homeassistant-stubs/components/yalexs_ble/config_flow.pyi +2 -2
  264. homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
  265. homeassistant-stubs/components/zwave_js/config_flow.pyi +6 -3
  266. homeassistant-stubs/components/zwave_js/const.pyi +3 -0
  267. homeassistant-stubs/components/zwave_js/device_trigger.pyi +1 -1
  268. homeassistant-stubs/components/zwave_js/triggers/event.pyi +24 -9
  269. homeassistant-stubs/components/zwave_js/triggers/value_updated.pyi +11 -7
  270. homeassistant-stubs/config_entries.pyi +6 -1
  271. homeassistant-stubs/const.pyi +7 -46
  272. homeassistant-stubs/data_entry_flow.pyi +16 -3
  273. homeassistant-stubs/generated/entity_platforms.pyi +46 -0
  274. homeassistant-stubs/helpers/condition.pyi +3 -1
  275. homeassistant-stubs/helpers/config_validation.pyi +1 -1
  276. homeassistant-stubs/helpers/deprecation.pyi +1 -0
  277. homeassistant-stubs/helpers/device_registry.pyi +4 -3
  278. homeassistant-stubs/helpers/entity_component.pyi +1 -3
  279. homeassistant-stubs/helpers/event.pyi +2 -1
  280. homeassistant-stubs/helpers/intent.pyi +5 -8
  281. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +5 -1
  282. homeassistant-stubs/helpers/selector.pyi +16 -16
  283. homeassistant-stubs/helpers/service.pyi +12 -14
  284. homeassistant-stubs/helpers/service_info/esphome.pyi +12 -0
  285. homeassistant-stubs/helpers/{template.pyi → template/__init__.pyi} +14 -97
  286. homeassistant-stubs/helpers/template/context.pyi +16 -0
  287. homeassistant-stubs/helpers/template/extensions/__init__.pyi +8 -0
  288. homeassistant-stubs/helpers/template/extensions/base.pyi +21 -0
  289. homeassistant-stubs/helpers/template/extensions/base64.pyi +9 -0
  290. homeassistant-stubs/helpers/template/extensions/collection.pyi +18 -0
  291. homeassistant-stubs/helpers/template/extensions/crypto.pyi +13 -0
  292. homeassistant-stubs/helpers/template/extensions/math.pyi +43 -0
  293. homeassistant-stubs/helpers/template/extensions/regex.pyi +14 -0
  294. homeassistant-stubs/helpers/template/extensions/string.pyi +9 -0
  295. homeassistant-stubs/helpers/template/helpers.pyi +4 -0
  296. homeassistant-stubs/helpers/template/render_info.pyi +39 -0
  297. homeassistant-stubs/helpers/trigger.pyi +16 -5
  298. homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -1
  299. homeassistant-stubs/runner.pyi +16 -0
  300. homeassistant-stubs/util/unit_conversion.pyi +6 -0
  301. {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/METADATA +2 -2
  302. {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/RECORD +304 -246
  303. homeassistant-stubs/components/home_connect/time.pyi +0 -29
  304. {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/WHEEL +0 -0
  305. {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,13 @@
1
+ from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
2
+ from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
3
+
4
+ class CryptoExtension(BaseTemplateExtension):
5
+ def __init__(self, environment: TemplateEnvironment) -> None: ...
6
+ @staticmethod
7
+ def md5(value: str) -> str: ...
8
+ @staticmethod
9
+ def sha1(value: str) -> str: ...
10
+ @staticmethod
11
+ def sha256(value: str) -> str: ...
12
+ @staticmethod
13
+ def sha512(value: str) -> str: ...
@@ -0,0 +1,43 @@
1
+ from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
2
+ from _typeshed import Incomplete
3
+ from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
4
+ from homeassistant.helpers.template.helpers import raise_no_default as raise_no_default
5
+ from typing import Any
6
+
7
+ _SENTINEL: Incomplete
8
+
9
+ class MathExtension(BaseTemplateExtension):
10
+ def __init__(self, environment: TemplateEnvironment) -> None: ...
11
+ @staticmethod
12
+ def logarithm(value: Any, base: Any = ..., default: Any = ...) -> Any: ...
13
+ @staticmethod
14
+ def sine(value: Any, default: Any = ...) -> Any: ...
15
+ @staticmethod
16
+ def cosine(value: Any, default: Any = ...) -> Any: ...
17
+ @staticmethod
18
+ def tangent(value: Any, default: Any = ...) -> Any: ...
19
+ @staticmethod
20
+ def arc_sine(value: Any, default: Any = ...) -> Any: ...
21
+ @staticmethod
22
+ def arc_cosine(value: Any, default: Any = ...) -> Any: ...
23
+ @staticmethod
24
+ def arc_tangent(value: Any, default: Any = ...) -> Any: ...
25
+ @staticmethod
26
+ def arc_tangent2(*args: Any, default: Any = ...) -> Any: ...
27
+ @staticmethod
28
+ def square_root(value: Any, default: Any = ...) -> Any: ...
29
+ @staticmethod
30
+ def average(*args: Any, default: Any = ...) -> Any: ...
31
+ @staticmethod
32
+ def median(*args: Any, default: Any = ...) -> Any: ...
33
+ @staticmethod
34
+ def statistical_mode(*args: Any, default: Any = ...) -> Any: ...
35
+ def min_max_from_filter(self, builtin_filter: Any, name: str) -> Any: ...
36
+ def min_max_min(self, *args: Any, **kwargs: Any) -> Any: ...
37
+ def min_max_max(self, *args: Any, **kwargs: Any) -> Any: ...
38
+ @staticmethod
39
+ def bitwise_and(first_value: Any, second_value: Any) -> Any: ...
40
+ @staticmethod
41
+ def bitwise_or(first_value: Any, second_value: Any) -> Any: ...
42
+ @staticmethod
43
+ def bitwise_xor(first_value: Any, second_value: Any) -> Any: ...
@@ -0,0 +1,14 @@
1
+ from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
2
+ from _typeshed import Incomplete
3
+ from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
4
+ from typing import Any
5
+
6
+ _regex_cache: Incomplete
7
+
8
+ class RegexExtension(BaseTemplateExtension):
9
+ def __init__(self, environment: TemplateEnvironment) -> None: ...
10
+ def regex_match(self, value: Any, find: str = '', ignorecase: bool = False) -> bool: ...
11
+ def regex_replace(self, value: Any = '', find: str = '', replace: str = '', ignorecase: bool = False) -> str: ...
12
+ def regex_search(self, value: Any, find: str = '', ignorecase: bool = False) -> bool: ...
13
+ def regex_findall_index(self, value: Any, find: str = '', index: int = 0, ignorecase: bool = False) -> str: ...
14
+ def regex_findall(self, value: Any, find: str = '', ignorecase: bool = False) -> list[str]: ...
@@ -0,0 +1,9 @@
1
+ from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
2
+ from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
3
+ from typing import Any
4
+
5
+ class StringExtension(BaseTemplateExtension):
6
+ def __init__(self, environment: TemplateEnvironment) -> None: ...
7
+ def ordinal(self, value: Any) -> str: ...
8
+ def slugify(self, value: Any, separator: str = '_') -> str: ...
9
+ def urlencode(self, value: Any) -> bytes: ...
@@ -0,0 +1,4 @@
1
+ from .context import template_cv as template_cv
2
+ from typing import Any, NoReturn
3
+
4
+ def raise_no_default(function: str, value: Any) -> NoReturn: ...
@@ -0,0 +1,39 @@
1
+ import collections.abc
2
+ from . import Template as Template
3
+ from _typeshed import Incomplete
4
+ from collections.abc import Callable as Callable
5
+ from contextvars import ContextVar
6
+ from homeassistant.core import split_entity_id as split_entity_id
7
+ from homeassistant.exceptions import TemplateError as TemplateError
8
+
9
+ ALL_STATES_RATE_LIMIT: int
10
+ DOMAIN_STATES_RATE_LIMIT: int
11
+ render_info_cv: ContextVar[RenderInfo | None]
12
+
13
+ def _true(entity_id: str) -> bool: ...
14
+ def _false(entity_id: str) -> bool: ...
15
+
16
+ class RenderInfo:
17
+ __slots__: Incomplete
18
+ template: Incomplete
19
+ filter_lifecycle: Callable[[str], bool]
20
+ filter: Callable[[str], bool]
21
+ _result: str | None
22
+ is_static: bool
23
+ exception: TemplateError | None
24
+ all_states: bool
25
+ all_states_lifecycle: bool
26
+ domains: collections.abc.Set[str]
27
+ domains_lifecycle: collections.abc.Set[str]
28
+ entities: collections.abc.Set[str]
29
+ rate_limit: float | None
30
+ has_time: bool
31
+ def __init__(self, template: Template) -> None: ...
32
+ def __repr__(self) -> str: ...
33
+ def _filter_domains_and_entities(self, entity_id: str) -> bool: ...
34
+ def _filter_entities(self, entity_id: str) -> bool: ...
35
+ def _filter_lifecycle_domains(self, entity_id: str) -> bool: ...
36
+ def result(self) -> str: ...
37
+ def _freeze_static(self) -> None: ...
38
+ def _freeze_sets(self) -> None: ...
39
+ def _freeze(self) -> None: ...
@@ -10,7 +10,7 @@ from _typeshed import Incomplete
10
10
  from collections import defaultdict
11
11
  from collections.abc import Callable, Coroutine, Iterable
12
12
  from dataclasses import dataclass, field
13
- from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_ENABLED as CONF_ENABLED, CONF_ID as CONF_ID, CONF_PLATFORM as CONF_PLATFORM, CONF_SELECTOR as CONF_SELECTOR, CONF_VARIABLES as CONF_VARIABLES
13
+ from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_ENABLED as CONF_ENABLED, CONF_ID as CONF_ID, CONF_OPTIONS as CONF_OPTIONS, CONF_PLATFORM as CONF_PLATFORM, CONF_SELECTOR as CONF_SELECTOR, CONF_TARGET as CONF_TARGET, CONF_VARIABLES as CONF_VARIABLES
14
14
  from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback, is_callback as is_callback
15
15
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError
16
16
  from homeassistant.loader import Integration as Integration, IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, async_get_integrations as async_get_integrations
@@ -25,23 +25,27 @@ DATA_PLUGGABLE_ACTIONS: HassKey[defaultdict[tuple, PluggableActionsEntry]]
25
25
  TRIGGER_DESCRIPTION_CACHE: HassKey[dict[str, dict[str, Any] | None]]
26
26
  TRIGGER_PLATFORM_SUBSCRIPTIONS: HassKey[list[Callable[[set[str]], Coroutine[Any, Any, None]]]]
27
27
  TRIGGERS: HassKey[dict[str, str]]
28
- _FIELD_SCHEMA: Incomplete
29
- _TRIGGER_SCHEMA: Incomplete
28
+ _FIELD_DESCRIPTION_SCHEMA: Incomplete
29
+ _TRIGGER_DESCRIPTION_SCHEMA: Incomplete
30
30
 
31
31
  def starts_with_dot(key: str) -> str: ...
32
32
 
33
- _TRIGGERS_SCHEMA: Incomplete
33
+ _TRIGGERS_DESCRIPTION_SCHEMA: Incomplete
34
34
 
35
35
  async def async_setup(hass: HomeAssistant) -> None: ...
36
36
  @callback
37
37
  def async_subscribe_platform_events(hass: HomeAssistant, on_event: Callable[[set[str]], Coroutine[Any, Any, None]]) -> Callable[[], None]: ...
38
38
  async def _register_trigger_platform(hass: HomeAssistant, integration_domain: str, platform: TriggerProtocol) -> None: ...
39
39
 
40
+ _TRIGGER_SCHEMA: Incomplete
41
+
40
42
  class Trigger(abc.ABC, metaclass=abc.ABCMeta):
41
- def __init__(self, hass: HomeAssistant, config: ConfigType) -> None: ...
43
+ @classmethod
44
+ async def async_validate_complete_config(cls, hass: HomeAssistant, complete_config: ConfigType) -> ConfigType: ...
42
45
  @classmethod
43
46
  @abc.abstractmethod
44
47
  async def async_validate_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
48
+ def __init__(self, hass: HomeAssistant, config: TriggerConfig) -> None: ...
45
49
  @abc.abstractmethod
46
50
  async def async_attach(self, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
47
51
 
@@ -51,6 +55,12 @@ class TriggerProtocol(Protocol):
51
55
  async def async_validate_trigger_config(self, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
52
56
  async def async_attach_trigger(self, hass: HomeAssistant, config: ConfigType, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
53
57
 
58
+ @dataclass(slots=True, frozen=True)
59
+ class TriggerConfig:
60
+ key: str
61
+ target: dict[str, Any] | None = ...
62
+ options: dict[str, Any] | None = ...
63
+
54
64
  class TriggerActionType(Protocol):
55
65
  async def __call__(self, run_variables: dict[str, Any], context: Context | None = None) -> Any: ...
56
66
 
@@ -88,6 +98,7 @@ class PluggableAction:
88
98
  def async_register(self, hass: HomeAssistant, trigger: dict[str, str]) -> CALLBACK_TYPE: ...
89
99
  async def async_run(self, hass: HomeAssistant, context: Context | None = None) -> None: ...
90
100
 
101
+ def move_top_level_schema_fields_to_options(config: ConfigType, options_schema_dict: dict[vol.Marker, Any]) -> ConfigType: ...
91
102
  async def _async_get_trigger_platform(hass: HomeAssistant, trigger_key: str) -> tuple[str, TriggerProtocol]: ...
92
103
  async def async_validate_trigger_config(hass: HomeAssistant, trigger_config: list[ConfigType]) -> list[ConfigType]: ...
93
104
  def _trigger_action_wrapper(hass: HomeAssistant, action: Callable, conf: ConfigType) -> Callable: ...
@@ -1,6 +1,7 @@
1
1
  import voluptuous as vol
2
2
  from .entity import Entity as Entity
3
- from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL, _render_with_context as _render_with_context, render_complex as render_complex, result_as_boolean as result_as_boolean
3
+ from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL, render_complex as render_complex, result_as_boolean as result_as_boolean
4
+ from .template.context import render_with_context as render_with_context
4
5
  from .typing import ConfigType as ConfigType
5
6
  from _typeshed import Incomplete
6
7
  from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity
@@ -1,18 +1,34 @@
1
1
  import asyncio
2
2
  import dataclasses
3
3
  from . import bootstrap as bootstrap
4
+ from .const import __version__ as __version__
4
5
  from .core import callback as callback
5
6
  from .helpers.frame import warn_use as warn_use
6
7
  from .util.executor import InterruptibleThreadPoolExecutor as InterruptibleThreadPoolExecutor
7
8
  from .util.resource import set_open_file_descriptor_limit as set_open_file_descriptor_limit
8
9
  from .util.thread import deadlock_safe_shutdown as deadlock_safe_shutdown
9
10
  from _typeshed import Incomplete
11
+ from collections.abc import Generator
12
+ from contextlib import contextmanager
13
+ from io import TextIOWrapper
14
+ from pathlib import Path
10
15
  from typing import Any
11
16
 
12
17
  MAX_EXECUTOR_WORKERS: int
13
18
  TASK_CANCELATION_TIMEOUT: int
19
+ LOCK_FILE_NAME: str
20
+ LOCK_FILE_VERSION: int
14
21
  _LOGGER: Incomplete
15
22
 
23
+ @dataclasses.dataclass
24
+ class SingleExecutionLock:
25
+ exit_code: int | None = ...
26
+
27
+ def _write_lock_info(lock_file: TextIOWrapper) -> None: ...
28
+ def _report_existing_instance(lock_file_path: Path, config_dir: str) -> None: ...
29
+ @contextmanager
30
+ def ensure_single_execution(config_dir: str) -> Generator[SingleExecutionLock]: ...
31
+
16
32
  @dataclasses.dataclass(slots=True)
17
33
  class RuntimeConfig:
18
34
  config_dir: str
@@ -32,6 +32,7 @@ _OUNCE_TO_G: Incomplete
32
32
  _STONE_TO_G: Incomplete
33
33
  _STANDARD_GRAVITY: float
34
34
  _MERCURY_DENSITY: float
35
+ _INH2O_TO_PA: float
35
36
  _L_TO_CUBIC_METER: float
36
37
  _ML_TO_CUBIC_METER: Incomplete
37
38
  _GALLON_TO_CUBIC_METER: Incomplete
@@ -63,6 +64,11 @@ class BaseUnitConverter:
63
64
  @lru_cache
64
65
  def _are_unit_inverses(cls, from_unit: str | None, to_unit: str | None) -> bool: ...
65
66
 
67
+ class CarbonMonoxideConcentrationConverter(BaseUnitConverter):
68
+ UNIT_CLASS: str
69
+ _UNIT_CONVERSION: dict[str | None, float]
70
+ VALID_UNITS: Incomplete
71
+
66
72
  class DataRateConverter(BaseUnitConverter):
67
73
  UNIT_CLASS: str
68
74
  _UNIT_CONVERSION: dict[str | None, float]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.9.4
3
+ Version: 2025.10.0b0
4
4
  Summary: PEP 484 typing stubs for Home Assistant Core
5
5
  Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
6
6
  Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
18
18
  Classifier: Topic :: Software Development
19
19
  Classifier: Typing :: Typed
20
20
  Requires-Python: >=3.13.2
21
- Requires-Dist: homeassistant==2025.9.4
21
+ Requires-Dist: homeassistant==2025.10.0b0
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  [![CI](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml/badge.svg)](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)