homeassistant-stubs 2024.10.2__py3-none-any.whl → 2024.10.3__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 (273) hide show
  1. homeassistant-stubs/auth/__init__.pyi +0 -3
  2. homeassistant-stubs/auth/mfa_modules/notify.pyi +0 -1
  3. homeassistant-stubs/auth/permissions/types.pyi +0 -7
  4. homeassistant-stubs/auth/permissions/util.pyi +0 -3
  5. homeassistant-stubs/auth/providers/trusted_networks.pyi +0 -3
  6. homeassistant-stubs/components/accuweather/__init__.pyi +0 -1
  7. homeassistant-stubs/components/acmeda/__init__.pyi +0 -1
  8. homeassistant-stubs/components/adguard/__init__.pyi +0 -1
  9. homeassistant-stubs/components/aftership/__init__.pyi +0 -2
  10. homeassistant-stubs/components/airgradient/__init__.pyi +0 -1
  11. homeassistant-stubs/components/airly/__init__.pyi +0 -1
  12. homeassistant-stubs/components/airnow/__init__.pyi +0 -1
  13. homeassistant-stubs/components/airthings/__init__.pyi +0 -3
  14. homeassistant-stubs/components/airtouch5/__init__.pyi +0 -2
  15. homeassistant-stubs/components/airvisual/__init__.pyi +0 -1
  16. homeassistant-stubs/components/airvisual_pro/__init__.pyi +0 -1
  17. homeassistant-stubs/components/airzone/__init__.pyi +0 -1
  18. homeassistant-stubs/components/airzone_cloud/__init__.pyi +0 -1
  19. homeassistant-stubs/components/alarm_control_panel/__init__.pyi +1 -0
  20. homeassistant-stubs/components/amberelectric/__init__.pyi +0 -2
  21. homeassistant-stubs/components/ambient_network/__init__.pyi +0 -1
  22. homeassistant-stubs/components/ambient_station/__init__.pyi +0 -1
  23. homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
  24. homeassistant-stubs/components/androidtv/entity.pyi +0 -2
  25. homeassistant-stubs/components/anova/models.pyi +0 -2
  26. homeassistant-stubs/components/anthemav/__init__.pyi +0 -1
  27. homeassistant-stubs/components/apcupsd/__init__.pyi +0 -1
  28. homeassistant-stubs/components/apple_tv/__init__.pyi +0 -1
  29. homeassistant-stubs/components/apsystems/__init__.pyi +0 -1
  30. homeassistant-stubs/components/arcam_fmj/__init__.pyi +0 -1
  31. homeassistant-stubs/components/assist_pipeline/pipeline.pyi +1 -2
  32. homeassistant-stubs/components/assist_satellite/entity.pyi +1 -0
  33. homeassistant-stubs/components/asuswrt/__init__.pyi +0 -1
  34. homeassistant-stubs/components/asuswrt/bridge.pyi +1 -3
  35. homeassistant-stubs/components/autarco/__init__.pyi +0 -1
  36. homeassistant-stubs/components/auth/__init__.pyi +0 -3
  37. homeassistant-stubs/components/axis/__init__.pyi +0 -1
  38. homeassistant-stubs/components/baf/__init__.pyi +0 -2
  39. homeassistant-stubs/components/binary_sensor/__init__.pyi +1 -0
  40. homeassistant-stubs/components/bluesound/__init__.pyi +0 -1
  41. homeassistant-stubs/components/bluetooth/models.pyi +0 -4
  42. homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +0 -1
  43. homeassistant-stubs/components/bond/__init__.pyi +0 -1
  44. homeassistant-stubs/components/braviatv/coordinator.pyi +1 -1
  45. homeassistant-stubs/components/brother/__init__.pyi +0 -1
  46. homeassistant-stubs/components/bryant_evolution/__init__.pyi +0 -2
  47. homeassistant-stubs/components/bthome/types.pyi +0 -2
  48. homeassistant-stubs/components/button/__init__.pyi +1 -0
  49. homeassistant-stubs/components/calendar/__init__.pyi +1 -0
  50. homeassistant-stubs/components/calendar/trigger.pyi +1 -3
  51. homeassistant-stubs/components/camera/__init__.pyi +1 -2
  52. homeassistant-stubs/components/canary/sensor.pyi +0 -1
  53. homeassistant-stubs/components/cert_expiry/__init__.pyi +0 -1
  54. homeassistant-stubs/components/climate/__init__.pyi +1 -0
  55. homeassistant-stubs/components/cloud/http_api.pyi +1 -1
  56. homeassistant-stubs/components/co2signal/__init__.pyi +0 -1
  57. homeassistant-stubs/components/configurator/__init__.pyi +0 -2
  58. homeassistant-stubs/components/cover/__init__.pyi +1 -0
  59. homeassistant-stubs/components/date/__init__.pyi +1 -0
  60. homeassistant-stubs/components/datetime/__init__.pyi +1 -0
  61. homeassistant-stubs/components/deako/__init__.pyi +0 -2
  62. homeassistant-stubs/components/deconz/entity.pyi +0 -5
  63. homeassistant-stubs/components/device_automation/__init__.pyi +0 -2
  64. homeassistant-stubs/components/device_tracker/config_entry.pyi +2 -0
  65. homeassistant-stubs/components/devolo_home_control/__init__.pyi +0 -3
  66. homeassistant-stubs/components/devolo_home_network/__init__.pyi +0 -1
  67. homeassistant-stubs/components/devolo_home_network/entity.pyi +0 -4
  68. homeassistant-stubs/components/discovergy/__init__.pyi +0 -1
  69. homeassistant-stubs/components/dlna_dmr/config_flow.pyi +0 -1
  70. homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
  71. homeassistant-stubs/components/doorbird/models.pyi +0 -2
  72. homeassistant-stubs/components/dsmr/__init__.pyi +0 -1
  73. homeassistant-stubs/components/duotecno/entity.pyi +1 -1
  74. homeassistant-stubs/components/ecovacs/__init__.pyi +0 -1
  75. homeassistant-stubs/components/ecowitt/__init__.pyi +0 -2
  76. homeassistant-stubs/components/efergy/__init__.pyi +0 -2
  77. homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -1
  78. homeassistant-stubs/components/elgato/__init__.pyi +0 -1
  79. homeassistant-stubs/components/elkm1/__init__.pyi +0 -1
  80. homeassistant-stubs/components/energy/data.pyi +0 -1
  81. homeassistant-stubs/components/energy/types.pyi +0 -2
  82. homeassistant-stubs/components/energy/websocket_api.pyi +0 -4
  83. homeassistant-stubs/components/enigma2/__init__.pyi +0 -1
  84. homeassistant-stubs/components/enphase_envoy/coordinator.pyi +0 -1
  85. homeassistant-stubs/components/esphome/entity.pyi +1 -1
  86. homeassistant-stubs/components/esphome/entry_data.pyi +0 -1
  87. homeassistant-stubs/components/event/__init__.pyi +1 -0
  88. homeassistant-stubs/components/evil_genius_labs/util.pyi +1 -1
  89. homeassistant-stubs/components/fan/__init__.pyi +1 -0
  90. homeassistant-stubs/components/feedreader/__init__.pyi +0 -1
  91. homeassistant-stubs/components/filesize/__init__.pyi +0 -2
  92. homeassistant-stubs/components/forecast_solar/__init__.pyi +0 -1
  93. homeassistant-stubs/components/fritzbox/coordinator.pyi +0 -2
  94. homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +0 -1
  95. homeassistant-stubs/components/fronius/__init__.pyi +0 -1
  96. homeassistant-stubs/components/fronius/const.pyi +0 -1
  97. homeassistant-stubs/components/fujitsu_fglair/__init__.pyi +0 -1
  98. homeassistant-stubs/components/fyta/__init__.pyi +0 -1
  99. homeassistant-stubs/components/gios/__init__.pyi +0 -1
  100. homeassistant-stubs/components/glances/__init__.pyi +0 -1
  101. homeassistant-stubs/components/goalzero/coordinator.pyi +0 -2
  102. homeassistant-stubs/components/google_photos/types.pyi +0 -2
  103. homeassistant-stubs/components/google_sheets/__init__.pyi +0 -1
  104. homeassistant-stubs/components/gpsd/__init__.pyi +0 -2
  105. homeassistant-stubs/components/greeneye_monitor/sensor.pyi +0 -2
  106. homeassistant-stubs/components/history_stats/__init__.pyi +0 -2
  107. homeassistant-stubs/components/homekit/models.pyi +0 -2
  108. homeassistant-stubs/components/homekit_controller/utils.pyi +0 -2
  109. homeassistant-stubs/components/homewizard/__init__.pyi +0 -2
  110. homeassistant-stubs/components/http/data_validator.pyi +1 -1
  111. homeassistant-stubs/components/http/decorators.pyi +0 -5
  112. homeassistant-stubs/components/huawei_lte/device_tracker.pyi +0 -1
  113. homeassistant-stubs/components/humidifier/__init__.pyi +1 -0
  114. homeassistant-stubs/components/husqvarna_automower/__init__.pyi +0 -1
  115. homeassistant-stubs/components/ibeacon/__init__.pyi +0 -2
  116. homeassistant-stubs/components/image/__init__.pyi +1 -0
  117. homeassistant-stubs/components/image_processing/__init__.pyi +1 -0
  118. homeassistant-stubs/components/imap/__init__.pyi +0 -1
  119. homeassistant-stubs/components/imgw_pib/__init__.pyi +0 -1
  120. homeassistant-stubs/components/intent/timers.pyi +0 -1
  121. homeassistant-stubs/components/iotty/__init__.pyi +0 -1
  122. homeassistant-stubs/components/ipp/__init__.pyi +0 -1
  123. homeassistant-stubs/components/ipp/sensor.pyi +0 -1
  124. homeassistant-stubs/components/islamic_prayer_times/__init__.pyi +0 -1
  125. homeassistant-stubs/components/jellyfin/__init__.pyi +0 -2
  126. homeassistant-stubs/components/jvc_projector/__init__.pyi +0 -1
  127. homeassistant-stubs/components/knocki/__init__.pyi +0 -1
  128. homeassistant-stubs/components/knx/const.pyi +0 -4
  129. homeassistant-stubs/components/knx/websocket.pyi +1 -5
  130. homeassistant-stubs/components/kraken/const.pyi +1 -1
  131. homeassistant-stubs/components/lamarzocco/__init__.pyi +0 -1
  132. homeassistant-stubs/components/lawn_mower/__init__.pyi +1 -0
  133. homeassistant-stubs/components/lcn/helpers.pyi +0 -3
  134. homeassistant-stubs/components/lcn/websocket.pyi +1 -3
  135. homeassistant-stubs/components/lektrico/__init__.pyi +0 -1
  136. homeassistant-stubs/components/lidarr/__init__.pyi +0 -1
  137. homeassistant-stubs/components/light/__init__.pyi +1 -0
  138. homeassistant-stubs/components/linkplay/__init__.pyi +0 -1
  139. homeassistant-stubs/components/litterrobot/__init__.pyi +0 -1
  140. homeassistant-stubs/components/local_todo/__init__.pyi +0 -1
  141. homeassistant-stubs/components/lock/__init__.pyi +1 -0
  142. homeassistant-stubs/components/madvr/__init__.pyi +0 -1
  143. homeassistant-stubs/components/mastodon/__init__.pyi +0 -1
  144. homeassistant-stubs/components/matter/models.pyi +0 -3
  145. homeassistant-stubs/components/matter/select.pyi +0 -2
  146. homeassistant-stubs/components/media_player/__init__.pyi +1 -0
  147. homeassistant-stubs/components/mikrotik/__init__.pyi +0 -1
  148. homeassistant-stubs/components/mopeka/__init__.pyi +0 -1
  149. homeassistant-stubs/components/mqtt/__init__.pyi +0 -2
  150. homeassistant-stubs/components/mqtt/client.pyi +0 -2
  151. homeassistant-stubs/components/mqtt/models.pyi +0 -3
  152. homeassistant-stubs/components/mysensors/const.pyi +0 -5
  153. homeassistant-stubs/components/myuplink/__init__.pyi +0 -1
  154. homeassistant-stubs/components/nam/__init__.pyi +0 -1
  155. homeassistant-stubs/components/nanoleaf/__init__.pyi +0 -1
  156. homeassistant-stubs/components/nextdns/__init__.pyi +0 -2
  157. homeassistant-stubs/components/notify/__init__.pyi +1 -0
  158. homeassistant-stubs/components/number/__init__.pyi +1 -0
  159. homeassistant-stubs/components/nut/__init__.pyi +0 -1
  160. homeassistant-stubs/components/oncue/types.pyi +0 -3
  161. homeassistant-stubs/components/onewire/__init__.pyi +0 -1
  162. homeassistant-stubs/components/oralb/__init__.pyi +0 -1
  163. homeassistant-stubs/components/otbr/__init__.pyi +0 -1
  164. homeassistant-stubs/components/pi_hole/__init__.pyi +0 -1
  165. homeassistant-stubs/components/ping/__init__.pyi +0 -1
  166. homeassistant-stubs/components/plugwise/__init__.pyi +0 -2
  167. homeassistant-stubs/components/plugwise/const.pyi +0 -3
  168. homeassistant-stubs/components/plugwise/util.pyi +1 -1
  169. homeassistant-stubs/components/powerwall/models.pyi +0 -2
  170. homeassistant-stubs/components/private_ble_device/coordinator.pyi +0 -3
  171. homeassistant-stubs/components/proximity/coordinator.pyi +0 -1
  172. homeassistant-stubs/components/radarr/__init__.pyi +0 -1
  173. homeassistant-stubs/components/rainmachine/__init__.pyi +0 -1
  174. homeassistant-stubs/components/rainmachine/switch.pyi +1 -1
  175. homeassistant-stubs/components/recorder/util.pyi +0 -5
  176. homeassistant-stubs/components/remote/__init__.pyi +1 -0
  177. homeassistant-stubs/components/renault/__init__.pyi +0 -1
  178. homeassistant-stubs/components/ring/__init__.pyi +0 -1
  179. homeassistant-stubs/components/ring/entity.pyi +1 -1
  180. homeassistant-stubs/components/roborock/__init__.pyi +0 -1
  181. homeassistant-stubs/components/roku/__init__.pyi +2 -1
  182. homeassistant-stubs/components/roku/browse_media.pyi +0 -2
  183. homeassistant-stubs/components/roku/config_flow.pyi +7 -2
  184. homeassistant-stubs/components/roku/const.pyi +2 -0
  185. homeassistant-stubs/components/roku/coordinator.pyi +2 -1
  186. homeassistant-stubs/components/roku/helpers.pyi +0 -4
  187. homeassistant-stubs/components/scrape/__init__.pyi +0 -1
  188. homeassistant-stubs/components/select/__init__.pyi +1 -0
  189. homeassistant-stubs/components/sensibo/__init__.pyi +0 -2
  190. homeassistant-stubs/components/sensor/__init__.pyi +1 -0
  191. homeassistant-stubs/components/sensoterra/__init__.pyi +0 -1
  192. homeassistant-stubs/components/senz/__init__.pyi +0 -2
  193. homeassistant-stubs/components/sfr_box/button.pyi +1 -1
  194. homeassistant-stubs/components/shelly/coordinator.pyi +0 -1
  195. homeassistant-stubs/components/simplisafe/typing.pyi +0 -4
  196. homeassistant-stubs/components/siren/__init__.pyi +1 -0
  197. homeassistant-stubs/components/sleepiq/entity.pyi +0 -2
  198. homeassistant-stubs/components/smlight/__init__.pyi +0 -1
  199. homeassistant-stubs/components/solarlog/__init__.pyi +0 -1
  200. homeassistant-stubs/components/speedtestdotnet/__init__.pyi +0 -1
  201. homeassistant-stubs/components/squeezebox/__init__.pyi +0 -1
  202. homeassistant-stubs/components/ssdp/__init__.pyi +0 -1
  203. homeassistant-stubs/components/sun/entity.pyi +0 -1
  204. homeassistant-stubs/components/switch/__init__.pyi +1 -0
  205. homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +0 -2
  206. homeassistant-stubs/components/switcher_kis/__init__.pyi +0 -1
  207. homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
  208. homeassistant-stubs/components/system_log/__init__.pyi +0 -1
  209. homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
  210. homeassistant-stubs/components/tailwind/typing.pyi +0 -2
  211. homeassistant-stubs/components/tautulli/__init__.pyi +0 -1
  212. homeassistant-stubs/components/tedee/__init__.pyi +0 -1
  213. homeassistant-stubs/components/text/__init__.pyi +1 -0
  214. homeassistant-stubs/components/time/__init__.pyi +1 -0
  215. homeassistant-stubs/components/tod/binary_sensor.pyi +0 -1
  216. homeassistant-stubs/components/tplink/__init__.pyi +0 -1
  217. homeassistant-stubs/components/tplink/entity.pyi +1 -1
  218. homeassistant-stubs/components/trace/__init__.pyi +0 -1
  219. homeassistant-stubs/components/tractive/__init__.pyi +0 -1
  220. homeassistant-stubs/components/transmission/__init__.pyi +0 -1
  221. homeassistant-stubs/components/tts/const.pyi +0 -1
  222. homeassistant-stubs/components/twentemilieu/__init__.pyi +0 -4
  223. homeassistant-stubs/components/unifi/__init__.pyi +0 -1
  224. homeassistant-stubs/components/unifiprotect/data.pyi +0 -2
  225. homeassistant-stubs/components/update/__init__.pyi +1 -0
  226. homeassistant-stubs/components/vacuum/__init__.pyi +1 -0
  227. homeassistant-stubs/components/velbus/entity.pyi +1 -1
  228. homeassistant-stubs/components/vlc_telnet/__init__.pyi +0 -1
  229. homeassistant-stubs/components/vlc_telnet/media_player.pyi +1 -1
  230. homeassistant-stubs/components/water_heater/__init__.pyi +1 -0
  231. homeassistant-stubs/components/weather/__init__.pyi +1 -0
  232. homeassistant-stubs/components/webostv/media_player.pyi +1 -1
  233. homeassistant-stubs/components/websocket_api/connection.pyi +0 -2
  234. homeassistant-stubs/components/websocket_api/const.pyi +1 -4
  235. homeassistant-stubs/components/wemo/__init__.pyi +1 -4
  236. homeassistant-stubs/components/wemo/coordinator.pyi +0 -2
  237. homeassistant-stubs/components/withings/__init__.pyi +0 -1
  238. homeassistant-stubs/components/wiz/__init__.pyi +0 -1
  239. homeassistant-stubs/components/wled/__init__.pyi +0 -1
  240. homeassistant-stubs/components/xiaomi_ble/types.pyi +0 -2
  241. homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +0 -2
  242. homeassistant-stubs/components/yalexs_ble/__init__.pyi +0 -1
  243. homeassistant-stubs/components/zwave_js/climate.pyi +1 -1
  244. homeassistant-stubs/components/zwave_js/services.pyi +0 -3
  245. homeassistant-stubs/config_entries.pyi +1 -1
  246. homeassistant-stubs/core.pyi +0 -3
  247. homeassistant-stubs/helpers/category_registry.pyi +0 -1
  248. homeassistant-stubs/helpers/collection.pyi +1 -3
  249. homeassistant-stubs/helpers/condition.pyi +0 -1
  250. homeassistant-stubs/helpers/config_entry_flow.pyi +1 -2
  251. homeassistant-stubs/helpers/device_registry.pyi +0 -1
  252. homeassistant-stubs/helpers/dispatcher.pyi +0 -1
  253. homeassistant-stubs/helpers/entity.pyi +2 -0
  254. homeassistant-stubs/helpers/entity_registry.pyi +1 -3
  255. homeassistant-stubs/helpers/event.pyi +0 -1
  256. homeassistant-stubs/helpers/floor_registry.pyi +0 -1
  257. homeassistant-stubs/helpers/http.pyi +0 -2
  258. homeassistant-stubs/helpers/intent.pyi +1 -3
  259. homeassistant-stubs/helpers/label_registry.pyi +0 -1
  260. homeassistant-stubs/helpers/registry.pyi +0 -2
  261. homeassistant-stubs/helpers/script.pyi +0 -3
  262. homeassistant-stubs/helpers/service_info/mqtt.pyi +0 -2
  263. homeassistant-stubs/helpers/significant_change.pyi +0 -3
  264. homeassistant-stubs/helpers/singleton.pyi +0 -2
  265. homeassistant-stubs/helpers/sun.pyi +0 -2
  266. homeassistant-stubs/helpers/typing.pyi +0 -13
  267. homeassistant-stubs/util/json.pyi +0 -3
  268. homeassistant-stubs/util/variance.pyi +1 -1
  269. homeassistant-stubs/util/yaml/loader.pyi +0 -1
  270. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/METADATA +2 -2
  271. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/RECORD +273 -273
  272. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/WHEEL +0 -0
  273. {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/licenses/LICENSE +0 -0
@@ -21,7 +21,6 @@ SERVICE_SEEN_SCHEMA = _SERVICE_UID_SCHEMA
21
21
  SERVICE_MOVE_SCHEMA: Incomplete
22
22
  SERVICE_DELETE_SCHEMA = _SERVICE_UID_SCHEMA
23
23
  SERVICE_FETCH_TEXT_SCHEMA = _SERVICE_UID_SCHEMA
24
- ImapConfigEntry = ConfigEntry[ImapDataUpdateCoordinator]
25
24
 
26
25
  async def async_get_imap_client(hass: HomeAssistant, entry_id: str) -> IMAP4_SSL: ...
27
26
  def raise_on_error(response: Response, translation_key: str) -> None: ...
@@ -10,7 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
10
10
 
11
11
  PLATFORMS: list[Platform]
12
12
  _LOGGER: Incomplete
13
- ImgwPibConfigEntry = ConfigEntry[ImgwPibData]
14
13
 
15
14
  @dataclass
16
15
  class ImgwPibData:
@@ -53,7 +53,6 @@ class TimerEventType(StrEnum):
53
53
  UPDATED = 'updated'
54
54
  CANCELLED = 'cancelled'
55
55
  FINISHED = 'finished'
56
- TimerHandler = Callable[[TimerEventType, TimerInfo], None]
57
56
 
58
57
  class TimerNotFoundError(intent.IntentHandleError):
59
58
  def __init__(self) -> None: ...
@@ -9,7 +9,6 @@ from iottycloud.device import Device as Device
9
9
 
10
10
  _LOGGER: Incomplete
11
11
  PLATFORMS: list[Platform]
12
- IottyConfigEntry = ConfigEntry[IottyConfigEntryData]
13
12
 
14
13
  @dataclass
15
14
  class IottyConfigEntryData:
@@ -6,7 +6,6 @@ from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT,
6
6
  from homeassistant.core import HomeAssistant as HomeAssistant
7
7
 
8
8
  PLATFORMS: Incomplete
9
- IPPConfigEntry = ConfigEntry[IPPDataUpdateCoordinator]
10
9
 
11
10
  async def async_setup_entry(hass: HomeAssistant, entry: IPPConfigEntry) -> bool: ...
12
11
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -9,7 +9,6 @@ from homeassistant.const import ATTR_LOCATION as ATTR_LOCATION, EntityCategory a
9
9
  from homeassistant.core import HomeAssistant as HomeAssistant
10
10
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
11
11
  from homeassistant.helpers.typing import StateType as StateType
12
- from homeassistant.util.dt import utcnow as utcnow
13
12
  from pyipp import Marker as Marker, Printer as Printer
14
13
  from typing import Any
15
14
 
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
6
6
 
7
7
  PLATFORMS: Incomplete
8
8
  _LOGGER: Incomplete
9
- IslamicPrayerTimesConfigEntry = ConfigEntry[IslamicPrayerDataUpdateCoordinator]
10
9
 
11
10
  async def async_setup_entry(hass: HomeAssistant, config_entry: IslamicPrayerTimesConfigEntry) -> bool: ...
12
11
  async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
@@ -7,8 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
7
7
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
8
8
  from homeassistant.helpers import device_registry as dr
9
9
 
10
- JellyfinConfigEntry = ConfigEntry[JellyfinData]
11
-
12
10
  async def async_setup_entry(hass: HomeAssistant, entry: JellyfinConfigEntry) -> bool: ...
13
11
  async def async_unload_entry(hass: HomeAssistant, entry: JellyfinConfigEntry) -> bool: ...
14
12
  async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: JellyfinConfigEntry, device_entry: dr.DeviceEntry) -> bool: ...
