homeassistant-stubs 2024.7.4__py3-none-any.whl → 2024.8.0b0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (930) hide show
  1. homeassistant-stubs/auth/__init__.pyi +1 -1
  2. homeassistant-stubs/auth/permissions/types.pyi +3 -4
  3. homeassistant-stubs/auth/permissions/util.pyi +1 -2
  4. homeassistant-stubs/auth/providers/trusted_networks.pyi +3 -2
  5. homeassistant-stubs/bootstrap.pyi +2 -2
  6. homeassistant-stubs/components/abode/__init__.pyi +1 -1
  7. homeassistant-stubs/components/abode/sensor.pyi +1 -1
  8. homeassistant-stubs/components/accuweather/sensor.pyi +1 -1
  9. homeassistant-stubs/components/adguard/sensor.pyi +1 -1
  10. homeassistant-stubs/components/adguard/switch.pyi +1 -1
  11. homeassistant-stubs/components/airgradient/__init__.pyi +2 -2
  12. homeassistant-stubs/components/airgradient/button.pyi +1 -1
  13. homeassistant-stubs/components/airgradient/coordinator.pyi +0 -4
  14. homeassistant-stubs/components/airgradient/number.pyi +1 -1
  15. homeassistant-stubs/components/airgradient/select.pyi +1 -1
  16. homeassistant-stubs/components/airgradient/sensor.pyi +2 -2
  17. homeassistant-stubs/components/airgradient/switch.pyi +1 -1
  18. homeassistant-stubs/components/airly/sensor.pyi +1 -1
  19. homeassistant-stubs/components/airnow/sensor.pyi +1 -1
  20. homeassistant-stubs/components/airq/sensor.pyi +1 -1
  21. homeassistant-stubs/components/airtouch5/climate.pyi +1 -0
  22. homeassistant-stubs/components/airtouch5/cover.pyi +34 -0
  23. homeassistant-stubs/components/airtouch5/entity.pyi +0 -2
  24. homeassistant-stubs/components/airvisual_pro/config_flow.pyi +1 -1
  25. homeassistant-stubs/components/airvisual_pro/sensor.pyi +1 -1
  26. homeassistant-stubs/components/airzone/binary_sensor.pyi +1 -1
  27. homeassistant-stubs/components/airzone/select.pyi +1 -1
  28. homeassistant-stubs/components/airzone_cloud/binary_sensor.pyi +1 -1
  29. homeassistant-stubs/components/airzone_cloud/select.pyi +1 -1
  30. homeassistant-stubs/components/airzone_cloud/sensor.pyi +1 -1
  31. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +1 -1
  32. homeassistant-stubs/components/alarm_control_panel/const.pyi +8 -8
  33. homeassistant-stubs/components/alexa/capabilities.pyi +2 -2
  34. homeassistant-stubs/components/alexa/entities.pyi +7 -3
  35. homeassistant-stubs/components/alexa/handlers.pyi +1 -1
  36. homeassistant-stubs/components/alexa/intent.pyi +4 -4
  37. homeassistant-stubs/components/amberelectric/binary_sensor.pyi +4 -0
  38. homeassistant-stubs/components/ambient_station/binary_sensor.pyi +1 -1
  39. homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
  40. homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
  41. homeassistant-stubs/components/analytics_insights/sensor.pyi +1 -1
  42. homeassistant-stubs/components/android_ip_webcam/sensor.pyi +1 -1
  43. homeassistant-stubs/components/android_ip_webcam/switch.pyi +1 -1
  44. homeassistant-stubs/components/anova/sensor.pyi +1 -1
  45. homeassistant-stubs/components/apache_kafka/__init__.pyi +1 -1
  46. homeassistant-stubs/components/apcupsd/const.pyi +1 -0
  47. homeassistant-stubs/components/apcupsd/sensor.pyi +3 -2
  48. homeassistant-stubs/components/api/__init__.pyi +1 -1
  49. homeassistant-stubs/components/apsystems/__init__.pyi +2 -1
  50. homeassistant-stubs/components/apsystems/config_flow.pyi +2 -2
  51. homeassistant-stubs/components/apsystems/const.pyi +1 -0
  52. homeassistant-stubs/components/apsystems/sensor.pyi +1 -1
  53. homeassistant-stubs/components/apsystems/switch.pyi +21 -0
  54. homeassistant-stubs/components/aqualogic/sensor.pyi +1 -1
  55. homeassistant-stubs/components/aranet/sensor.pyi +1 -1
  56. homeassistant-stubs/components/arcam_fmj/__init__.pyi +3 -4
  57. homeassistant-stubs/components/arcam_fmj/config_flow.pyi +2 -6
  58. homeassistant-stubs/components/arcam_fmj/const.pyi +0 -3
  59. homeassistant-stubs/components/arcam_fmj/media_player.pyi +2 -3
  60. homeassistant-stubs/components/aseko_pool_live/binary_sensor.pyi +1 -1
  61. homeassistant-stubs/components/aseko_pool_live/entity.pyi +1 -1
  62. homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +32 -0
  63. homeassistant-stubs/components/assist_pipeline/const.pyi +4 -0
  64. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +46 -50
  65. homeassistant-stubs/components/assist_pipeline/vad.pyi +8 -23
  66. homeassistant-stubs/components/assist_pipeline/websocket_api.pyi +2 -2
  67. homeassistant-stubs/components/asuswrt/bridge.pyi +2 -2
  68. homeassistant-stubs/components/asuswrt/sensor.pyi +1 -1
  69. homeassistant-stubs/components/autarco/__init__.pyi +11 -0
  70. homeassistant-stubs/components/autarco/config_flow.pyi +11 -0
  71. homeassistant-stubs/components/autarco/const.pyi +6 -0
  72. homeassistant-stubs/components/autarco/coordinator.pyi +18 -0
  73. homeassistant-stubs/components/autarco/diagnostics.pyi +5 -0
  74. homeassistant-stubs/components/autarco/sensor.pyi +49 -0
  75. homeassistant-stubs/components/auth/__init__.pyi +1 -1
  76. homeassistant-stubs/components/automation/config.pyi +6 -6
  77. homeassistant-stubs/components/automation/trace.pyi +1 -1
  78. homeassistant-stubs/components/awair/sensor.pyi +1 -1
  79. homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
  80. homeassistant-stubs/components/axis/entity.pyi +1 -1
  81. homeassistant-stubs/components/axis/light.pyi +1 -1
  82. homeassistant-stubs/components/axis/switch.pyi +1 -1
  83. homeassistant-stubs/components/baf/binary_sensor.pyi +1 -1
  84. homeassistant-stubs/components/baf/fan.pyi +1 -0
  85. homeassistant-stubs/components/baf/number.pyi +1 -1
  86. homeassistant-stubs/components/baf/sensor.pyi +1 -1
  87. homeassistant-stubs/components/baf/switch.pyi +1 -1
  88. homeassistant-stubs/components/bang_olufsen/const.pyi +26 -35
  89. homeassistant-stubs/components/bayesian/helpers.pyi +1 -1
  90. homeassistant-stubs/components/binary_sensor/__init__.pyi +29 -29
  91. homeassistant-stubs/components/blueprint/importer.pyi +4 -0
  92. homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +2 -2
  93. homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +1 -1
  94. homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +9 -17
  95. homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +5 -5
  96. homeassistant-stubs/components/bmw_connected_drive/button.pyi +4 -5
  97. homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +1 -0
  98. homeassistant-stubs/components/bmw_connected_drive/const.pyi +0 -1
  99. homeassistant-stubs/components/bmw_connected_drive/device_tracker.pyi +4 -4
  100. homeassistant-stubs/components/bmw_connected_drive/diagnostics.pyi +4 -5
  101. homeassistant-stubs/components/bmw_connected_drive/entity.pyi +13 -0
  102. homeassistant-stubs/components/bmw_connected_drive/lock.pyi +3 -4
  103. homeassistant-stubs/components/bmw_connected_drive/notify.pyi +4 -8
  104. homeassistant-stubs/components/bmw_connected_drive/number.pyi +4 -5
  105. homeassistant-stubs/components/bmw_connected_drive/select.pyi +4 -5
  106. homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +6 -6
  107. homeassistant-stubs/components/bmw_connected_drive/switch.pyi +4 -5
  108. homeassistant-stubs/components/bond/button.pyi +5 -4
  109. homeassistant-stubs/components/bond/cover.pyi +3 -3
  110. homeassistant-stubs/components/bond/entity.pyi +4 -3
  111. homeassistant-stubs/components/bond/fan.pyi +3 -3
  112. homeassistant-stubs/components/bond/light.pyi +3 -3
  113. homeassistant-stubs/components/braviatv/button.pyi +1 -1
  114. homeassistant-stubs/components/braviatv/const.pyi +3 -3
  115. homeassistant-stubs/components/brother/sensor.pyi +1 -1
  116. homeassistant-stubs/components/bryant_evolution/__init__.pyi +17 -0
  117. homeassistant-stubs/components/bryant_evolution/climate.pyi +43 -0
  118. homeassistant-stubs/components/bryant_evolution/config_flow.pyi +15 -0
  119. homeassistant-stubs/components/bryant_evolution/const.pyi +2 -0
  120. homeassistant-stubs/components/bryant_evolution/names.pyi +5 -0
  121. homeassistant-stubs/components/bthome/__init__.pyi +5 -5
  122. homeassistant-stubs/components/bthome/binary_sensor.pyi +3 -4
  123. homeassistant-stubs/components/bthome/coordinator.pyi +2 -2
  124. homeassistant-stubs/components/bthome/event.pyi +2 -3
  125. homeassistant-stubs/components/bthome/sensor.pyi +3 -4
  126. homeassistant-stubs/components/bthome/types.pyi +4 -0
  127. homeassistant-stubs/components/button/__init__.pyi +4 -4
  128. homeassistant-stubs/components/calendar/__init__.pyi +1 -1
  129. homeassistant-stubs/components/calendar/const.pyi +3 -3
  130. homeassistant-stubs/components/camera/__init__.pyi +4 -5
  131. homeassistant-stubs/components/camera/const.pyi +2 -2
  132. homeassistant-stubs/components/camera/prefs.pyi +1 -1
  133. homeassistant-stubs/components/canary/sensor.pyi +1 -1
  134. homeassistant-stubs/components/climate/__init__.pyi +2 -1
  135. homeassistant-stubs/components/climate/const.pyi +24 -23
  136. homeassistant-stubs/components/climate/reproduce_state.pyi +1 -1
  137. homeassistant-stubs/components/cloud/__init__.pyi +2 -2
  138. homeassistant-stubs/components/co2signal/sensor.pyi +1 -1
  139. homeassistant-stubs/components/command_line/__init__.pyi +1 -2
  140. homeassistant-stubs/components/command_line/const.pyi +2 -0
  141. homeassistant-stubs/components/command_line/sensor.pyi +3 -3
  142. homeassistant-stubs/components/config/config_entries.pyi +2 -2
  143. homeassistant-stubs/components/cover/__init__.pyi +19 -19
  144. homeassistant-stubs/components/cover/intent.pyi +1 -1
  145. homeassistant-stubs/components/date/__init__.pyi +1 -1
  146. homeassistant-stubs/components/datetime/__init__.pyi +1 -1
  147. homeassistant-stubs/components/deconz/binary_sensor.pyi +1 -1
  148. homeassistant-stubs/components/deconz/button.pyi +1 -1
  149. homeassistant-stubs/components/deconz/deconz_device.pyi +4 -1
  150. homeassistant-stubs/components/deconz/fan.pyi +1 -0
  151. homeassistant-stubs/components/deconz/number.pyi +1 -1
  152. homeassistant-stubs/components/deconz/sensor.pyi +1 -1
  153. homeassistant-stubs/components/demo/fan.pyi +1 -0
  154. homeassistant-stubs/components/demo/mailbox.pyi +1 -0
  155. homeassistant-stubs/components/device_automation/__init__.pyi +5 -4
  156. homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -9
  157. homeassistant-stubs/components/device_tracker/const.pyi +4 -4
  158. homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +3 -1
  159. homeassistant-stubs/components/devolo_home_network/button.pyi +3 -1
  160. homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -0
  161. homeassistant-stubs/components/devolo_home_network/entity.pyi +3 -1
  162. homeassistant-stubs/components/devolo_home_network/image.pyi +3 -1
  163. homeassistant-stubs/components/devolo_home_network/sensor.pyi +4 -3
  164. homeassistant-stubs/components/devolo_home_network/switch.pyi +2 -1
  165. homeassistant-stubs/components/devolo_home_network/update.pyi +3 -1
  166. homeassistant-stubs/components/diagnostics/__init__.pyi +1 -1
  167. homeassistant-stubs/components/diagnostics/const.pyi +2 -2
  168. homeassistant-stubs/components/discovergy/sensor.pyi +1 -1
  169. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +1 -1
  170. homeassistant-stubs/components/doorbird/__init__.pyi +7 -12
  171. homeassistant-stubs/components/doorbird/button.pyi +11 -12
  172. homeassistant-stubs/components/doorbird/camera.pyi +3 -6
  173. homeassistant-stubs/components/doorbird/config_flow.pyi +10 -3
  174. homeassistant-stubs/components/doorbird/const.pyi +6 -3
  175. homeassistant-stubs/components/doorbird/device.pyi +33 -14
  176. homeassistant-stubs/components/doorbird/event.pyi +23 -0
  177. homeassistant-stubs/components/doorbird/logbook.pyi +1 -1
  178. homeassistant-stubs/components/doorbird/models.pyi +3 -0
  179. homeassistant-stubs/components/doorbird/util.pyi +3 -2
  180. homeassistant-stubs/components/doorbird/view.pyi +1 -1
  181. homeassistant-stubs/components/dormakaba_dkey/binary_sensor.pyi +1 -1
  182. homeassistant-stubs/components/dsmr/__init__.pyi +14 -4
  183. homeassistant-stubs/components/dsmr/const.pyi +0 -1
  184. homeassistant-stubs/components/dsmr/diagnostics.pyi +6 -0
  185. homeassistant-stubs/components/dsmr/sensor.pyi +19 -10
  186. homeassistant-stubs/components/easyenergy/sensor.pyi +1 -1
  187. homeassistant-stubs/components/easyenergy/services.pyi +3 -3
  188. homeassistant-stubs/components/ecovacs/__init__.pyi +1 -0
  189. homeassistant-stubs/components/ecovacs/binary_sensor.pyi +1 -1
  190. homeassistant-stubs/components/ecovacs/button.pyi +2 -2
  191. homeassistant-stubs/components/ecovacs/const.pyi +3 -2
  192. homeassistant-stubs/components/ecovacs/controller.pyi +3 -0
  193. homeassistant-stubs/components/ecovacs/entity.pyi +15 -1
  194. homeassistant-stubs/components/ecovacs/number.pyi +3 -3
  195. homeassistant-stubs/components/ecovacs/select.pyi +1 -1
  196. homeassistant-stubs/components/ecovacs/sensor.pyi +19 -4
  197. homeassistant-stubs/components/ecovacs/switch.pyi +1 -1
  198. homeassistant-stubs/components/ecovacs/vacuum.pyi +3 -9
  199. homeassistant-stubs/components/ecowitt/__init__.pyi +4 -2
  200. homeassistant-stubs/components/ecowitt/binary_sensor.pyi +3 -4
  201. homeassistant-stubs/components/ecowitt/diagnostics.pyi +2 -3
  202. homeassistant-stubs/components/ecowitt/sensor.pyi +3 -4
  203. homeassistant-stubs/components/electric_kiwi/sensor.pyi +2 -2
  204. homeassistant-stubs/components/elevenlabs/__init__.pyi +23 -0
  205. homeassistant-stubs/components/elevenlabs/config_flow.pyi +26 -0
  206. homeassistant-stubs/components/elevenlabs/const.pyi +4 -0
  207. homeassistant-stubs/components/elevenlabs/tts.pyi +30 -0
  208. homeassistant-stubs/components/elgato/button.pyi +1 -1
  209. homeassistant-stubs/components/elgato/sensor.pyi +1 -1
  210. homeassistant-stubs/components/elgato/switch.pyi +1 -1
  211. homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
  212. homeassistant-stubs/components/energy/data.pyi +1 -2
  213. homeassistant-stubs/components/energy/types.pyi +2 -3
  214. homeassistant-stubs/components/energy/validate.pyi +2 -2
  215. homeassistant-stubs/components/energyzero/sensor.pyi +1 -1
  216. homeassistant-stubs/components/energyzero/services.pyi +2 -2
  217. homeassistant-stubs/components/enigma2/__init__.pyi +3 -5
  218. homeassistant-stubs/components/enigma2/coordinator.pyi +19 -0
  219. homeassistant-stubs/components/enigma2/media_player.pyi +6 -8
  220. homeassistant-stubs/components/enphase_envoy/__init__.pyi +4 -5
  221. homeassistant-stubs/components/enphase_envoy/binary_sensor.pyi +4 -5
  222. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +2 -1
  223. homeassistant-stubs/components/enphase_envoy/diagnostics.pyi +3 -4
  224. homeassistant-stubs/components/enphase_envoy/number.pyi +4 -5
  225. homeassistant-stubs/components/enphase_envoy/select.pyi +4 -5
  226. homeassistant-stubs/components/enphase_envoy/sensor.pyi +10 -11
  227. homeassistant-stubs/components/enphase_envoy/switch.pyi +5 -8
  228. homeassistant-stubs/components/eq3btsmart/const.pyi +10 -10
  229. homeassistant-stubs/components/eq3btsmart/models.pyi +1 -1
  230. homeassistant-stubs/components/esphome/domain_data.pyi +1 -1
  231. homeassistant-stubs/components/esphome/entity.pyi +2 -3
  232. homeassistant-stubs/components/esphome/entry_data.pyi +1 -1
  233. homeassistant-stubs/components/esphome/fan.pyi +1 -0
  234. homeassistant-stubs/components/esphome/voice_assistant.pyi +1 -0
  235. homeassistant-stubs/components/event/__init__.pyi +4 -4
  236. homeassistant-stubs/components/evohome/__init__.pyi +18 -34
  237. homeassistant-stubs/components/evohome/climate.pyi +3 -2
  238. homeassistant-stubs/components/evohome/coordinator.pyi +11 -16
  239. homeassistant-stubs/components/evohome/entity.pyi +37 -0
  240. homeassistant-stubs/components/evohome/water_heater.pyi +2 -1
  241. homeassistant-stubs/components/faa_delays/binary_sensor.pyi +1 -1
  242. homeassistant-stubs/components/fan/__init__.pyi +13 -7
  243. homeassistant-stubs/components/feedreader/__init__.pyi +1 -1
  244. homeassistant-stubs/components/feedreader/const.pyi +7 -5
  245. homeassistant-stubs/components/feedreader/coordinator.pyi +11 -7
  246. homeassistant-stubs/components/feedreader/event.pyi +30 -0
  247. homeassistant-stubs/components/fitbit/const.pyi +11 -11
  248. homeassistant-stubs/components/fitbit/sensor.pyi +1 -1
  249. homeassistant-stubs/components/flexit_bacnet/binary_sensor.pyi +1 -1
  250. homeassistant-stubs/components/flexit_bacnet/number.pyi +1 -1
  251. homeassistant-stubs/components/flexit_bacnet/sensor.pyi +1 -1
  252. homeassistant-stubs/components/flexit_bacnet/switch.pyi +1 -1
  253. homeassistant-stubs/components/forecast_solar/sensor.pyi +1 -1
  254. homeassistant-stubs/components/fritz/binary_sensor.pyi +1 -1
  255. homeassistant-stubs/components/fritz/button.pyi +1 -1
  256. homeassistant-stubs/components/fritz/config_flow.pyi +1 -0
  257. homeassistant-stubs/components/fritz/const.pyi +3 -3
  258. homeassistant-stubs/components/fritz/coordinator.pyi +3 -3
  259. homeassistant-stubs/components/fritz/entity.pyi +1 -1
  260. homeassistant-stubs/components/fritz/sensor.pyi +1 -1
  261. homeassistant-stubs/components/fritz/update.pyi +1 -1
  262. homeassistant-stubs/components/fritzbox/binary_sensor.pyi +1 -1
  263. homeassistant-stubs/components/fritzbox/sensor.pyi +1 -1
  264. homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +5 -5
  265. homeassistant-stubs/components/fritzbox_callmonitor/const.pyi +4 -4
  266. homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -4
  267. homeassistant-stubs/components/fronius/const.pyi +21 -21
  268. homeassistant-stubs/components/fronius/sensor.pyi +1 -1
  269. homeassistant-stubs/components/frontend/__init__.pyi +3 -2
  270. homeassistant-stubs/components/fully_kiosk/button.pyi +1 -1
  271. homeassistant-stubs/components/fully_kiosk/image.pyi +1 -1
  272. homeassistant-stubs/components/fully_kiosk/notify.pyi +1 -1
  273. homeassistant-stubs/components/fully_kiosk/sensor.pyi +1 -1
  274. homeassistant-stubs/components/fully_kiosk/switch.pyi +1 -1
  275. homeassistant-stubs/components/generic_hygrostat/__init__.pyi +1 -0
  276. homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +1 -0
  277. homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +3 -1
  278. homeassistant-stubs/components/generic_thermostat/__init__.pyi +2 -5
  279. homeassistant-stubs/components/generic_thermostat/climate.pyi +10 -15
  280. homeassistant-stubs/components/generic_thermostat/config_flow.pyi +2 -1
  281. homeassistant-stubs/components/generic_thermostat/const.pyi +14 -0
  282. homeassistant-stubs/components/geocaching/sensor.pyi +1 -1
  283. homeassistant-stubs/components/gios/sensor.pyi +1 -1
  284. homeassistant-stubs/components/glances/sensor.pyi +1 -1
  285. homeassistant-stubs/components/google/const.pyi +5 -5
  286. homeassistant-stubs/components/gpsd/__init__.pyi +5 -3
  287. homeassistant-stubs/components/gpsd/config_flow.pyi +2 -0
  288. homeassistant-stubs/components/gpsd/sensor.pyi +6 -5
  289. homeassistant-stubs/components/group/button.pyi +28 -0
  290. homeassistant-stubs/components/group/config_flow.pyi +2 -0
  291. homeassistant-stubs/components/group/fan.pyi +1 -0
  292. homeassistant-stubs/components/group/notify.pyi +19 -3
  293. homeassistant-stubs/components/guardian/__init__.pyi +1 -1
  294. homeassistant-stubs/components/guardian/binary_sensor.pyi +2 -2
  295. homeassistant-stubs/components/guardian/button.pyi +1 -1
  296. homeassistant-stubs/components/guardian/sensor.pyi +2 -2
  297. homeassistant-stubs/components/guardian/switch.pyi +1 -1
  298. homeassistant-stubs/components/guardian/valve.pyi +9 -9
  299. homeassistant-stubs/components/here_travel_time/config_flow.pyi +4 -1
  300. homeassistant-stubs/components/history/websocket_api.pyi +1 -1
  301. homeassistant-stubs/components/history_stats/__init__.pyi +13 -4
  302. homeassistant-stubs/components/history_stats/config_flow.pyi +19 -0
  303. homeassistant-stubs/components/history_stats/const.pyi +14 -0
  304. homeassistant-stubs/components/history_stats/sensor.pyi +6 -11
  305. homeassistant-stubs/components/homeassistant/__init__.pyi +4 -4
  306. homeassistant-stubs/components/homeassistant/logbook.pyi +1 -1
  307. homeassistant-stubs/components/homeassistant/repairs.pyi +15 -0
  308. homeassistant-stubs/components/homeassistant/scene.pyi +1 -0
  309. homeassistant-stubs/components/homeassistant_hardware/const.pyi +7 -0
  310. homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +59 -0
  311. homeassistant-stubs/components/homeassistant_hardware/util.pyi +24 -0
  312. homeassistant-stubs/components/homeassistant_sky_connect/__init__.pyi +1 -1
  313. homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +19 -49
  314. homeassistant-stubs/components/homeassistant_sky_connect/const.pyi +2 -10
  315. homeassistant-stubs/components/homeassistant_sky_connect/util.pyi +2 -20
  316. homeassistant-stubs/components/homekit/__init__.pyi +17 -8
  317. homeassistant-stubs/components/homekit/accessories.pyi +1 -1
  318. homeassistant-stubs/components/homekit/aidmanager.pyi +1 -1
  319. homeassistant-stubs/components/homekit/diagnostics.pyi +2 -4
  320. homeassistant-stubs/components/homekit/models.pyi +4 -1
  321. homeassistant-stubs/components/homekit/type_cameras.pyi +5 -3
  322. homeassistant-stubs/components/homekit/type_switches.pyi +17 -6
  323. homeassistant-stubs/components/homekit/util.pyi +1 -1
  324. homeassistant-stubs/components/homekit_controller/button.pyi +1 -1
  325. homeassistant-stubs/components/homekit_controller/select.pyi +1 -1
  326. homeassistant-stubs/components/homekit_controller/utils.pyi +1 -2
  327. homeassistant-stubs/components/homewizard/__init__.pyi +7 -5
  328. homeassistant-stubs/components/homewizard/button.pyi +2 -3
  329. homeassistant-stubs/components/homewizard/const.pyi +1 -1
  330. homeassistant-stubs/components/homewizard/diagnostics.pyi +2 -4
  331. homeassistant-stubs/components/homewizard/number.pyi +2 -3
  332. homeassistant-stubs/components/homewizard/sensor.pyi +4 -4
  333. homeassistant-stubs/components/homewizard/switch.pyi +4 -4
  334. homeassistant-stubs/components/homeworks/__init__.pyi +1 -1
  335. homeassistant-stubs/components/homeworks/config_flow.pyi +5 -3
  336. homeassistant-stubs/components/http/__init__.pyi +1 -1
  337. homeassistant-stubs/components/http/decorators.pyi +2 -1
  338. homeassistant-stubs/components/huawei_lte/select.pyi +1 -1
  339. homeassistant-stubs/components/huawei_lte/sensor.pyi +2 -2
  340. homeassistant-stubs/components/humidifier/__init__.pyi +3 -3
  341. homeassistant-stubs/components/humidifier/const.pyi +5 -5
  342. homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +1 -1
  343. homeassistant-stubs/components/husqvarna_automower/entity.pyi +6 -1
  344. homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +6 -5
  345. homeassistant-stubs/components/husqvarna_automower/number.pyi +3 -5
  346. homeassistant-stubs/components/husqvarna_automower/select.pyi +1 -2
  347. homeassistant-stubs/components/husqvarna_automower/sensor.pyi +9 -2
  348. homeassistant-stubs/components/husqvarna_automower/switch.pyi +1 -3
  349. homeassistant-stubs/components/hydrawise/binary_sensor.pyi +14 -2
  350. homeassistant-stubs/components/hydrawise/const.pyi +5 -2
  351. homeassistant-stubs/components/hydrawise/sensor.pyi +1 -1
  352. homeassistant-stubs/components/hydrawise/switch.pyi +1 -1
  353. homeassistant-stubs/components/hydrawise/valve.pyi +24 -0
  354. homeassistant-stubs/components/ibeacon/sensor.pyi +1 -1
  355. homeassistant-stubs/components/idasen_desk/button.pyi +1 -1
  356. homeassistant-stubs/components/idasen_desk/sensor.pyi +1 -1
  357. homeassistant-stubs/components/image/__init__.pyi +1 -1
  358. homeassistant-stubs/components/image_processing/__init__.pyi +4 -4
  359. homeassistant-stubs/components/image_upload/__init__.pyi +1 -1
  360. homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +1 -1
  361. homeassistant-stubs/components/imgw_pib/sensor.pyi +1 -1
  362. homeassistant-stubs/components/integration/sensor.pyi +2 -2
  363. homeassistant-stubs/components/intent/__init__.pyi +10 -0
  364. homeassistant-stubs/components/intent/timers.pyi +7 -7
  365. homeassistant-stubs/components/ios/__init__.pyi +1 -1
  366. homeassistant-stubs/components/ios/const.pyi +1 -0
  367. homeassistant-stubs/components/iotty/__init__.pyi +21 -0
  368. homeassistant-stubs/components/iotty/api.pyi +15 -0
  369. homeassistant-stubs/components/iotty/application_credentials.pyi +7 -0
  370. homeassistant-stubs/components/iotty/config_flow.pyi +8 -0
  371. homeassistant-stubs/components/iotty/const.pyi +1 -0
  372. homeassistant-stubs/components/iotty/coordinator.pyi +29 -0
  373. homeassistant-stubs/components/iotty/switch.pyi +34 -0
  374. homeassistant-stubs/components/ipp/sensor.pyi +1 -1
  375. homeassistant-stubs/components/isy994/fan.pyi +1 -0
  376. homeassistant-stubs/components/isy994/switch.pyi +1 -1
  377. homeassistant-stubs/components/jellyfin/__init__.pyi +5 -3
  378. homeassistant-stubs/components/jellyfin/config_flow.pyi +4 -5
  379. homeassistant-stubs/components/jellyfin/coordinator.pyi +0 -2
  380. homeassistant-stubs/components/jellyfin/diagnostics.pyi +2 -4
  381. homeassistant-stubs/components/jellyfin/media_player.pyi +2 -3
  382. homeassistant-stubs/components/jellyfin/media_source.pyi +2 -3
  383. homeassistant-stubs/components/jellyfin/sensor.pyi +3 -5
  384. homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +2 -2
  385. homeassistant-stubs/components/jvc_projector/select.pyi +1 -1
  386. homeassistant-stubs/components/kaleidescape/sensor.pyi +1 -1
  387. homeassistant-stubs/components/knocki/coordinator.pyi +2 -2
  388. homeassistant-stubs/components/knx/__init__.pyi +7 -3
  389. homeassistant-stubs/components/knx/climate.pyi +1 -0
  390. homeassistant-stubs/components/knx/config_flow.pyi +1 -1
  391. homeassistant-stubs/components/knx/const.pyi +5 -4
  392. homeassistant-stubs/components/knx/date.pyi +4 -7
  393. homeassistant-stubs/components/knx/datetime.pyi +4 -4
  394. homeassistant-stubs/components/knx/device.pyi +2 -1
  395. homeassistant-stubs/components/knx/expose.pyi +4 -5
  396. homeassistant-stubs/components/knx/fan.pyi +1 -0
  397. homeassistant-stubs/components/knx/knx_entity.pyi +2 -1
  398. homeassistant-stubs/components/knx/light.pyi +30 -10
  399. homeassistant-stubs/components/knx/project.pyi +3 -2
  400. homeassistant-stubs/components/knx/schema.pyi +5 -2
  401. homeassistant-stubs/components/knx/select.pyi +1 -1
  402. homeassistant-stubs/components/knx/sensor.pyi +2 -2
  403. homeassistant-stubs/components/knx/services.pyi +1 -1
  404. homeassistant-stubs/components/knx/storage/config_store.pyi +37 -0
  405. homeassistant-stubs/components/knx/storage/const.pyi +25 -0
  406. homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +36 -0
  407. homeassistant-stubs/components/knx/storage/entity_store_validation.pyi +25 -0
  408. homeassistant-stubs/components/knx/storage/knx_selector.pyi +21 -0
  409. homeassistant-stubs/components/knx/switch.pyi +19 -7
  410. homeassistant-stubs/components/knx/telegrams.pyi +5 -6
  411. homeassistant-stubs/components/knx/time.pyi +4 -4
  412. homeassistant-stubs/components/knx/trigger.pyi +1 -1
  413. homeassistant-stubs/components/knx/validation.pyi +4 -1
  414. homeassistant-stubs/components/knx/websocket.pyi +17 -1
  415. homeassistant-stubs/components/kraken/sensor.pyi +1 -1
  416. homeassistant-stubs/components/lacrosse_view/sensor.pyi +1 -1
  417. homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +1 -1
  418. homeassistant-stubs/components/lamarzocco/button.pyi +1 -1
  419. homeassistant-stubs/components/lamarzocco/entity.pyi +1 -1
  420. homeassistant-stubs/components/lamarzocco/number.pyi +2 -2
  421. homeassistant-stubs/components/lamarzocco/select.pyi +1 -1
  422. homeassistant-stubs/components/lamarzocco/sensor.pyi +1 -1
  423. homeassistant-stubs/components/lamarzocco/switch.pyi +1 -1
  424. homeassistant-stubs/components/lamarzocco/update.pyi +3 -1
  425. homeassistant-stubs/components/lametric/button.pyi +1 -1
  426. homeassistant-stubs/components/lametric/number.pyi +1 -1
  427. homeassistant-stubs/components/lametric/select.pyi +1 -1
  428. homeassistant-stubs/components/lametric/sensor.pyi +1 -1
  429. homeassistant-stubs/components/lametric/switch.pyi +1 -1
  430. homeassistant-stubs/components/laundrify/binary_sensor.pyi +2 -2
  431. homeassistant-stubs/components/laundrify/const.pyi +3 -1
  432. homeassistant-stubs/components/laundrify/coordinator.pyi +1 -2
  433. homeassistant-stubs/components/lawn_mower/__init__.pyi +1 -1
  434. homeassistant-stubs/components/lawn_mower/const.pyi +7 -7
  435. homeassistant-stubs/components/lcn/schemas.pyi +9 -8
  436. homeassistant-stubs/components/lidarr/sensor.pyi +1 -1
  437. homeassistant-stubs/components/lifx/const.pyi +1 -0
  438. homeassistant-stubs/components/lifx/coordinator.pyi +20 -7
  439. homeassistant-stubs/components/lifx/light.pyi +5 -2
  440. homeassistant-stubs/components/lifx/manager.pyi +12 -1
  441. homeassistant-stubs/components/light/__init__.pyi +16 -17
  442. homeassistant-stubs/components/linkplay/__init__.pyi +14 -0
  443. homeassistant-stubs/components/linkplay/config_flow.pyi +14 -0
  444. homeassistant-stubs/components/linkplay/const.pyi +5 -0
  445. homeassistant-stubs/components/linkplay/media_player.pyi +66 -0
  446. homeassistant-stubs/components/linkplay/utils.pyi +9 -0
  447. homeassistant-stubs/components/litterrobot/binary_sensor.pyi +1 -1
  448. homeassistant-stubs/components/litterrobot/button.pyi +1 -1
  449. homeassistant-stubs/components/litterrobot/hub.pyi +2 -2
  450. homeassistant-stubs/components/litterrobot/select.pyi +1 -1
  451. homeassistant-stubs/components/litterrobot/sensor.pyi +1 -1
  452. homeassistant-stubs/components/litterrobot/switch.pyi +1 -1
  453. homeassistant-stubs/components/litterrobot/time.pyi +1 -1
  454. homeassistant-stubs/components/lock/__init__.pyi +2 -2
  455. homeassistant-stubs/components/logbook/models.pyi +2 -2
  456. homeassistant-stubs/components/logbook/processor.pyi +2 -3
  457. homeassistant-stubs/components/logbook/websocket_api.pyi +1 -1
  458. homeassistant-stubs/components/logger/helpers.pyi +5 -5
  459. homeassistant-stubs/components/madvr/__init__.pyi +13 -0
  460. homeassistant-stubs/components/madvr/binary_sensor.pyi +30 -0
  461. homeassistant-stubs/components/madvr/config_flow.pyi +17 -0
  462. homeassistant-stubs/components/madvr/const.pyi +29 -0
  463. homeassistant-stubs/components/madvr/coordinator.pyi +18 -0
  464. homeassistant-stubs/components/madvr/entity.pyi +10 -0
  465. homeassistant-stubs/components/madvr/errors.pyi +1 -0
  466. homeassistant-stubs/components/madvr/remote.pyi +24 -0
  467. homeassistant-stubs/components/madvr/sensor.pyi +31 -0
  468. homeassistant-stubs/components/mastodon/__init__.pyi +11 -0
  469. homeassistant-stubs/components/mastodon/config_flow.pyi +18 -0
  470. homeassistant-stubs/components/mastodon/const.pyi +7 -0
  471. homeassistant-stubs/components/mastodon/notify.pyi +8 -5
  472. homeassistant-stubs/components/mastodon/utils.pyi +5 -0
  473. homeassistant-stubs/components/matrix/__init__.pyi +1 -1
  474. homeassistant-stubs/components/matter/__init__.pyi +1 -0
  475. homeassistant-stubs/components/matter/binary_sensor.pyi +1 -1
  476. homeassistant-stubs/components/matter/climate.pyi +11 -13
  477. homeassistant-stubs/components/matter/cover.pyi +4 -4
  478. homeassistant-stubs/components/matter/discovery.pyi +1 -1
  479. homeassistant-stubs/components/matter/entity.pyi +2 -1
  480. homeassistant-stubs/components/matter/fan.pyi +4 -0
  481. homeassistant-stubs/components/matter/light.pyi +2 -0
  482. homeassistant-stubs/components/matter/lock.pyi +3 -6
  483. homeassistant-stubs/components/matter/models.pyi +1 -1
  484. homeassistant-stubs/components/matter/number.pyi +1 -1
  485. homeassistant-stubs/components/matter/select.pyi +34 -0
  486. homeassistant-stubs/components/matter/sensor.pyi +1 -1
  487. homeassistant-stubs/components/matter/update.pyi +53 -0
  488. homeassistant-stubs/components/media_player/__init__.pyi +8 -8
  489. homeassistant-stubs/components/media_player/const.pyi +72 -72
  490. homeassistant-stubs/components/media_player/intent.pyi +2 -4
  491. homeassistant-stubs/components/minecraft_server/api.pyi +3 -3
  492. homeassistant-stubs/components/minecraft_server/sensor.pyi +1 -1
  493. homeassistant-stubs/components/modbus/__init__.pyi +1 -1
  494. homeassistant-stubs/components/modbus/const.pyi +11 -11
  495. homeassistant-stubs/components/modbus/fan.pyi +3 -1
  496. homeassistant-stubs/components/modbus/validators.pyi +2 -3
  497. homeassistant-stubs/components/monzo/sensor.pyi +1 -1
  498. homeassistant-stubs/components/mopeka/__init__.pyi +5 -3
  499. homeassistant-stubs/components/mopeka/config_flow.pyi +18 -1
  500. homeassistant-stubs/components/mopeka/const.pyi +5 -0
  501. homeassistant-stubs/components/mopeka/sensor.pyi +3 -4
  502. homeassistant-stubs/components/mqtt/client.pyi +3 -4
  503. homeassistant-stubs/components/mqtt/device_trigger.pyi +2 -2
  504. homeassistant-stubs/components/mqtt/fan.pyi +1 -0
  505. homeassistant-stubs/components/mqtt/models.pyi +4 -4
  506. homeassistant-stubs/components/mqtt/subscription.pyi +1 -1
  507. homeassistant-stubs/components/mqtt/switch.pyi +3 -2
  508. homeassistant-stubs/components/mqtt/vacuum.pyi +2 -7
  509. homeassistant-stubs/components/mysensors/binary_sensor.pyi +1 -1
  510. homeassistant-stubs/components/mysensors/cover.pyi +4 -4
  511. homeassistant-stubs/components/myuplink/select.pyi +23 -0
  512. homeassistant-stubs/components/nam/sensor.pyi +1 -1
  513. homeassistant-stubs/components/nest/media_source.pyi +1 -1
  514. homeassistant-stubs/components/netatmo/fan.pyi +1 -0
  515. homeassistant-stubs/components/netatmo/helper.pyi +1 -1
  516. homeassistant-stubs/components/netatmo/sensor.pyi +2 -2
  517. homeassistant-stubs/components/nextdns/binary_sensor.pyi +1 -1
  518. homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
  519. homeassistant-stubs/components/nextdns/switch.pyi +1 -1
  520. homeassistant-stubs/components/notify/__init__.pyi +2 -2
  521. homeassistant-stubs/components/notion/binary_sensor.pyi +1 -1
  522. homeassistant-stubs/components/notion/config_flow.pyi +1 -1
  523. homeassistant-stubs/components/notion/coordinator.pyi +1 -1
  524. homeassistant-stubs/components/notion/sensor.pyi +1 -1
  525. homeassistant-stubs/components/number/__init__.pyi +1 -1
  526. homeassistant-stubs/components/number/const.pyi +52 -52
  527. homeassistant-stubs/components/nut/__init__.pyi +1 -1
  528. homeassistant-stubs/components/oncue/__init__.pyi +3 -4
  529. homeassistant-stubs/components/oncue/binary_sensor.pyi +2 -5
  530. homeassistant-stubs/components/oncue/sensor.pyi +2 -3
  531. homeassistant-stubs/components/oncue/types.pyi +5 -0
  532. homeassistant-stubs/components/onewire/binary_sensor.pyi +1 -1
  533. homeassistant-stubs/components/onewire/onewire_entities.pyi +1 -1
  534. homeassistant-stubs/components/onewire/sensor.pyi +1 -1
  535. homeassistant-stubs/components/onewire/switch.pyi +1 -1
  536. homeassistant-stubs/components/openuv/sensor.pyi +1 -1
  537. homeassistant-stubs/components/oralb/__init__.pyi +3 -3
  538. homeassistant-stubs/components/oralb/sensor.pyi +3 -4
  539. homeassistant-stubs/components/otbr/websocket_api.pyi +6 -3
  540. homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +1 -1
  541. homeassistant-stubs/components/overkiz/binary_sensor.pyi +1 -1
  542. homeassistant-stubs/components/overkiz/button.pyi +1 -1
  543. homeassistant-stubs/components/overkiz/climate.pyi +1 -1
  544. homeassistant-stubs/components/overkiz/climate_entities/__init__.pyi +3 -2
  545. homeassistant-stubs/components/overkiz/climate_entities/atlantic_pass_apc_heat_pump_main_component.pyi +18 -0
  546. homeassistant-stubs/components/overkiz/number.pyi +1 -1
  547. homeassistant-stubs/components/overkiz/select.pyi +1 -1
  548. homeassistant-stubs/components/overkiz/sensor.pyi +1 -1
  549. homeassistant-stubs/components/overkiz/switch.pyi +1 -1
  550. homeassistant-stubs/components/p1_monitor/coordinator.pyi +1 -1
  551. homeassistant-stubs/components/peco/sensor.pyi +1 -1
  552. homeassistant-stubs/components/persistent_notification/__init__.pyi +4 -4
  553. homeassistant-stubs/components/pi_hole/binary_sensor.pyi +1 -1
  554. homeassistant-stubs/components/pi_hole/update.pyi +1 -1
  555. homeassistant-stubs/components/ping/entity.pyi +0 -1
  556. homeassistant-stubs/components/ping/sensor.pyi +1 -1
  557. homeassistant-stubs/components/plugwise/binary_sensor.pyi +1 -1
  558. homeassistant-stubs/components/plugwise/number.pyi +1 -1
  559. homeassistant-stubs/components/plugwise/select.pyi +1 -1
  560. homeassistant-stubs/components/plugwise/sensor.pyi +1 -1
  561. homeassistant-stubs/components/plugwise/switch.pyi +1 -1
  562. homeassistant-stubs/components/powerwall/__init__.pyi +4 -4
  563. homeassistant-stubs/components/powerwall/binary_sensor.pyi +2 -4
  564. homeassistant-stubs/components/powerwall/models.pyi +4 -1
  565. homeassistant-stubs/components/powerwall/sensor.pyi +4 -6
  566. homeassistant-stubs/components/powerwall/switch.pyi +2 -4
  567. homeassistant-stubs/components/private_ble_device/sensor.pyi +1 -1
  568. homeassistant-stubs/components/prometheus/__init__.pyi +3 -1
  569. homeassistant-stubs/components/prusalink/__init__.pyi +1 -1
  570. homeassistant-stubs/components/prusalink/binary_sensor.pyi +36 -0
  571. homeassistant-stubs/components/prusalink/button.pyi +1 -1
  572. homeassistant-stubs/components/prusalink/coordinator.pyi +4 -1
  573. homeassistant-stubs/components/prusalink/sensor.pyi +3 -3
  574. homeassistant-stubs/components/pure_energie/sensor.pyi +1 -1
  575. homeassistant-stubs/components/purpleair/config_flow.pyi +1 -1
  576. homeassistant-stubs/components/purpleair/sensor.pyi +1 -1
  577. homeassistant-stubs/components/pvoutput/sensor.pyi +1 -1
  578. homeassistant-stubs/components/qnap_qsw/binary_sensor.pyi +1 -1
  579. homeassistant-stubs/components/qnap_qsw/button.pyi +1 -1
  580. homeassistant-stubs/components/qnap_qsw/entity.pyi +1 -1
  581. homeassistant-stubs/components/qnap_qsw/sensor.pyi +1 -1
  582. homeassistant-stubs/components/rabbitair/fan.pyi +1 -0
  583. homeassistant-stubs/components/radarr/coordinator.pyi +1 -1
  584. homeassistant-stubs/components/radarr/sensor.pyi +1 -1
  585. homeassistant-stubs/components/rainforest_raven/sensor.pyi +1 -1
  586. homeassistant-stubs/components/rainmachine/__init__.pyi +8 -7
  587. homeassistant-stubs/components/rainmachine/binary_sensor.pyi +4 -5
  588. homeassistant-stubs/components/rainmachine/button.pyi +4 -5
  589. homeassistant-stubs/components/rainmachine/coordinator.pyi +3 -3
  590. homeassistant-stubs/components/rainmachine/diagnostics.pyi +3 -4
  591. homeassistant-stubs/components/rainmachine/model.pyi +1 -1
  592. homeassistant-stubs/components/rainmachine/select.pyi +5 -5
  593. homeassistant-stubs/components/rainmachine/sensor.pyi +5 -5
  594. homeassistant-stubs/components/rainmachine/switch.pyi +6 -6
  595. homeassistant-stubs/components/rainmachine/update.pyi +9 -10
  596. homeassistant-stubs/components/rainmachine/util.pyi +4 -4
  597. homeassistant-stubs/components/rdw/binary_sensor.pyi +1 -1
  598. homeassistant-stubs/components/rdw/sensor.pyi +1 -1
  599. homeassistant-stubs/components/recorder/__init__.pyi +2 -1
  600. homeassistant-stubs/components/recorder/basic_websocket_api.pyi +7 -0
  601. homeassistant-stubs/components/recorder/const.pyi +5 -8
  602. homeassistant-stubs/components/recorder/core.pyi +16 -16
  603. homeassistant-stubs/components/recorder/db_schema.pyi +19 -6
  604. homeassistant-stubs/components/recorder/migration.pyi +221 -24
  605. homeassistant-stubs/components/recorder/models/context.pyi +1 -3
  606. homeassistant-stubs/components/recorder/statistics.pyi +2 -2
  607. homeassistant-stubs/components/recorder/table_managers/__init__.pyi +0 -1
  608. homeassistant-stubs/components/recorder/table_managers/event_data.pyi +0 -1
  609. homeassistant-stubs/components/recorder/table_managers/event_types.pyi +1 -0
  610. homeassistant-stubs/components/recorder/table_managers/state_attributes.pyi +0 -1
  611. homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +1 -0
  612. homeassistant-stubs/components/recorder/tasks.pyi +0 -24
  613. homeassistant-stubs/components/recorder/util.pyi +8 -6
  614. homeassistant-stubs/components/recorder/websocket_api.pyi +0 -1
  615. homeassistant-stubs/components/remote/__init__.pyi +4 -4
  616. homeassistant-stubs/components/renault/binary_sensor.pyi +1 -1
  617. homeassistant-stubs/components/renault/button.pyi +1 -1
  618. homeassistant-stubs/components/renault/entity.pyi +1 -1
  619. homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
  620. homeassistant-stubs/components/renault/select.pyi +1 -1
  621. homeassistant-stubs/components/renault/sensor.pyi +1 -1
  622. homeassistant-stubs/components/repairs/websocket_api.pyi +1 -1
  623. homeassistant-stubs/components/rfxtrx/sensor.pyi +1 -1
  624. homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
  625. homeassistant-stubs/components/ring/light.pyi +2 -2
  626. homeassistant-stubs/components/ring/sensor.pyi +1 -1
  627. homeassistant-stubs/components/rituals_perfume_genie/binary_sensor.pyi +1 -1
  628. homeassistant-stubs/components/rituals_perfume_genie/number.pyi +1 -1
  629. homeassistant-stubs/components/rituals_perfume_genie/select.pyi +1 -1
  630. homeassistant-stubs/components/rituals_perfume_genie/sensor.pyi +1 -1
  631. homeassistant-stubs/components/rituals_perfume_genie/switch.pyi +1 -1
  632. homeassistant-stubs/components/roborock/__init__.pyi +4 -3
  633. homeassistant-stubs/components/roborock/binary_sensor.pyi +3 -6
  634. homeassistant-stubs/components/roborock/button.pyi +3 -6
  635. homeassistant-stubs/components/roborock/coordinator.pyi +8 -2
  636. homeassistant-stubs/components/roborock/diagnostics.pyi +2 -4
  637. homeassistant-stubs/components/roborock/image.pyi +2 -3
  638. homeassistant-stubs/components/roborock/number.pyi +3 -6
  639. homeassistant-stubs/components/roborock/select.pyi +12 -6
  640. homeassistant-stubs/components/roborock/sensor.pyi +6 -9
  641. homeassistant-stubs/components/roborock/switch.pyi +3 -6
  642. homeassistant-stubs/components/roborock/time.pyi +3 -6
  643. homeassistant-stubs/components/roborock/vacuum.pyi +2 -4
  644. homeassistant-stubs/components/roku/binary_sensor.pyi +1 -1
  645. homeassistant-stubs/components/roku/browse_media.pyi +2 -1
  646. homeassistant-stubs/components/roku/select.pyi +1 -1
  647. homeassistant-stubs/components/roku/sensor.pyi +1 -1
  648. homeassistant-stubs/components/samsungtv/bridge.pyi +1 -1
  649. homeassistant-stubs/components/script/__init__.pyi +148 -0
  650. homeassistant-stubs/components/script/config.pyi +39 -0
  651. homeassistant-stubs/components/script/const.pyi +14 -0
  652. homeassistant-stubs/components/script/helpers.pyi +11 -0
  653. homeassistant-stubs/components/script/logbook.pyi +8 -0
  654. homeassistant-stubs/components/script/trace.pyi +10 -0
  655. homeassistant-stubs/components/search/__init__.pyi +14 -13
  656. homeassistant-stubs/components/select/__init__.pyi +1 -1
  657. homeassistant-stubs/components/sensibo/binary_sensor.pyi +2 -2
  658. homeassistant-stubs/components/sensibo/button.pyi +1 -1
  659. homeassistant-stubs/components/sensibo/number.pyi +1 -1
  660. homeassistant-stubs/components/sensibo/select.pyi +1 -1
  661. homeassistant-stubs/components/sensibo/sensor.pyi +2 -2
  662. homeassistant-stubs/components/sensibo/switch.pyi +1 -1
  663. homeassistant-stubs/components/sensibo/update.pyi +1 -1
  664. homeassistant-stubs/components/sensor/__init__.pyi +1 -1
  665. homeassistant-stubs/components/sensor/const.pyi +55 -55
  666. homeassistant-stubs/components/sfr_box/binary_sensor.pyi +1 -1
  667. homeassistant-stubs/components/sfr_box/button.pyi +1 -1
  668. homeassistant-stubs/components/sfr_box/sensor.pyi +1 -1
  669. homeassistant-stubs/components/shelly/binary_sensor.pyi +4 -4
  670. homeassistant-stubs/components/shelly/button.pyi +1 -1
  671. homeassistant-stubs/components/shelly/climate.pyi +1 -1
  672. homeassistant-stubs/components/shelly/const.pyi +6 -3
  673. homeassistant-stubs/components/shelly/coordinator.pyi +1 -1
  674. homeassistant-stubs/components/shelly/entity.pyi +9 -3
  675. homeassistant-stubs/components/shelly/event.pyi +2 -2
  676. homeassistant-stubs/components/shelly/number.pyi +28 -6
  677. homeassistant-stubs/components/shelly/select.pyi +25 -0
  678. homeassistant-stubs/components/shelly/sensor.pyi +6 -4
  679. homeassistant-stubs/components/shelly/switch.pyi +17 -3
  680. homeassistant-stubs/components/shelly/text.pyi +23 -0
  681. homeassistant-stubs/components/shelly/update.pyi +2 -2
  682. homeassistant-stubs/components/shelly/utils.pyi +3 -1
  683. homeassistant-stubs/components/shelly/valve.pyi +1 -1
  684. homeassistant-stubs/components/simplisafe/button.pyi +1 -1
  685. homeassistant-stubs/components/simplisafe/typing.pyi +3 -2
  686. homeassistant-stubs/components/siren/__init__.pyi +1 -1
  687. homeassistant-stubs/components/siren/const.pyi +5 -5
  688. homeassistant-stubs/components/skybell/sensor.pyi +1 -1
  689. homeassistant-stubs/components/sleepiq/button.pyi +1 -1
  690. homeassistant-stubs/components/sleepiq/entity.pyi +1 -1
  691. homeassistant-stubs/components/sleepiq/number.pyi +1 -1
  692. homeassistant-stubs/components/snooz/fan.pyi +1 -0
  693. homeassistant-stubs/components/sonarr/sensor.pyi +1 -1
  694. homeassistant-stubs/components/speedtestdotnet/sensor.pyi +1 -1
  695. homeassistant-stubs/components/ssdp/__init__.pyi +1 -1
  696. homeassistant-stubs/components/starlink/binary_sensor.pyi +1 -1
  697. homeassistant-stubs/components/starlink/button.pyi +1 -1
  698. homeassistant-stubs/components/starlink/device_tracker.pyi +1 -1
  699. homeassistant-stubs/components/starlink/sensor.pyi +1 -1
  700. homeassistant-stubs/components/starlink/switch.pyi +1 -1
  701. homeassistant-stubs/components/starlink/time.pyi +1 -1
  702. homeassistant-stubs/components/steamist/sensor.pyi +1 -1
  703. homeassistant-stubs/components/stream/core.pyi +9 -9
  704. homeassistant-stubs/components/stream/fmp4utils.pyi +1 -1
  705. homeassistant-stubs/components/stream/worker.pyi +1 -2
  706. homeassistant-stubs/components/streamlabswater/entity.pyi +0 -1
  707. homeassistant-stubs/components/streamlabswater/sensor.pyi +1 -1
  708. homeassistant-stubs/components/stt/const.pyi +21 -21
  709. homeassistant-stubs/components/sun/sensor.pyi +1 -1
  710. homeassistant-stubs/components/switch/__init__.pyi +3 -3
  711. homeassistant-stubs/components/switchbot_cloud/__init__.pyi +1 -1
  712. homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +2 -1
  713. homeassistant-stubs/components/switcher_kis/button.pyi +1 -1
  714. homeassistant-stubs/components/synology_dsm/binary_sensor.pyi +1 -1
  715. homeassistant-stubs/components/synology_dsm/button.pyi +1 -1
  716. homeassistant-stubs/components/synology_dsm/camera.pyi +1 -1
  717. homeassistant-stubs/components/synology_dsm/entity.pyi +1 -1
  718. homeassistant-stubs/components/synology_dsm/sensor.pyi +1 -1
  719. homeassistant-stubs/components/synology_dsm/switch.pyi +1 -1
  720. homeassistant-stubs/components/synology_dsm/update.pyi +1 -1
  721. homeassistant-stubs/components/system_health/__init__.pyi +1 -1
  722. homeassistant-stubs/components/system_log/__init__.pyi +1 -1
  723. homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
  724. homeassistant-stubs/components/systemmonitor/sensor.pyi +1 -1
  725. homeassistant-stubs/components/tailscale/binary_sensor.pyi +1 -1
  726. homeassistant-stubs/components/tailscale/sensor.pyi +1 -1
  727. homeassistant-stubs/components/tailwind/binary_sensor.pyi +1 -1
  728. homeassistant-stubs/components/tailwind/button.pyi +1 -1
  729. homeassistant-stubs/components/tailwind/number.pyi +1 -1
  730. homeassistant-stubs/components/tami4/button.pyi +1 -1
  731. homeassistant-stubs/components/tautulli/sensor.pyi +2 -2
  732. homeassistant-stubs/components/technove/__init__.pyi +2 -2
  733. homeassistant-stubs/components/technove/binary_sensor.pyi +3 -4
  734. homeassistant-stubs/components/technove/coordinator.pyi +2 -3
  735. homeassistant-stubs/components/technove/diagnostics.pyi +9 -0
  736. homeassistant-stubs/components/technove/number.pyi +37 -0
  737. homeassistant-stubs/components/technove/sensor.pyi +3 -4
  738. homeassistant-stubs/components/technove/switch.pyi +3 -4
  739. homeassistant-stubs/components/tedee/binary_sensor.pyi +1 -1
  740. homeassistant-stubs/components/tedee/config_flow.pyi +3 -0
  741. homeassistant-stubs/components/tedee/sensor.pyi +1 -1
  742. homeassistant-stubs/components/text/__init__.pyi +3 -3
  743. homeassistant-stubs/components/time/__init__.pyi +1 -1
  744. homeassistant-stubs/components/todo/__init__.pyi +2 -2
  745. homeassistant-stubs/components/todo/const.pyi +19 -9
  746. homeassistant-stubs/components/tolo/const.pyi +4 -5
  747. homeassistant-stubs/components/tolo/fan.pyi +3 -1
  748. homeassistant-stubs/components/tolo/number.pyi +1 -1
  749. homeassistant-stubs/components/tolo/select.pyi +1 -1
  750. homeassistant-stubs/components/tolo/sensor.pyi +1 -1
  751. homeassistant-stubs/components/tolo/switch.pyi +1 -1
  752. homeassistant-stubs/components/tplink/binary_sensor.pyi +1 -1
  753. homeassistant-stubs/components/tplink/button.pyi +1 -1
  754. homeassistant-stubs/components/tplink/entity.pyi +1 -1
  755. homeassistant-stubs/components/tplink/fan.pyi +1 -0
  756. homeassistant-stubs/components/tplink/number.pyi +1 -1
  757. homeassistant-stubs/components/tplink/select.pyi +1 -1
  758. homeassistant-stubs/components/tplink/sensor.pyi +1 -1
  759. homeassistant-stubs/components/tplink/switch.pyi +1 -1
  760. homeassistant-stubs/components/tplink_omada/binary_sensor.pyi +1 -1
  761. homeassistant-stubs/components/tplink_omada/switch.pyi +4 -4
  762. homeassistant-stubs/components/tractive/sensor.pyi +1 -1
  763. homeassistant-stubs/components/tractive/switch.pyi +1 -1
  764. homeassistant-stubs/components/tradfri/fan.pyi +1 -0
  765. homeassistant-stubs/components/tradfri/sensor.pyi +1 -1
  766. homeassistant-stubs/components/trafikverket_camera/binary_sensor.pyi +1 -1
  767. homeassistant-stubs/components/trafikverket_camera/config_flow.pyi +3 -3
  768. homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +2 -2
  769. homeassistant-stubs/components/trafikverket_camera/sensor.pyi +1 -1
  770. homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +1 -1
  771. homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +1 -1
  772. homeassistant-stubs/components/trafikverket_train/coordinator.pyi +3 -3
  773. homeassistant-stubs/components/trafikverket_train/sensor.pyi +1 -1
  774. homeassistant-stubs/components/trafikverket_weatherstation/coordinator.pyi +3 -3
  775. homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +3 -3
  776. homeassistant-stubs/components/transmission/sensor.pyi +1 -1
  777. homeassistant-stubs/components/transmission/switch.pyi +1 -1
  778. homeassistant-stubs/components/tts/__init__.pyi +10 -9
  779. homeassistant-stubs/components/tts/const.pyi +1 -3
  780. homeassistant-stubs/components/twentemilieu/sensor.pyi +1 -1
  781. homeassistant-stubs/components/unifi/button.pyi +1 -1
  782. homeassistant-stubs/components/unifi/device_tracker.pyi +6 -5
  783. homeassistant-stubs/components/unifi/entity.pyi +3 -2
  784. homeassistant-stubs/components/unifi/hub/entity_loader.pyi +9 -0
  785. homeassistant-stubs/components/unifi/image.pyi +1 -1
  786. homeassistant-stubs/components/unifi/sensor.pyi +8 -3
  787. homeassistant-stubs/components/unifi/switch.pyi +3 -2
  788. homeassistant-stubs/components/unifi/update.pyi +1 -1
  789. homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +10 -14
  790. homeassistant-stubs/components/unifiprotect/button.pyi +7 -6
  791. homeassistant-stubs/components/unifiprotect/camera.pyi +4 -4
  792. homeassistant-stubs/components/unifiprotect/data.pyi +2 -3
  793. homeassistant-stubs/components/unifiprotect/entity.pyi +14 -10
  794. homeassistant-stubs/components/unifiprotect/event.pyi +25 -0
  795. homeassistant-stubs/components/unifiprotect/light.pyi +3 -3
  796. homeassistant-stubs/components/unifiprotect/lock.pyi +3 -3
  797. homeassistant-stubs/components/unifiprotect/media_player.pyi +3 -3
  798. homeassistant-stubs/components/unifiprotect/media_source.pyi +10 -10
  799. homeassistant-stubs/components/unifiprotect/models.pyi +6 -6
  800. homeassistant-stubs/components/unifiprotect/number.pyi +4 -4
  801. homeassistant-stubs/components/unifiprotect/select.pyi +4 -4
  802. homeassistant-stubs/components/unifiprotect/sensor.pyi +6 -6
  803. homeassistant-stubs/components/unifiprotect/switch.pyi +12 -12
  804. homeassistant-stubs/components/unifiprotect/text.pyi +4 -4
  805. homeassistant-stubs/components/unifiprotect/utils.pyi +1 -2
  806. homeassistant-stubs/components/upcloud/__init__.pyi +1 -1
  807. homeassistant-stubs/components/update/__init__.pyi +2 -2
  808. homeassistant-stubs/components/update/const.pyi +5 -5
  809. homeassistant-stubs/components/vacuum/__init__.pyi +15 -15
  810. homeassistant-stubs/components/vallox/binary_sensor.pyi +1 -1
  811. homeassistant-stubs/components/vallox/fan.pyi +1 -0
  812. homeassistant-stubs/components/vallox/number.pyi +1 -1
  813. homeassistant-stubs/components/vallox/sensor.pyi +1 -1
  814. homeassistant-stubs/components/vallox/switch.pyi +1 -1
  815. homeassistant-stubs/components/valve/__init__.pyi +7 -7
  816. homeassistant-stubs/components/wake_on_lan/__init__.pyi +5 -1
  817. homeassistant-stubs/components/wake_on_lan/button.pyi +21 -0
  818. homeassistant-stubs/components/wake_on_lan/config_flow.pyi +20 -0
  819. homeassistant-stubs/components/wake_on_lan/const.pyi +7 -0
  820. homeassistant-stubs/components/wake_on_lan/switch.pyi +2 -5
  821. homeassistant-stubs/components/wake_word/models.pyi +2 -2
  822. homeassistant-stubs/components/wallbox/const.pyi +18 -18
  823. homeassistant-stubs/components/wallbox/number.pyi +1 -1
  824. homeassistant-stubs/components/wallbox/sensor.pyi +1 -1
  825. homeassistant-stubs/components/waqi/sensor.pyi +1 -1
  826. homeassistant-stubs/components/water_heater/__init__.pyi +5 -5
  827. homeassistant-stubs/components/weather/__init__.pyi +1 -1
  828. homeassistant-stubs/components/weather/const.pyi +3 -3
  829. homeassistant-stubs/components/wemo/__init__.pyi +1 -1
  830. homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
  831. homeassistant-stubs/components/wemo/entity.pyi +1 -1
  832. homeassistant-stubs/components/wemo/fan.pyi +1 -0
  833. homeassistant-stubs/components/wemo/models.pyi +1 -1
  834. homeassistant-stubs/components/wemo/sensor.pyi +1 -1
  835. homeassistant-stubs/components/whois/sensor.pyi +1 -1
  836. homeassistant-stubs/components/withings/__init__.pyi +1 -1
  837. homeassistant-stubs/components/withings/sensor.pyi +5 -5
  838. homeassistant-stubs/components/wiz/__init__.pyi +1 -0
  839. homeassistant-stubs/components/wiz/binary_sensor.pyi +2 -2
  840. homeassistant-stubs/components/wiz/diagnostics.pyi +2 -4
  841. homeassistant-stubs/components/wiz/light.pyi +2 -3
  842. homeassistant-stubs/components/wiz/number.pyi +3 -4
  843. homeassistant-stubs/components/wiz/sensor.pyi +2 -3
  844. homeassistant-stubs/components/wiz/switch.pyi +2 -3
  845. homeassistant-stubs/components/wled/__init__.pyi +7 -2
  846. homeassistant-stubs/components/wled/const.pyi +7 -0
  847. homeassistant-stubs/components/wled/coordinator.pyi +7 -2
  848. homeassistant-stubs/components/wled/helpers.pyi +2 -0
  849. homeassistant-stubs/components/wled/light.pyi +7 -5
  850. homeassistant-stubs/components/wled/number.pyi +2 -2
  851. homeassistant-stubs/components/wled/sensor.pyi +1 -1
  852. homeassistant-stubs/components/wled/switch.pyi +1 -1
  853. homeassistant-stubs/components/wled/update.pyi +7 -3
  854. homeassistant-stubs/components/worldclock/__init__.pyi +7 -0
  855. homeassistant-stubs/components/worldclock/config_flow.pyi +22 -0
  856. homeassistant-stubs/components/worldclock/const.pyi +8 -0
  857. homeassistant-stubs/components/worldclock/sensor.pyi +9 -4
  858. homeassistant-stubs/components/xiaomi_ble/__init__.pyi +4 -4
  859. homeassistant-stubs/components/xiaomi_ble/binary_sensor.pyi +3 -4
  860. homeassistant-stubs/components/xiaomi_ble/coordinator.pyi +2 -2
  861. homeassistant-stubs/components/xiaomi_ble/event.pyi +2 -3
  862. homeassistant-stubs/components/xiaomi_ble/sensor.pyi +3 -4
  863. homeassistant-stubs/components/xiaomi_ble/types.pyi +4 -0
  864. homeassistant-stubs/components/yalexs_ble/sensor.pyi +1 -1
  865. homeassistant-stubs/components/youtube/sensor.pyi +1 -1
  866. homeassistant-stubs/components/zwave_js/binary_sensor.pyi +2 -2
  867. homeassistant-stubs/components/zwave_js/discovery.pyi +9 -9
  868. homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +7 -7
  869. homeassistant-stubs/components/zwave_js/fan.pyi +1 -0
  870. homeassistant-stubs/components/zwave_js/helpers.pyi +2 -2
  871. homeassistant-stubs/components/zwave_js/humidifier.pyi +1 -1
  872. homeassistant-stubs/components/zwave_js/migrate.pyi +1 -1
  873. homeassistant-stubs/components/zwave_js/sensor.pyi +1 -1
  874. homeassistant-stubs/components/zwave_js/services.pyi +4 -3
  875. homeassistant-stubs/config.pyi +10 -10
  876. homeassistant-stubs/config_entries.pyi +18 -14
  877. homeassistant-stubs/const.pyi +161 -160
  878. homeassistant-stubs/core.pyi +29 -26
  879. homeassistant-stubs/data_entry_flow.pyi +8 -8
  880. homeassistant-stubs/exceptions.pyi +1 -2
  881. homeassistant-stubs/helpers/aiohttp_client.pyi +6 -6
  882. homeassistant-stubs/helpers/area_registry.pyi +4 -1
  883. homeassistant-stubs/helpers/category_registry.pyi +12 -2
  884. homeassistant-stubs/helpers/condition.pyi +2 -4
  885. homeassistant-stubs/helpers/config_validation.pyi +9 -6
  886. homeassistant-stubs/helpers/data_entry_flow.pyi +1 -1
  887. homeassistant-stubs/helpers/device_registry.pyi +19 -10
  888. homeassistant-stubs/helpers/entity.pyi +7 -8
  889. homeassistant-stubs/helpers/entity_registry.pyi +16 -11
  890. homeassistant-stubs/helpers/event.pyi +7 -7
  891. homeassistant-stubs/helpers/floor_registry.pyi +9 -2
  892. homeassistant-stubs/helpers/http.pyi +2 -1
  893. homeassistant-stubs/helpers/intent.pyi +41 -38
  894. homeassistant-stubs/helpers/issue_registry.pyi +3 -3
  895. homeassistant-stubs/helpers/json.pyi +8 -2
  896. homeassistant-stubs/helpers/label_registry.pyi +9 -2
  897. homeassistant-stubs/helpers/llm.pyi +1 -1
  898. homeassistant-stubs/helpers/normalized_name_base_registry.pyi +4 -1
  899. homeassistant-stubs/helpers/recorder.pyi +10 -1
  900. homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
  901. homeassistant-stubs/helpers/script.pyi +18 -16
  902. homeassistant-stubs/helpers/selector.pyi +24 -23
  903. homeassistant-stubs/helpers/service.pyi +2 -2
  904. homeassistant-stubs/helpers/service_info/mqtt.pyi +1 -2
  905. homeassistant-stubs/helpers/significant_change.pyi +3 -2
  906. homeassistant-stubs/helpers/template.pyi +3 -3
  907. homeassistant-stubs/helpers/trace.pyi +2 -3
  908. homeassistant-stubs/helpers/trigger.pyi +1 -1
  909. homeassistant-stubs/helpers/typing.pyi +3 -3
  910. homeassistant-stubs/helpers/update_coordinator.pyi +8 -4
  911. homeassistant-stubs/runner.pyi +1 -1
  912. homeassistant-stubs/setup.pyi +8 -9
  913. homeassistant-stubs/util/event_type.pyi +1 -1
  914. homeassistant-stubs/util/hass_dict.pyi +19 -19
  915. homeassistant-stubs/util/json.pyi +4 -9
  916. homeassistant-stubs/util/language.pyi +1 -1
  917. homeassistant-stubs/util/signal_type.pyi +1 -1
  918. homeassistant-stubs/util/ssl.pyi +3 -3
  919. homeassistant-stubs/util/timeout.pyi +4 -4
  920. homeassistant-stubs/util/ulid.pyi +2 -2
  921. homeassistant-stubs/util/yaml/loader.pyi +2 -3
  922. {homeassistant_stubs-2024.7.4.dist-info → homeassistant_stubs-2024.8.0b0.dist-info}/METADATA +2 -2
  923. {homeassistant_stubs-2024.7.4.dist-info → homeassistant_stubs-2024.8.0b0.dist-info}/RECORD +927 -846
  924. homeassistant-stubs/components/laundrify/model.pyi +0 -7
  925. homeassistant-stubs/helpers/backports/__init__.pyi +0 -0
  926. homeassistant-stubs/helpers/backports/aiohttp_resolver.pyi +0 -21
  927. /homeassistant-stubs/components/knx/{helpers → storage}/__init__.pyi +0 -0
  928. /homeassistant-stubs/components/knx/{helpers → storage}/keyring.pyi +0 -0
  929. {homeassistant_stubs-2024.7.4.dist-info → homeassistant_stubs-2024.8.0b0.dist-info}/LICENSE +0 -0
  930. {homeassistant_stubs-2024.7.4.dist-info → homeassistant_stubs-2024.8.0b0.dist-info}/WHEEL +0 -0