@@ -5,7 +5,6 @@ from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PA
5
5
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
6
6
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
7
7
 
8
- JVCConfigEntry = ConfigEntry[JvcProjectorDataUpdateCoordinator]
9
8
  PLATFORMS: Incomplete
10
9
 
11
10
  async def async_setup_entry(hass: HomeAssistant, entry: JVCConfigEntry) -> bool: ...
@@ -6,7 +6,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
6
6
  from knocki import Event as Event
7
7
 
8
8
  PLATFORMS: list[Platform]
9
- KnockiConfigEntry = ConfigEntry[KnockiCoordinator]
10
9
 
11
10
  async def async_setup_entry(hass: HomeAssistant, entry: KnockiConfigEntry) -> bool: ...
12
11
  async def async_unload_entry(hass: HomeAssistant, entry: KnockiConfigEntry) -> bool: ...
@@ -1,12 +1,10 @@
1
1
  from . import KNXModule as KNXModule
2
2
  from _typeshed import Incomplete
3
- from collections.abc import Awaitable, Callable
4
3
  from enum import Enum, StrEnum
5
4
  from homeassistant.components.climate import FAN_AUTO as FAN_AUTO, FAN_OFF as FAN_OFF, HVACAction as HVACAction, HVACMode as HVACMode
6
5
  from homeassistant.const import Platform as Platform
7
6
  from homeassistant.util.hass_dict import HassKey as HassKey
8
7
  from typing import Final, TypedDict
9
- from xknx.telegram import Telegram
10
8
 
11
9
  DOMAIN: Final[str]
12
10
  KNX_MODULE_KEY: HassKey[KNXModule]
@@ -50,8 +48,6 @@ CONF_SYNC_STATE: Final[str]
50
48
  DATA_HASS_CONFIG: Final[str]
51
49
  ATTR_COUNTER: Final[str]
52
50
  ATTR_SOURCE: Final[str]
53
- AsyncMessageCallbackType = Callable[[Telegram], Awaitable[None]]
54
- MessageCallbackType = Callable[[Telegram], None]
55
51
  SERVICE_KNX_SEND: Final[str]
56
52
  SERVICE_KNX_ATTR_PAYLOAD: Final[str]
57
53
  SERVICE_KNX_ATTR_TYPE: Final[str]
@@ -5,7 +5,6 @@ from .storage.const import CONF_DATA as CONF_DATA
5
5
  from .storage.entity_store_schema import CREATE_ENTITY_BASE_SCHEMA as CREATE_ENTITY_BASE_SCHEMA, UPDATE_ENTITY_BASE_SCHEMA as UPDATE_ENTITY_BASE_SCHEMA