@@ -21,7 +21,7 @@ class ShellyEntryData:
21
21
  rest: ShellyRestCoordinator | None = ...
22
22
  rpc: ShellyRpcCoordinator | None = ...
23
23
  rpc_poll: ShellyRpcPollingCoordinator | None = ...
24
- def __init__(self, platforms, block, rest, rpc, rpc_poll) -> None: ...
24
+ def __init__(self, platforms, block=..., rest=..., rpc=..., rpc_poll=...) -> None: ...
25
25
  ShellyConfigEntry = ConfigEntry[ShellyEntryData]
26
26
 
27
27
  class ShellyCoordinatorBase(DataUpdateCoordinator[None]):
@@ -31,7 +31,7 @@ class BlockEntityDescription(EntityDescription):
31
31
  available: Callable[[Block], bool] | None = ...
32
32
  removal_condition: Callable[[dict, Block], bool] | None = ...
33
33
  extra_state_attributes: Callable[[Block], dict | None] | None = ...
34
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, unit_fn, value, available, removal_condition, extra_state_attributes) -> None: ...
34
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., unit_fn=..., value=..., available=..., removal_condition=..., extra_state_attributes=...) -> None: ...
35
35
 
36
36
  @dataclass(frozen=True, kw_only=True)
37
37
  class RpcEntityDescription(EntityDescription):