6
6
  from .storage.entity_store_validation import EntityStoreValidationException as EntityStoreValidationException, EntityStoreValidationSuccess as EntityStoreValidationSuccess, validate_entity_data as validate_entity_data
7
7
  from .telegrams import SIGNAL_KNX_TELEGRAM as SIGNAL_KNX_TELEGRAM, TelegramDict as TelegramDict
8
- from collections.abc import Awaitable, Callable
9
8
  from homeassistant.components import panel_custom as panel_custom, websocket_api as websocket_api
10
9
  from homeassistant.components.http import StaticPathConfig as StaticPathConfig
11
10
  from homeassistant.const import CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_PLATFORM as CONF_PLATFORM
@@ -13,15 +12,12 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
13
12
  from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
14
13
  from homeassistant.helpers.typing import UNDEFINED as UNDEFINED
15
14
  from homeassistant.util.ulid import ulid_now as ulid_now
16
- from typing import Any, Final, overload
15
+ from typing import Final, overload
17
16
  from xknx.telegram import Telegram as Telegram
18
17
 
19
18
  URL_BASE: Final[str]
20
19
 
21
20
  async def register_panel(hass: HomeAssistant) -> None: ...
22
- KnxWebSocketCommandHandler = Callable[[HomeAssistant, KNXModule, websocket_api.ActiveConnection, dict[str, Any]], None]
23
- KnxAsyncWebSocketCommandHandler = Callable[[HomeAssistant, KNXModule, websocket_api.ActiveConnection, dict[str, Any]], Awaitable[None]]
24
-
25
21
  @overload
26
22
  def provide_knx(func: KnxAsyncWebSocketCommandHandler) -> websocket_api.const.AsyncWebSocketCommandHandler: ...
27
23
  @overload
@@ -10,7 +10,7 @@ class KrakenResponseEntry(TypedDict):
10
10
  low: tuple[float, float]
11
11
  high: tuple[float, float]
12
12
  opening_price: float
13
- KrakenResponse = dict[str, KrakenResponseEntry]
13
+
14
14
  DEFAULT_SCAN_INTERVAL: int
15
15
  DEFAULT_TRACKED_ASSET_PAIR: str
16
16
  DISPATCH_CONFIG_UPDATED: str
@@ -9,7 +9,6 @@ from homeassistant.helpers.httpx_client import get_async_client as get_async_cli
9
9
 
10
10
  PLATFORMS: Incomplete
11
11
  _LOGGER: Incomplete
12
- LaMarzoccoConfigEntry = ConfigEntry[LaMarzoccoUpdateCoordinator]
13
12
 
14
13
  async def async_setup_entry(hass: HomeAssistant, entry: LaMarzoccoConfigEntry) -> bool: ...
15
14
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -20,6 +20,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
20
20
 
21
21
  class LawnMowerEntityEntityDescription(EntityDescription, frozen_or_thawed=True):
22
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=...) -> None: ...
23
+ def __replace__(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=...) -> None: ...
23
24
 
24
25
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
25
26
 
@@ -5,9 +5,6 @@ from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, CONF_BINARY_SENSOR
5
5
  from homeassistant.core import HomeAssistant as HomeAssistant
6
6
  from homeassistant.helpers.typing import ConfigType as ConfigType
7
7
 
8
- AddressType = tuple[int, int, bool]
9
- DeviceConnectionType: Incomplete
10
- InputType: Incomplete
11
8
  PATTERN_ADDRESS: Incomplete
12
9
  DOMAIN_LOOKUP: Incomplete
13
10
 
@@ -1,7 +1,6 @@
1
1
  from .const import ADD_ENTITIES_CALLBACKS as ADD_ENTITIES_CALLBACKS, CONF_DOMAIN_DATA as CONF_DOMAIN_DATA, CONF_HARDWARE_SERIAL as CONF_HARDWARE_SERIAL, CONF_HARDWARE_TYPE as CONF_HARDWARE_TYPE, CONF_SOFTWARE_SERIAL as CONF_SOFTWARE_SERIAL, CONNECTION as CONNECTION, DOMAIN as DOMAIN
2
2
  from .helpers import DeviceConnectionType as DeviceConnectionType, async_update_device_config as async_update_device_config, generate_unique_id as generate_unique_id, get_device_config as get_device_config, get_device_connection as get_device_connection, get_resource as get_resource, purge_device_registry as purge_device_registry, purge_entity_registry as purge_entity_registry, register_lcn_address_devices as register_lcn_address_devices
3
3
  from .schemas import ADDRESS_SCHEMA as ADDRESS_SCHEMA, DOMAIN_DATA_BINARY_SENSOR as DOMAIN_DATA_BINARY_SENSOR, DOMAIN_DATA_CLIMATE as DOMAIN_DATA_CLIMATE, DOMAIN_DATA_COVER as DOMAIN_DATA_COVER, DOMAIN_DATA_LIGHT as DOMAIN_DATA_LIGHT, DOMAIN_DATA_SCENE as DOMAIN_DATA_SCENE, DOMAIN_DATA_SENSOR as DOMAIN_DATA_SENSOR, DOMAIN_DATA_SWITCH as DOMAIN_DATA_SWITCH
4
- from collections.abc import Awaitable, Callable
5
4
  from homeassistant.components import panel_custom as panel_custom, websocket_api as websocket_api
6
5
  from homeassistant.components.http import StaticPathConfig as StaticPathConfig
7
6
  from homeassistant.components.websocket_api import ActiveConnection as ActiveConnection, AsyncWebSocketCommandHandler as AsyncWebSocketCommandHandler
@@ -9,9 +8,8 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
9
8
  from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS, CONF_DEVICES as CONF_DEVICES, CONF_DOMAIN as CONF_DOMAIN, CONF_ENTITIES as CONF_ENTITIES, CONF_NAME as CONF_NAME, CONF_RESOURCE as CONF_RESOURCE
10
9
  from homeassistant.core import HomeAssistant as HomeAssistant
11
10
  from homeassistant.helpers import entity_registry as er
12
- from typing import Any, Final
11
+ from typing import Final
13
12
 
14
- AsyncLcnWebSocketCommandHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any], ConfigEntry], Awaitable[None]]
15
13
  URL_BASE: Final[str]
16
14
 
17
15
  async def register_panel_and_ws_api(hass: HomeAssistant) -> None: ...