@@ -43,14 +43,16 @@ class RpcEntityDescription(EntityDescription):
43
43
  extra_state_attributes: Callable[[dict, dict], dict | None] | None = ...
44
44
  use_polling_coordinator: bool = ...
45
45
  supported: Callable = ...
46
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, sub_key, value, available, removal_condition, extra_state_attributes, use_polling_coordinator, supported) -> None: ...
46
+ unit: Callable[[dict], str | None] | None = ...
47
+ options_fn: Callable[[dict], list[str]] | None = ...
48
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=...) -> None: ...
47
49
 
48
50
  @dataclass(frozen=True)
49
51
  class RestEntityDescription(EntityDescription):
50
52
  name: str = ...
51
53
  value: Callable[[dict, Any], Any] | None = ...
52
54
  extra_state_attributes: Callable[[dict], dict | None] | None = ...
53
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, value, extra_state_attributes) -> None: ...
55
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., value=..., extra_state_attributes=...) -> None: ...
54
56
 
55
57
  class ShellyBlockEntity(CoordinatorEntity[ShellyBlockCoordinator]):
56
58
  block: Incomplete
@@ -107,6 +109,10 @@ class ShellyRpcAttributeEntity(ShellyRpcEntity, Entity):
107
109
  _attr_unique_id: Incomplete