@@ -5,7 +5,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
5
5
 
6
6
  CHARGERS_PLATFORMS: list[Platform]
7
7
  LB_DEVICES_PLATFORMS: list[Platform]
8
- LektricoConfigEntry = ConfigEntry[LektricoDeviceDataUpdateCoordinator]
9
8
 
10
9
  async def async_setup_entry(hass: HomeAssistant, entry: LektricoConfigEntry) -> bool: ...
11
10
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -8,7 +8,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
9
9
  from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType
10
10
 
11
- LidarrConfigEntry = ConfigEntry[LidarrData]
12
11
  PLATFORMS: Incomplete
13
12
 
14
13
  @dataclass(kw_only=True, slots=True)
@@ -144,6 +144,7 @@ class Profiles:
144
144
 
145
145
  class LightEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
146
146
  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=...) -> None: ...
147
+ def __replace__(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=...) -> None: ...
147
148
 
148
149
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
149
150
 
@@ -12,7 +12,6 @@ from linkplay.bridge import LinkPlayBridge as LinkPlayBridge
12
12
  class LinkPlayData:
13
13
  bridge: LinkPlayBridge
14
14
  def __init__(self, bridge) -> None: ...
15
- LinkPlayConfigEntry = ConfigEntry[LinkPlayData]
16
15
 
17
16
  async def async_setup_entry(hass: HomeAssistant, entry: LinkPlayConfigEntry) -> bool: ...
18
17
  async def async_unload_entry(hass: HomeAssistant, entry: LinkPlayConfigEntry) -> bool: ...
@@ -7,7 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
7
7
  from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
8
8
  from pylitterbot import Robot
9
9
 
10
- LitterRobotConfigEntry = ConfigEntry[LitterRobotHub]
11
10
  PLATFORMS_BY_TYPE: Incomplete
12
11
 
13
12
  def get_platforms_for_robots(robots: list[Robot]) -> set[Platform]: ...
@@ -8,7 +8,6 @@ from homeassistant.util import slugify as slugify
8
8
 
9
9
  PLATFORMS: list[Platform]
10
10
  STORAGE_PATH: str
11
- LocalTodoConfigEntry = ConfigEntry[LocalTodoListStore]
12
11
 
13
12
  async def async_setup_entry(hass: HomeAssistant, entry: LocalTodoConfigEntry) -> bool: ...
14
13
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -37,6 +37,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
37
37
 
38
38
  class LockEntityDescription(EntityDescription, frozen_or_thawed=True):
39
39
  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=...) -> None: ...
40
+ def __replace__(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=...) -> None: ...
40
41
 
41
42
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
42
43
 
@@ -5,7 +5,6 @@ from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT,
5
5
  from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
6
6
 
7
7
  PLATFORMS: list[Platform]
8
- MadVRConfigEntry = ConfigEntry[MadVRCoordinator]
9
8
  _LOGGER: Incomplete
10
9
 
11
10
  async def async_handle_unload(coordinator: MadVRCoordinator) -> None: ...
@@ -19,7 +19,6 @@ class MastodonData:
19
19
  account: dict
20
20
  coordinator: MastodonCoordinator
21
21
  def __init__(self, client, instance, account, coordinator) -> None: ...
22
- MastodonConfigEntry = ConfigEntry[MastodonData]
23
22
 
24
23
  async def async_setup_entry(hass: HomeAssistant, entry: MastodonConfigEntry) -> bool: ...
25
24
  async def async_unload_entry(hass: HomeAssistant, entry: MastodonConfigEntry) -> bool: ...
@@ -1,4 +1,3 @@
1
- from _typeshed import Incomplete
2
1
  from chip.clusters.Objects import Cluster as Cluster, ClusterAttributeDescriptor as ClusterAttributeDescriptor
3
2
  from dataclasses import dataclass
4
3
  from homeassistant.const import Platform as Platform
@@ -7,8 +6,6 @@ from matter_server.client.models.device_types import DeviceType as DeviceType
7
6
  from matter_server.client.models.node import MatterEndpoint as MatterEndpoint
8
7
  from typing import Any, TypedDict
9
8
 
10
- SensorValueTypes: Incomplete
11
-
12
9
  class MatterDeviceInfo(TypedDict):
13
10
  unique_id: str
14
11
  vendor_id: str
@@ -10,8 +10,6 @@ from homeassistant.const import EntityCategory as EntityCategory, Platform as Pl
10
10
  from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
11
11
  from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
12
12
 
13
- SelectCluster: Incomplete
14
-
15
13
  async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
16
14
 
17
15
  @dataclass(frozen=True)
@@ -78,6 +78,7 @@ class MediaPlayerEntityDescription(EntityDescription, frozen_or_thawed=True):
78
78
  device_class: MediaPlayerDeviceClass | None
79
79
  volume_step: float | None
80
80
  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=..., volume_step=...) -> None: ...
81
+ def __replace__(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=..., volume_step=...) -> None: ...
81
82
 
82
83
  CACHED_PROPERTIES_WITH_ATTR_: Incomplete
83
84
 
@@ -8,7 +8,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
8
8
  from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
9
9
 
10
10
  PLATFORMS: Incomplete
11
- MikrotikConfigEntry = ConfigEntry[MikrotikDataUpdateCoordinator]
12
11
 
13
12
  async def async_setup_entry(hass: HomeAssistant, config_entry: MikrotikConfigEntry) -> bool: ...
14
13
  async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
@@ -8,7 +8,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
8
8
 
9
9
  PLATFORMS: list[Platform]
10
10
  _LOGGER: Incomplete
11
- MopekaConfigEntry = ConfigEntry[PassiveBluetoothProcessorCoordinator]
12
11
 
13
12
  async def async_setup_entry(hass: HomeAssistant, entry: MopekaConfigEntry) -> bool: ...
14
13
  async def update_listener(hass: HomeAssistant, entry: MopekaConfigEntry) -> None: ...