108
110
  _attr_name: Incomplete
109
111
  _last_value: Incomplete
112
+ _id: Incomplete
113
+ _attr_native_unit_of_measurement: Incomplete
114
+ option_map: Incomplete
115
+ reversed_option_map: Incomplete
110
116
  def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcEntityDescription) -> None: ...
111
117
  @property
112
118
  def sub_status(self) -> Any: ...
@@ -16,12 +16,12 @@ from typing import Any, Final
16
16
  @dataclass(frozen=True, kw_only=True)
17
17
  class ShellyBlockEventDescription(EventEntityDescription):
18
18
  removal_condition: Callable[[dict, Block], bool] | None = ...
19
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, event_types, removal_condition) -> None: ...
19
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., event_types=..., removal_condition=...) -> None: ...
20
20
 
21
21
  @dataclass(frozen=True, kw_only=True)
22
22
  class ShellyRpcEventDescription(EventEntityDescription):
23
23
  removal_condition: Callable[[dict, dict, str], bool] | None = ...
24
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, event_types, removal_condition) -> None: ...
24
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., event_types=..., removal_condition=...) -> None: ...
25
25
 
26
26
  BLOCK_EVENT: Final[Incomplete]
27
27
  RPC_EVENT: Final[Incomplete]
@@ -1,24 +1,35 @@
1
- from .const import CONF_SLEEP_PERIOD as CONF_SLEEP_PERIOD, LOGGER as LOGGER
2
- from .coordinator import ShellyBlockCoordinator as ShellyBlockCoordinator, ShellyConfigEntry as ShellyConfigEntry
3
- from .entity import BlockEntityDescription as BlockEntityDescription, ShellySleepingBlockAttributeEntity as ShellySleepingBlockAttributeEntity, async_setup_entry_attribute_entities as async_setup_entry_attribute_entities
1
+ from .const import CONF_SLEEP_PERIOD as CONF_SLEEP_PERIOD, LOGGER as LOGGER, VIRTUAL_NUMBER_MODE_MAP as VIRTUAL_NUMBER_MODE_MAP
2
+ from .coordinator import ShellyBlockCoordinator as ShellyBlockCoordinator, ShellyConfigEntry as ShellyConfigEntry, ShellyRpcCoordinator as ShellyRpcCoordinator
3
+ from .entity import BlockEntityDescription as BlockEntityDescription, RpcEntityDescription as RpcEntityDescription, ShellyRpcAttributeEntity as ShellyRpcAttributeEntity, ShellySleepingBlockAttributeEntity as ShellySleepingBlockAttributeEntity, async_setup_entry_attribute_entities as async_setup_entry_attribute_entities, async_setup_entry_rpc as async_setup_entry_rpc
4
+ from .utils import async_remove_orphaned_virtual_entities as async_remove_orphaned_virtual_entities, get_device_entry_gen as get_device_entry_gen, get_virtual_component_ids as get_virtual_component_ids
4
5
  from _typeshed import Incomplete
5
6
  from aioshelly.block_device import Block as Block
7
+ from collections.abc import Callable as Callable
6
8
  from dataclasses import dataclass
7
- from homeassistant.components.number import NumberEntityDescription as NumberEntityDescription, NumberExtraStoredData as NumberExtraStoredData, NumberMode as NumberMode, RestoreNumber as RestoreNumber
9
+ from homeassistant.components.number import NumberEntity as NumberEntity, NumberEntityDescription as NumberEntityDescription, NumberExtraStoredData as NumberExtraStoredData, NumberMode as NumberMode, RestoreNumber as RestoreNumber
8
10
  from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE
9
11
  from homeassistant.core import HomeAssistant as HomeAssistant
10
12
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
11
13
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
12
14
  from homeassistant.helpers.entity_registry import RegistryEntry as RegistryEntry
13
- from typing import Any
15
+ from typing import Any, Final
14
16
 
15
17
  @dataclass(frozen=True, kw_only=True)
16
18
  class BlockNumberDescription(BlockEntityDescription, NumberEntityDescription):
17
19
  rest_path: str = ...
18
20
  rest_arg: str = ...
19
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step, unit_fn, value, available, removal_condition, extra_state_attributes, rest_path, rest_arg) -> None: ...
21
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., max_value=..., min_value=..., mode=..., native_max_value=..., native_min_value=..., native_step=..., native_unit_of_measurement=..., step=..., unit_fn=..., value=..., available=..., removal_condition=..., extra_state_attributes=..., rest_path=..., rest_arg=...) -> None: ...
22
+
23
+ @dataclass(frozen=True, kw_only=True)
24
+ class RpcNumberDescription(RpcEntityDescription, NumberEntityDescription):
25
+ max_fn: Callable[[dict], float] | None = ...
26
+ min_fn: Callable[[dict], float] | None = ...
27
+ step_fn: Callable[[dict], float] | None = ...
28
+ mode_fn: Callable[[dict], NumberMode] | None = ...
29
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., max_value=..., min_value=..., mode=..., native_max_value=..., native_min_value=..., native_step=..., native_unit_of_measurement=..., step=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=..., max_fn=..., min_fn=..., step_fn=..., mode_fn=...) -> None: ...
20
30
 