@@ -44,8 +44,6 @@ async def async_check_config_schema(hass: HomeAssistant, config_yaml: ConfigType
44
44
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
45
45
  def websocket_mqtt_info(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
46
46
  async def websocket_subscribe(hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
47
- ConnectionStatusCallback = Callable[[bool], None]
48
-
49
47
  def async_subscribe_connection_status(hass: HomeAssistant, connection_status_callback: ConnectionStatusCallback) -> Callable[[], None]: ...
50
48
  def is_connected(hass: HomeAssistant) -> bool: ...
51
49
  async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: ConfigEntry, device_entry: DeviceEntry) -> bool: ...
@@ -34,8 +34,6 @@ MAX_WILDCARD_SUBSCRIBES_PER_CALL: int
34
34
  MAX_SUBSCRIBES_PER_CALL: int
35
35
  MAX_UNSUBSCRIBES_PER_CALL: int
36
36
  MAX_PACKETS_TO_READ: int
37
- SocketType: Incomplete
38
- SubscribePayloadType = str | bytes
39
37
 
40
38
  def publish(hass: HomeAssistant, topic: str, payload: PublishPayloadType, qos: int | None = 0, retain: bool | None = False, encoding: str | None = ...) -> None: ...
41
39
  async def async_publish(hass: HomeAssistant, topic: str, payload: PublishPayloadType, qos: int | None = 0, retain: bool | None = False, encoding: str | None = ...) -> None: ...
@@ -7,7 +7,6 @@ from .discovery import MQTTDiscoveryPayload as MQTTDiscoveryPayload
7
7
  from .tag import MQTTTagScanner as MQTTTagScanner
8
8
  from _typeshed import Incomplete
9
9
  from collections import deque
10
- from collections.abc import Callable
11
10
  from dataclasses import dataclass
12
11
  from enum import StrEnum
13
12
  from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_NAME as ATTR_NAME, Platform as Platform
@@ -27,7 +26,6 @@ class PayloadSentinel(StrEnum):
27
26
 
28
27
  _LOGGER: Incomplete
29
28
  ATTR_THIS: str
30
- PublishPayloadType = str | bytes | int | float | None
31
29
 
32
30
  def convert_outgoing_mqtt_payload(payload: PublishPayloadType) -> PublishPayloadType: ...
33
31
 
@@ -48,7 +46,6 @@ class ReceiveMessage:
48
46
  subscribed_topic: str
49
47
  timestamp: float
50
48
  def __init__(self, topic, payload, qos, retain, subscribed_topic, timestamp) -> None: ...
51
- MessageCallbackType = Callable[[ReceiveMessage], None]
52
49
 
53
50
  class SubscriptionDebugInfo(TypedDict):
54
51
  messages: deque[ReceiveMessage]
@@ -13,7 +13,6 @@ CONF_TOPIC_IN_PREFIX: Final[str]
13
13
  CONF_TOPIC_OUT_PREFIX: Final[str]
14
14
  CONF_VERSION: Final[str]
15
15
  CONF_GATEWAY_TYPE: Final[str]
16
- ConfGatewayType: Incomplete
17
16
  CONF_GATEWAY_TYPE_SERIAL: ConfGatewayType
18
17
  CONF_GATEWAY_TYPE_TCP: ConfGatewayType
19
18
  CONF_GATEWAY_TYPE_MQTT: ConfGatewayType
@@ -40,10 +39,6 @@ class NodeDiscoveryInfo(TypedDict):
40
39
  node_id: int
41
40
 
42
41
  SERVICE_SEND_IR_CODE: Final[str]
43
- SensorType = str
44
- ValueType = str
45
- GatewayId = str
46
- DevId = tuple[GatewayId, int, int, int]
47
42
  BINARY_SENSOR_TYPES: dict[SensorType, set[ValueType]]
48
43
  CLIMATE_TYPES: dict[SensorType, set[ValueType]]
49
44
  COVER_TYPES: dict[SensorType, set[ValueType]]
@@ -9,7 +9,6 @@ from homeassistant.helpers import aiohttp_client as aiohttp_client, config_entry
9
9
  from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
10
10
 
11
11
  PLATFORMS: list[Platform]
12
- MyUplinkConfigEntry = ConfigEntry[MyUplinkDataCoordinator]
13
12
 
14
13
  async def async_setup_entry(hass: HomeAssistant, config_entry: MyUplinkConfigEntry) -> bool: ...
15
14
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -9,7 +9,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
9
9
 
10
10
  _LOGGER: Incomplete
11
11
  PLATFORMS: Incomplete
12
- NAMConfigEntry = ConfigEntry[NAMDataUpdateCoordinator]
13
12
 
14
13
  async def async_setup_entry(hass: HomeAssistant, entry: NAMConfigEntry) -> bool: ...
15
14
  async def async_unload_entry(hass: HomeAssistant, entry: NAMConfigEntry) -> bool: ...
@@ -10,7 +10,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send as async_disp
10
10
 
11
11
  _LOGGER: Incomplete
12
12
  PLATFORMS: Incomplete
13
- NanoleafConfigEntry = ConfigEntry[NanoleafCoordinator]
14
13
 
15
14
  async def async_setup_entry(hass: HomeAssistant, entry: NanoleafConfigEntry) -> bool: ...
16
15
  async def async_unload_entry(hass: HomeAssistant, entry: NanoleafConfigEntry) -> bool: ...
@@ -10,8 +10,6 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
10
10
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
11
11
  from nextdns import AnalyticsDnssec as AnalyticsDnssec, AnalyticsEncryption as AnalyticsEncryption, AnalyticsIpVersions as AnalyticsIpVersions, AnalyticsProtocols as AnalyticsProtocols, AnalyticsStatus as AnalyticsStatus, ConnectionStatus as ConnectionStatus, Settings as Settings
12
12
 
13
- NextDnsConfigEntry = ConfigEntry[NextDnsData]
14
-
15
13
  @dataclass
16
14
  class NextDnsData:
17
15
  connection: NextDnsUpdateCoordinator[ConnectionStatus]
@@ -28,6 +28,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
28
28
 
29
29
  class NotifyEntityDescription(EntityDescription, frozen_or_thawed=True):
30
30
  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=...) -> None: ...
31
+ def __replace__(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=...) -> None: ...
31
32
 
32
33
  async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
33
34
  async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
@@ -24,6 +24,7 @@ class NumberEntityDescription(EntityDescription, frozen_or_thawed=True):
24
24
  step: None
25
25
  unit_of_measurement: None
26
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=..., max_value=..., min_value=..., mode=..., native_max_value=..., native_min_value=..., native_step=..., native_unit_of_measurement=..., step=...) -> None: ...
27
+ def __replace__(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=...) -> None: ...
27
28
 
28
29
  class NumberEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
29
30
  _entity_component_unrecorded_attributes: Incomplete
@@ -9,7 +9,6 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
9
9
 
10
10
  NUT_FAKE_SERIAL: Incomplete
11
11
  _LOGGER: Incomplete
12
- NutConfigEntry = ConfigEntry[NutRuntimeData]
13
12
 
14
13
  @dataclass
15
14
  class NutRuntimeData:
@@ -1,5 +1,2 @@
1
- from aiooncue import OncueDevice
2
1
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
3
2
  from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
4
-
5
- OncueConfigEntry = ConfigEntry[DataUpdateCoordinator[dict[str, OncueDevice]]]
@@ -7,7 +7,6 @@ from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
7
7
  from homeassistant.helpers import device_registry as dr
8
8
 
9
9
  _LOGGER: Incomplete
10
- OneWireConfigEntry = ConfigEntry[OneWireHub]
11
10
 
12
11
  async def async_setup_entry(hass: HomeAssistant, entry: OneWireConfigEntry) -> bool: ...