21
31
  NUMBERS: dict[tuple[str, str], BlockNumberDescription]
32
+ RPC_NUMBERS: Final[Incomplete]
22
33
 
23
34
  async def async_setup_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
24
35
 
@@ -31,3 +42,14 @@ class BlockSleepingNumber(ShellySleepingBlockAttributeEntity, RestoreNumber):
31
42
  def native_value(self) -> float | None: ...
32
43
  async def async_set_native_value(self, value: float) -> None: ...
33
44
  async def _set_state_full_path(self, path: str, params: Any) -> Any: ...
45
+
46
+ class RpcNumber(ShellyRpcAttributeEntity, NumberEntity):
47
+ entity_description: RpcNumberDescription
48
+ _attr_native_max_value: Incomplete
49
+ _attr_native_min_value: Incomplete
50
+ _attr_native_step: Incomplete
51
+ _attr_mode: Incomplete
52
+ def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcNumberDescription) -> None: ...
53
+ @property
54
+ def native_value(self) -> float | None: ...
55
+ async def async_set_native_value(self, value: float) -> None: ...
@@ -0,0 +1,25 @@
1
+ from .coordinator import ShellyConfigEntry as ShellyConfigEntry, ShellyRpcCoordinator as ShellyRpcCoordinator
2
+ from .entity import RpcEntityDescription as RpcEntityDescription, ShellyRpcAttributeEntity as ShellyRpcAttributeEntity, async_setup_entry_rpc as async_setup_entry_rpc
3
+ from .utils import async_remove_orphaned_virtual_entities as async_remove_orphaned_virtual_entities, get_device_entry_gen as get_device_entry_gen, get_virtual_component_ids as get_virtual_component_ids
4
+ from _typeshed import Incomplete
5
+ from dataclasses import dataclass
6
+ from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
7
+ from homeassistant.core import HomeAssistant as HomeAssistant
8
+ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
9
+ from typing import Final
10
+
11
+ @dataclass(frozen=True, kw_only=True)
12
+ class RpcSelectDescription(RpcEntityDescription, SelectEntityDescription):
13
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., options=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=...) -> None: ...
14
+
15
+ RPC_SELECT_ENTITIES: Final[Incomplete]
16
+
17
+ async def async_setup_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
18
+
19
+ class RpcSelect(ShellyRpcAttributeEntity, SelectEntity):
20
+ entity_description: RpcSelectDescription
21
+ _attr_options: Incomplete
22
+ def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcSelectDescription) -> None: ...
23
+ @property
24
+ def current_option(self) -> str | None: ...
25
+ async def async_select_option(self, option: str) -> None: ...
@@ -1,7 +1,7 @@
1
1
  from .const import CONF_SLEEP_PERIOD as CONF_SLEEP_PERIOD, SHAIR_MAX_WORK_HOURS as SHAIR_MAX_WORK_HOURS
2
2
  from .coordinator import ShellyBlockCoordinator as ShellyBlockCoordinator, ShellyConfigEntry as ShellyConfigEntry, ShellyRpcCoordinator as ShellyRpcCoordinator
3
3
  from .entity import BlockEntityDescription as BlockEntityDescription, RestEntityDescription as RestEntityDescription, RpcEntityDescription as RpcEntityDescription, ShellyBlockAttributeEntity as ShellyBlockAttributeEntity, ShellyRestAttributeEntity as ShellyRestAttributeEntity, ShellyRpcAttributeEntity as ShellyRpcAttributeEntity, ShellySleepingBlockAttributeEntity as ShellySleepingBlockAttributeEntity, ShellySleepingRpcAttributeEntity as ShellySleepingRpcAttributeEntity, async_setup_entry_attribute_entities as async_setup_entry_attribute_entities, async_setup_entry_rest as async_setup_entry_rest, async_setup_entry_rpc as async_setup_entry_rpc
4
- from .utils import get_device_entry_gen as get_device_entry_gen, get_device_uptime as get_device_uptime, is_rpc_wifi_stations_disabled as is_rpc_wifi_stations_disabled
4
+ from .utils import async_remove_orphaned_virtual_entities as async_remove_orphaned_virtual_entities, get_device_entry_gen as get_device_entry_gen, get_device_uptime as get_device_uptime, get_virtual_component_ids as get_virtual_component_ids, is_rpc_wifi_stations_disabled as is_rpc_wifi_stations_disabled
5
5
  from _typeshed import Incomplete
6
6
  from aioshelly.block_device import Block as Block
7
7
  from dataclasses import dataclass
@@ -15,15 +15,15 @@ from typing import Final
15
15
 
16
16
  @dataclass(frozen=True, kw_only=True)
17
17
  class BlockSensorDescription(BlockEntityDescription, SensorEntityDescription):
18
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, unit_fn, value, available, removal_condition, extra_state_attributes) -> None: ...
18
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., unit_fn=..., value=..., available=..., removal_condition=..., extra_state_attributes=...) -> None: ...
19
19
 
20
20
  @dataclass(frozen=True, kw_only=True)
21
21
  class RpcSensorDescription(RpcEntityDescription, SensorEntityDescription):
22
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, sub_key, value, available, removal_condition, extra_state_attributes, use_polling_coordinator, supported) -> None: ...
22
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=...) -> None: ...
23
23
 
24
24
  @dataclass(frozen=True, kw_only=True)
25
25
  class RestSensorDescription(RestEntityDescription, SensorEntityDescription):
26
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value, extra_state_attributes) -> None: ...
26
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value=..., extra_state_attributes=...) -> None: ...
27
27
 
28
28
  SENSORS: dict[tuple[str, str], BlockSensorDescription]
29
29
  REST_SENSORS: Final[Incomplete]
@@ -45,6 +45,8 @@ class RestSensor(ShellyRestAttributeEntity, SensorEntity):
45
45
 
46
46
  class RpcSensor(ShellyRpcAttributeEntity, SensorEntity):
47
47
  entity_description: RpcSensorDescription
48
+ _attr_options: Incomplete
49
+ def __init__(self, coordinator: ShellyRpcCoordinator, key: str, attribute: str, description: RpcSensorDescription) -> None: ...
48
50
  @property
49
51
  def native_value(self) -> StateType: ...
50
52
 
@@ -1,7 +1,7 @@
1
1
  from .const import CONF_SLEEP_PERIOD as CONF_SLEEP_PERIOD, MOTION_MODELS as MOTION_MODELS
2
2
  from .coordinator import ShellyBlockCoordinator as ShellyBlockCoordinator, ShellyConfigEntry as ShellyConfigEntry, ShellyRpcCoordinator as ShellyRpcCoordinator
3
- from .entity import BlockEntityDescription as BlockEntityDescription, ShellyBlockEntity as ShellyBlockEntity, ShellyRpcEntity as ShellyRpcEntity, ShellySleepingBlockAttributeEntity as ShellySleepingBlockAttributeEntity, async_setup_entry_attribute_entities as async_setup_entry_attribute_entities
4
- from .utils import async_remove_shelly_entity as async_remove_shelly_entity, get_device_entry_gen as get_device_entry_gen, get_rpc_key_ids as get_rpc_key_ids, is_block_channel_type_light as is_block_channel_type_light, is_rpc_channel_type_light as is_rpc_channel_type_light, is_rpc_thermostat_internal_actuator as is_rpc_thermostat_internal_actuator, is_rpc_thermostat_mode as is_rpc_thermostat_mode
3
+ from .entity import BlockEntityDescription as BlockEntityDescription, RpcEntityDescription as RpcEntityDescription, ShellyBlockEntity as ShellyBlockEntity, ShellyRpcAttributeEntity as ShellyRpcAttributeEntity, ShellyRpcEntity as ShellyRpcEntity, ShellySleepingBlockAttributeEntity as ShellySleepingBlockAttributeEntity, async_setup_entry_attribute_entities as async_setup_entry_attribute_entities, async_setup_rpc_attribute_entities as async_setup_rpc_attribute_entities
4
+ from .utils import async_remove_orphaned_virtual_entities as async_remove_orphaned_virtual_entities, async_remove_shelly_entity as async_remove_shelly_entity, get_device_entry_gen as get_device_entry_gen, get_rpc_key_ids as get_rpc_key_ids, get_virtual_component_ids as get_virtual_component_ids, is_block_channel_type_light as is_block_channel_type_light, is_rpc_channel_type_light as is_rpc_channel_type_light, is_rpc_thermostat_internal_actuator as is_rpc_thermostat_internal_actuator, is_rpc_thermostat_mode as is_rpc_thermostat_mode
5
5
  from _typeshed import Incomplete
6
6
  from aioshelly.block_device import Block as Block
7
7
  from dataclasses import dataclass
@@ -15,10 +15,16 @@ from typing import Any
15
15
 
16
16
  @dataclass(frozen=True, kw_only=True)
17
17
  class BlockSwitchDescription(BlockEntityDescription, SwitchEntityDescription):
18
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, unit_fn, value, available, removal_condition, extra_state_attributes) -> None: ...
18
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., unit_fn=..., value=..., available=..., removal_condition=..., extra_state_attributes=...) -> None: ...
19
19
 
20
20
  MOTION_SWITCH: Incomplete
21
21
 
22
+ @dataclass(frozen=True, kw_only=True)
23
+ class RpcSwitchDescription(RpcEntityDescription, SwitchEntityDescription):
24
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=...) -> None: ...
25
+
26
+ RPC_VIRTUAL_SWITCH: Incomplete
27
+
22
28
  async def async_setup_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
23
29
  def async_setup_block_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
24
30
  def async_setup_rpc_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
@@ -50,3 +56,11 @@ class RpcRelaySwitch(ShellyRpcEntity, SwitchEntity):
50
56
  def is_on(self) -> bool: ...
51
57
  async def async_turn_on(self, **kwargs: Any) -> None: ...
52
58
  async def async_turn_off(self, **kwargs: Any) -> None: ...
59
+
60
+ class RpcVirtualSwitch(ShellyRpcAttributeEntity, SwitchEntity):
61
+ entity_description: RpcSwitchDescription
62
+ _attr_has_entity_name: bool
63
+ @property
64
+ def is_on(self) -> bool: ...
65
+ async def async_turn_on(self, **kwargs: Any) -> None: ...
66
+ async def async_turn_off(self, **kwargs: Any) -> None: ...
@@ -0,0 +1,23 @@
1
+ from .coordinator import ShellyConfigEntry as ShellyConfigEntry
2
+ from .entity import RpcEntityDescription as RpcEntityDescription, ShellyRpcAttributeEntity as ShellyRpcAttributeEntity, async_setup_entry_rpc as async_setup_entry_rpc
3
+ from .utils import async_remove_orphaned_virtual_entities as async_remove_orphaned_virtual_entities, get_device_entry_gen as get_device_entry_gen, get_virtual_component_ids as get_virtual_component_ids
4
+ from _typeshed import Incomplete
5
+ from dataclasses import dataclass
6
+ from homeassistant.components.text import TextEntity as TextEntity, TextEntityDescription as TextEntityDescription
7
+ from homeassistant.core import HomeAssistant as HomeAssistant
8
+ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
9
+ from typing import Final
10
+
11
+ @dataclass(frozen=True, kw_only=True)
12
+ class RpcTextDescription(RpcEntityDescription, TextEntityDescription):
13
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., native_min=..., native_max=..., mode=..., pattern=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=...) -> None: ...
14
+
15
+ RPC_TEXT_ENTITIES: Final[Incomplete]
16
+
17
+ async def async_setup_entry(hass: HomeAssistant, config_entry: ShellyConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
18
+
19
+ class RpcText(ShellyRpcAttributeEntity, TextEntity):
20
+ entity_description: RpcTextDescription
21
+ @property
22
+ def native_value(self) -> str | None: ...
23
+ async def async_set_value(self, value: str) -> None: ...
@@ -19,13 +19,13 @@ LOGGER: Incomplete
19
19
  class RpcUpdateDescription(RpcEntityDescription, UpdateEntityDescription):
20
20
  latest_version: Callable[[dict], Any]
21
21
  beta: bool
22
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, sub_key, value, available, removal_condition, extra_state_attributes, use_polling_coordinator, supported, latest_version, beta) -> None: ...
22
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., sub_key, value=..., available=..., removal_condition=..., extra_state_attributes=..., use_polling_coordinator=..., supported=..., unit=..., options_fn=..., latest_version, beta) -> None: ...
23
23
 
24
24
  @dataclass(frozen=True, kw_only=True)
25
25
  class RestUpdateDescription(RestEntityDescription, UpdateEntityDescription):
26
26
  latest_version: Callable[[dict], Any]
27
27
  beta: bool
28
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, value, extra_state_attributes, latest_version, beta) -> None: ...
28
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., value=..., extra_state_attributes=..., latest_version, beta) -> None: ...
29
29
 
30
30
  REST_UPDATES: Final[Incomplete]
31
31
  RPC_UPDATES: Final[Incomplete]
@@ -1,4 +1,4 @@
1
- from .const import BASIC_INPUTS_EVENTS_TYPES as BASIC_INPUTS_EVENTS_TYPES, CONF_COAP_PORT as CONF_COAP_PORT, CONF_GEN as CONF_GEN, DEVICES_WITHOUT_FIRMWARE_CHANGELOG as DEVICES_WITHOUT_FIRMWARE_CHANGELOG, DOMAIN as DOMAIN, FIRMWARE_UNSUPPORTED_ISSUE_ID as FIRMWARE_UNSUPPORTED_ISSUE_ID, GEN1_RELEASE_URL as GEN1_RELEASE_URL, GEN2_RELEASE_URL as GEN2_RELEASE_URL, LOGGER as LOGGER, RPC_INPUTS_EVENTS_TYPES as RPC_INPUTS_EVENTS_TYPES, SHBTN_INPUTS_EVENTS_TYPES as SHBTN_INPUTS_EVENTS_TYPES, SHBTN_MODELS as SHBTN_MODELS, SHIX3_1_INPUTS_EVENTS_TYPES as SHIX3_1_INPUTS_EVENTS_TYPES, UPTIME_DEVIATION as UPTIME_DEVIATION
1
+ from .const import BASIC_INPUTS_EVENTS_TYPES as BASIC_INPUTS_EVENTS_TYPES, CONF_COAP_PORT as CONF_COAP_PORT, CONF_GEN as CONF_GEN, DEVICES_WITHOUT_FIRMWARE_CHANGELOG as DEVICES_WITHOUT_FIRMWARE_CHANGELOG, DOMAIN as DOMAIN, FIRMWARE_UNSUPPORTED_ISSUE_ID as FIRMWARE_UNSUPPORTED_ISSUE_ID, GEN1_RELEASE_URL as GEN1_RELEASE_URL, GEN2_RELEASE_URL as GEN2_RELEASE_URL, LOGGER as LOGGER, RPC_INPUTS_EVENTS_TYPES as RPC_INPUTS_EVENTS_TYPES, SHBTN_INPUTS_EVENTS_TYPES as SHBTN_INPUTS_EVENTS_TYPES, SHBTN_MODELS as SHBTN_MODELS, SHIX3_1_INPUTS_EVENTS_TYPES as SHIX3_1_INPUTS_EVENTS_TYPES, UPTIME_DEVIATION as UPTIME_DEVIATION, VIRTUAL_COMPONENTS_MAP as VIRTUAL_COMPONENTS_MAP
2
2
  from _typeshed import Incomplete
3
3
  from aiohttp.web import Request as Request, WebSocketResponse as WebSocketResponse
4
4
  from aioshelly.block_device import Block as Block, BlockDevice as BlockDevice, COAP
@@ -60,3 +60,5 @@ def get_http_port(data: MappingProxyType[str, Any]) -> int: ...
60
60
  def get_host(host: str) -> str: ...
61
61
  def async_remove_shelly_rpc_entities(hass: HomeAssistant, domain: str, mac: str, keys: list[str]) -> None: ...
62
62
  def is_rpc_thermostat_mode(ident: int, status: dict[str, Any]) -> bool: ...
63
+ def get_virtual_component_ids(config: dict[str, Any], platform: str) -> list[str]: ...
64
+ def async_remove_orphaned_virtual_entities(hass: HomeAssistant, config_entry_id: str, mac: str, platform: str, virt_comp_type: str, virt_comp_ids: list[str]) -> None: ...
@@ -11,7 +11,7 @@ from typing import Any
11
11
 
12
12
  @dataclass(kw_only=True, frozen=True)
13
13
  class BlockValveDescription(BlockEntityDescription, ValveEntityDescription):
14
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, reports_position, unit_fn, value, available, removal_condition, extra_state_attributes) -> None: ...
14
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., reports_position=..., unit_fn=..., value=..., available=..., removal_condition=..., extra_state_attributes=...) -> None: ...
15
15
 
16
16
  GAS_VALVE: Incomplete
17
17
 
@@ -15,7 +15,7 @@ from simplipy.system import System as System
15
15
  @dataclass(frozen=True, kw_only=True)
16
16
  class SimpliSafeButtonDescription(ButtonEntityDescription):
17
17
  push_action: Callable[[System], Awaitable]
18
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, push_action) -> None: ...
18
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., push_action) -> None: ...
19
19
 