13
12
  async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: OneWireConfigEntry, device_entry: dr.DeviceEntry) -> bool: ...
@@ -8,7 +8,6 @@ from oralb_ble import SensorUpdate as SensorUpdate
8
8
 
9
9
  PLATFORMS: list[Platform]
10
10
  _LOGGER: Incomplete
11
- OralBConfigEntry = ConfigEntry[ActiveBluetoothProcessorCoordinator]
12
11
 
13
12
  async def async_setup_entry(hass: HomeAssistant, entry: OralBConfigEntry) -> bool: ...
14
13
  async def async_unload_entry(hass: HomeAssistant, entry: OralBConfigEntry) -> bool: ...
@@ -11,7 +11,6 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
11
11
 
12
12
  _LOGGER: Incomplete
13
13
  CONFIG_SCHEMA: Incomplete
14
- OTBRConfigEntry = ConfigEntry[OTBRData]
15
14
 
16
15
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
17
16
  async def async_setup_entry(hass: HomeAssistant, entry: OTBRConfigEntry) -> bool: ...
@@ -11,7 +11,6 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
11
11
 
12
12
  _LOGGER: Incomplete
13
13
  PLATFORMS: Incomplete
14
- PiHoleConfigEntry = ConfigEntry[PiHoleData]
15
14
 
16
15
  @dataclass
17
16
  class PiHoleData:
@@ -16,7 +16,6 @@ PLATFORMS: Incomplete
16
16
  class PingDomainData:
17
17
  privileged: bool | None
18
18
  def __init__(self, privileged) -> None: ...
19
- PingConfigEntry = ConfigEntry[PingUpdateCoordinator]
20
19
 
21
20
  async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
22
21
  async def async_setup_entry(hass: HomeAssistant, entry: PingConfigEntry) -> bool: ...
@@ -6,8 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
6
6
  from homeassistant.helpers import entity_registry as er
7
7
  from typing import Any
8
8
 
9
- PlugwiseConfigEntry = ConfigEntry[PlugwiseDataUpdateCoordinator]
10
-
11
9
  async def async_setup_entry(hass: HomeAssistant, entry: PlugwiseConfigEntry) -> bool: ...
12
10
  async def async_unload_entry(hass: HomeAssistant, entry: PlugwiseConfigEntry) -> bool: ...
13
11
  def async_migrate_entity_entry(entry: er.RegistryEntry) -> dict[str, Any] | None: ...
@@ -19,9 +19,6 @@ STRETCH: Final[str]
19
19
  STRETCH_USERNAME: Final[str]
20
20
  PLATFORMS: Final[list[str]]
21
21
  ZEROCONF_MAP: Final[dict[str, str]]
22
- NumberType: Incomplete
23
- SelectType: Incomplete
24
- SelectOptionsType: Incomplete
25
22
  DEFAULT_MAX_TEMP: Final[int]
26
23
  DEFAULT_MIN_TEMP: Final[int]
27
24
  DEFAULT_PORT: Final[int]
@@ -1,5 +1,5 @@
1
1
  from .entity import PlugwiseEntity as PlugwiseEntity
2
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
2
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
3
3
  from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
4
4
  from typing import Any, Concatenate
5
5
 
@@ -4,8 +4,6 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
4
4
  from tesla_powerwall import BatteryResponse as BatteryResponse, DeviceType as DeviceType, GridStatus as GridStatus, MetersAggregatesResponse as MetersAggregatesResponse, Powerwall as Powerwall, PowerwallStatusResponse as PowerwallStatusResponse, SiteInfoResponse as SiteInfoResponse, SiteMasterResponse as SiteMasterResponse
5
5
  from typing import TypedDict
6
6
 
7
- PowerwallConfigEntry = ConfigEntry[PowerwallRuntimeData]
8
-
9
7
  @dataclass
10
8
  class PowerwallBaseInfo:
11
9
  gateway_din: str
@@ -1,14 +1,11 @@
1
1
  from .const import DOMAIN as DOMAIN
2
2
  from _typeshed import Incomplete
3
- from collections.abc import Callable
4
3
  from cryptography.hazmat.primitives.ciphers import Cipher as Cipher
5
4
  from homeassistant.components import bluetooth as bluetooth
6
5
  from homeassistant.components.bluetooth.match import BluetoothCallbackMatcher as BluetoothCallbackMatcher
7
6
  from homeassistant.core import HomeAssistant as HomeAssistant
8
7
 
9
8
  _LOGGER: Incomplete
10
- UnavailableCallback: Incomplete
11
- Cancellable = Callable[[], None]
12
9
 
13
10
  def async_last_service_info(hass: HomeAssistant, irk: bytes) -> bluetooth.BluetoothServiceInfoBleak | None: ...
14
11
 
@@ -11,7 +11,6 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
11
11
  from homeassistant.util.location import distance as distance
12
12
 
13
13
  _LOGGER: Incomplete
14
- ProximityConfigEntry = ConfigEntry[ProximityDataUpdateCoordinator]
15
14
 
16
15
  @dataclass
17
16
  class StateChangedData:
@@ -7,7 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
7
7
  from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
8
8
 
9
9
  PLATFORMS: Incomplete
10
- RadarrConfigEntry = ConfigEntry[RadarrData]
11
10
 
12
11
  @dataclass(kw_only=True, slots=True)
13
12
  class RadarrData:
@@ -54,7 +54,6 @@ SERVICE_PUSH_FLOW_METER_DATA_SCHEMA: Incomplete
54
54
  SERVICE_PUSH_WEATHER_DATA_SCHEMA: Incomplete
55
55
  SERVICE_RESTRICT_WATERING_SCHEMA: Incomplete
56
56
  COORDINATOR_UPDATE_INTERVAL_MAP: Incomplete
57
- RainMachineConfigEntry = ConfigEntry[RainMachineData]
58
57
 
59
58
  @dataclass
60
59
  class RainMachineData:
@@ -3,7 +3,7 @@ from .const import CONF_ALLOW_INACTIVE_ZONES_TO_RUN as CONF_ALLOW_INACTIVE_ZONES
3
3
  from .entity import RainMachineEntity as RainMachineEntity, RainMachineEntityDescription as RainMachineEntityDescription
4
4
  from .util import RUN_STATE_MAP as RUN_STATE_MAP, key_exists as key_exists
5
5
  from _typeshed import Incomplete
6
- from collections.abc import Awaitable as Awaitable, Callable as Callable, Coroutine
6
+ from collections.abc import Awaitable, Callable as Callable, Coroutine
7
7
  from dataclasses import dataclass
8
8
  from homeassistant.components.switch import SwitchEntity as SwitchEntity, SwitchEntityDescription as SwitchEntityDescription
9
9
  from homeassistant.config_entries import ConfigEntry as ConfigEntry