20
20
  BUTTON_KIND_CLEAR_NOTIFICATIONS: str
21
21
 
@@ -1,3 +1,4 @@
1
- from _typeshed import Incomplete
1
+ from simplipy.system.v2 import SystemV2
2
+ from simplipy.system.v3 import SystemV3
2
3
 
3
- SystemType: Incomplete
4
+ SystemType = SystemV2 | SystemV3
@@ -28,7 +28,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
28
28
 
29
29
  class SirenEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
30
30
  available_tones: list[int | str] | dict[int, str] | None
31
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, available_tones) -> None: ...
31
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., available_tones=...) -> None: ...
32
32
 
33
33
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
34
34
 
@@ -10,11 +10,11 @@ ATTR_DURATION: Final[str]
10
10
  ATTR_VOLUME_LEVEL: Final[str]
11
11
 
12
12
  class SirenEntityFeature(IntFlag):
13
- TURN_ON: int
14
- TURN_OFF: int
15
- TONES: int
16
- VOLUME_SET: int
17
- DURATION: int
13
+ TURN_ON = 1
14
+ TURN_OFF = 2
15
+ TONES = 4
16
+ VOLUME_SET = 8
17
+ DURATION = 16
18
18
 
19
19
  _DEPRECATED_SUPPORT_TURN_ON: Final[Incomplete]
20
20
  _DEPRECATED_SUPPORT_TURN_OFF: Final[Incomplete]
@@ -13,7 +13,7 @@ from homeassistant.helpers.typing import StateType as StateType
13
13
  @dataclass(frozen=True, kw_only=True)
14
14
  class SkybellSensorEntityDescription(SensorEntityDescription):
15
15
  value_fn: Callable[[SkybellDevice], StateType | datetime]
16
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value_fn) -> None: ...
16
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
17
17
 
18
18
  SENSOR_TYPES: tuple[SkybellSensorEntityDescription, ...]
19
19
 
@@ -14,7 +14,7 @@ from typing import Any
14
14
  @dataclass(frozen=True, kw_only=True)
15
15
  class SleepIQButtonEntityDescription(ButtonEntityDescription):
16
16
  press_action: Callable[[SleepIQBed], Any]
17
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, press_action) -> None: ...
17
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., press_action) -> None: ...
18
18
 
19
19
  ENTITY_DESCRIPTIONS: Incomplete
20
20
 
@@ -9,7 +9,7 @@ from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
9
9
  from homeassistant.helpers.entity import Entity as Entity
10
10
  from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
11
11
 
12
- _DataCoordinatorType: Incomplete
12
+ _DataCoordinatorType = SleepIQDataUpdateCoordinator | SleepIQPauseUpdateCoordinator
13
13
 
14
14
  def device_from_bed(bed: SleepIQBed) -> DeviceInfo: ...
15
15
  def sleeper_for_side(bed: SleepIQBed, side: str) -> SleepIQSleeper: ...
@@ -17,7 +17,7 @@ class SleepIQNumberEntityDescription(NumberEntityDescription):
17
17
  set_value_fn: Callable[[Any, int], Coroutine[None, None, None]]
18
18
  get_name_fn: Callable[[SleepIQBed, Any], str]
19
19
  get_unique_id_fn: Callable[[SleepIQBed, Any], str]
20
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, max_value, min_value, mode, native_max_value, native_min_value, native_step, native_unit_of_measurement, step, value_fn, set_value_fn, get_name_fn, get_unique_id_fn) -> None: ...
20
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., max_value=..., min_value=..., mode=..., native_max_value=..., native_min_value=..., native_step=..., native_unit_of_measurement=..., step=..., value_fn, set_value_fn, get_name_fn, get_unique_id_fn) -> None: ...
21
21
 
22
22
  async def _async_set_firmness(sleeper: SleepIQSleeper, firmness: int) -> None: ...
23
23
  async def _async_set_actuator_position(actuator: SleepIQActuator, position: int) -> None: ...
@@ -23,6 +23,7 @@ class SnoozFan(FanEntity, RestoreEntity):
23
23
  _attr_should_poll: bool
24
24
  _is_on: bool | None
25
25
  _percentage: int | None
26
+ _enable_turn_on_off_backwards_compatibility: bool
26
27
  _device: Incomplete
27
28
  _attr_unique_id: Incomplete
28
29
  _attr_device_info: Incomplete
@@ -20,7 +20,7 @@ class SonarrSensorEntityDescriptionMixIn(Generic[SonarrDataT]):
20
20
 
21
21
  @dataclass(frozen=True)
22
22
  class SonarrSensorEntityDescription(SensorEntityDescription, SonarrSensorEntityDescriptionMixIn[SonarrDataT]):
23
- def __init__(self, attributes_fn, value_fn, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement) -> None: ...
23
+ def __init__(self, attributes_fn, value_fn, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=...) -> None: ...
24
24
 
25
25
  def get_disk_space_attr(disks: list[Diskspace]) -> dict[str, str]: ...
26
26
  def get_queue_attr(queue: SonarrQueue) -> dict[str, str]: ...
@@ -16,7 +16,7 @@ from typing import Any
16
16
  @dataclass(frozen=True)
17
17
  class SpeedtestSensorEntityDescription(SensorEntityDescription):
18
18
  value: Callable = ...
19
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value) -> None: ...
19
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value=...) -> None: ...
20
20
 
21
21
  SENSOR_TYPES: tuple[SpeedtestSensorEntityDescription, ...]
22
22
 
@@ -71,7 +71,7 @@ class SsdpServiceInfo(BaseServiceInfo):
71
71
  ssdp_headers: Mapping[str, Any] = ...
72
72
  ssdp_all_locations: set[str] = ...
73
73
  x_homeassistant_matching_domains: set[str] = ...
74
- def __init__(self, ssdp_usn, ssdp_st, upnp, ssdp_location, ssdp_nt, ssdp_udn, ssdp_ext, ssdp_server, ssdp_headers, ssdp_all_locations, x_homeassistant_matching_domains) -> None: ...
74
+ def __init__(self, ssdp_usn, ssdp_st, upnp, ssdp_location=..., ssdp_nt=..., ssdp_udn=..., ssdp_ext=..., ssdp_server=..., ssdp_headers=..., ssdp_all_locations=..., x_homeassistant_matching_domains=...) -> None: ...
75
75
 
76
76
  SsdpChange: Incomplete
77
77
  SsdpHassJobCallback: Incomplete
@@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
15
15
  @dataclass(frozen=True, kw_only=True)
16
16
  class StarlinkBinarySensorEntityDescription(BinarySensorEntityDescription):
17
17
  value_fn: Callable[[StarlinkData], bool | None]
18
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, value_fn) -> None: ...
18
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., value_fn) -> None: ...
19
19
 
20
20
  class StarlinkBinarySensorEntity(StarlinkEntity, BinarySensorEntity):
21
21
  entity_description: StarlinkBinarySensorEntityDescription
@@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
15
15
  @dataclass(frozen=True, kw_only=True)
16
16
  class StarlinkButtonEntityDescription(ButtonEntityDescription):
17
17
  press_fn: Callable[[StarlinkUpdateCoordinator], Awaitable[None]]
18
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, press_fn) -> None: ...
18
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., press_fn) -> None: ...
19
19
 
20
20
  class StarlinkButtonEntity(StarlinkEntity, ButtonEntity):
21
21
  entity_description: StarlinkButtonEntityDescription
@@ -18,7 +18,7 @@ class StarlinkDeviceTrackerEntityDescription(EntityDescription):
18
18
  latitude_fn: Callable[[StarlinkData], float]
19
19
  longitude_fn: Callable[[StarlinkData], float]
20
20
  altitude_fn: Callable[[StarlinkData], float]
21
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, latitude_fn, longitude_fn, altitude_fn) -> None: ...
21
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., latitude_fn, longitude_fn, altitude_fn) -> None: ...
22
22
 
23
23
  DEVICE_TRACKERS: Incomplete
24
24
 
@@ -17,7 +17,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
17
17
  @dataclass(frozen=True, kw_only=True)
18
18
  class StarlinkSensorEntityDescription(SensorEntityDescription):
19
19
  value_fn: Callable[[StarlinkData], datetime | StateType]
20
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value_fn) -> None: ...
20
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
21
21
 
22
22
  class StarlinkSensorEntity(StarlinkEntity, SensorEntity):
23
23
  entity_description: StarlinkSensorEntityDescription
@@ -17,7 +17,7 @@ class StarlinkSwitchEntityDescription(SwitchEntityDescription):
17
17
  value_fn: Callable[[StarlinkData], bool | None]
18
18
  turn_on_fn: Callable[[StarlinkUpdateCoordinator], Awaitable[None]]
19
19
  turn_off_fn: Callable[[StarlinkUpdateCoordinator], Awaitable[None]]
20
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, value_fn, turn_on_fn, turn_off_fn) -> None: ...
20
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., value_fn, turn_on_fn, turn_off_fn) -> None: ...
21
21
 
22
22
  class StarlinkSwitchEntity(StarlinkEntity, SwitchEntity):
23
23
  entity_description: StarlinkSwitchEntityDescription
@@ -18,7 +18,7 @@ class StarlinkTimeEntityDescription(TimeEntityDescription):
18
18
  value_fn: Callable[[StarlinkData, tzinfo], time | None]
19
19
  update_fn: Callable[[StarlinkUpdateCoordinator, time], Awaitable[None]]
20
20
  available_fn: Callable[[StarlinkData], bool]
21
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, value_fn, update_fn, available_fn) -> None: ...
21
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., value_fn, update_fn, available_fn) -> None: ...
22
22
 
23
23
  class StarlinkTimeEntity(StarlinkEntity, TimeEntity):
24
24
  entity_description: StarlinkTimeEntityDescription
@@ -18,7 +18,7 @@ UNIT_MAPPINGS: Incomplete
18
18
  @dataclass(frozen=True, kw_only=True)
19
19
  class SteamistSensorEntityDescription(SensorEntityDescription):
20
20
  value_fn: Callable[[SteamistStatus], int | None]
21
- def __init__(self, *, key, device_class, entity_category, entity_registry_enabled_default, entity_registry_visible_default, force_update, icon, has_entity_name, name, translation_key, translation_placeholders, unit_of_measurement, last_reset, native_unit_of_measurement, options, state_class, suggested_display_precision, suggested_unit_of_measurement, value_fn) -> None: ...
21
+ def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
22
22
 
23
23
  SENSORS: tuple[SteamistSensorEntityDescription, ...]
24
24
 
@@ -20,14 +20,14 @@ _LOGGER: Incomplete
20
20
  PROVIDERS: Registry[str, type[StreamOutput]]
21
21
 
22
22
  class Orientation(IntEnum):
23
- NO_TRANSFORM: int
24
- MIRROR: int
25
- ROTATE_180: int
26
- FLIP: int
27
- ROTATE_LEFT_AND_FLIP: int
28
- ROTATE_LEFT: int
29
- ROTATE_RIGHT_AND_FLIP: int
30
- ROTATE_RIGHT: int
23
+ NO_TRANSFORM = 1
24
+ MIRROR = 2
25
+ ROTATE_180 = 3
26
+ FLIP = 4
27
+ ROTATE_LEFT_AND_FLIP = 5
28
+ ROTATE_LEFT = 6
29
+ ROTATE_RIGHT_AND_FLIP = 7
30
+ ROTATE_RIGHT = 8
31
31
 
32
32
  @dataclass(slots=True)
33
33
  class StreamSettings:
@@ -71,7 +71,7 @@ class Segment:
71
71
  def get_data(self) -> bytes: ...
72
72
  def _render_hls_template(self, last_stream_id: int, render_parts: bool) -> str: ...
73
73
  def render_hls(self, last_stream_id: int, render_parts: bool, add_hint: bool) -> str: ...
74
- def __init__(self, sequence, init, stream_id, start_time, _stream_outputs, duration, parts, hls_playlist_template, hls_playlist_parts, hls_num_parts_rendered, hls_playlist_complete) -> None: ...
74
+ def __init__(self, sequence, init, stream_id, start_time, _stream_outputs, duration=..., parts=..., hls_playlist_template=..., hls_playlist_parts=..., hls_num_parts_rendered=..., hls_playlist_complete=...) -> None: ...
75
75
 
76
76
  class IdleTimer:
77
77
  _hass: Incomplete
@@ -1,8 +1,8 @@
1
1
  from .core import Orientation as Orientation
2
2
  from _typeshed import Incomplete
3
+ from collections.abc import Generator
3
4
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
4
5
  from io import BufferedIOBase
5
- from typing_extensions import Generator
6
6
 
7
7
  def find_box(mp4_bytes: bytes, target_type: bytes, box_start: int = 0) -> Generator[int]: ...
8
8
  def get_codec_string(mp4_bytes: bytes) -> str: ...
@@ -6,12 +6,11 @@ from .diagnostics import Diagnostics as Diagnostics
6
6
  from .fmp4utils import read_init as read_init
7
7
  from .hls import HlsStreamOutput as HlsStreamOutput
8
8
  from _typeshed import Incomplete
9
- from collections.abc import Callable as Callable, Iterator, Mapping
9
+ from collections.abc import Callable as Callable, Generator, Iterator, Mapping
10
10
  from homeassistant.core import HomeAssistant as HomeAssistant
11
11
  from io import BytesIO
12
12
  from threading import Event
13
13
  from typing import Any, Self
14
- from typing_extensions import Generator
15
14
 
16
15
  _LOGGER: Incomplete
17
16
  NEGATIVE_INF: Incomplete
@@ -1,6 +1,5 @@
1
1
  from .coordinator import StreamlabsCoordinator as StreamlabsCoordinator, StreamlabsData as StreamlabsData
2
2
  from _typeshed import Incomplete
3
- from homeassistant.core import DOMAIN as DOMAIN
4
3
  from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
5
4
  from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
6
5