homeassistant-stubs 2024.7.3__py3-none-any.whl → 2024.7.4__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.
@@ -92,7 +92,7 @@ class MQTT:
92
92
  async def _async_ha_stop(self, _event: Event) -> None: ...
93
93
  async def async_start(self, mqtt_data: MqttData) -> None: ...
94
94
  @property
95
- def subscriptions(self) -> list[Subscription]: ...
95
+ def subscriptions(self) -> set[Subscription]: ...
96
96
  def cleanup(self) -> None: ...
97
97
  async def _async_connect_in_executor(self) -> AsyncGenerator[None]: ...
98
98
  async def async_init_client(self) -> None: ...
@@ -113,7 +113,7 @@ class MQTT:
113
113
  def _async_cancel_reconnect(self) -> None: ...
114
114
  async def _reconnect_loop(self) -> None: ...
115
115
  async def async_disconnect(self, disconnect_paho_client: bool = False) -> None: ...
116
- def async_restore_tracked_subscriptions(self, subscriptions: list[Subscription]) -> None: ...
116
+ def async_restore_tracked_subscriptions(self, subscriptions: set[Subscription]) -> None: ...
117
117
  def _async_track_subscription(self, subscription: Subscription) -> None: ...
118
118
  def _async_untrack_subscription(self, subscription: Subscription) -> None: ...
119
119
  def _async_queue_subscriptions(self, subscriptions: Iterable[tuple[str, int]], queue_only: bool = False) -> None: ...
@@ -125,7 +125,7 @@ class MqttData:
125
125
  reload_handlers: dict[str, CALLBACK_TYPE] = ...
126
126
  reload_schema: dict[str, VolSchemaType] = ...
127
127
  state_write_requests: EntityTopicState = ...
128
- subscriptions_to_restore: list[Subscription] = ...
128
+ subscriptions_to_restore: set[Subscription] = ...
129
129
  tags: dict[str, dict[str, MQTTTagScanner]] = ...
130
130
  def __init__(self, client, config, debug_info_entities, debug_info_triggers, device_triggers, data_config_flow_lock, discovery_already_discovered, discovery_pending_discovered, discovery_registry_hooks, discovery_unsubscribe, integration_unsubscribe, last_discovery, platforms_loaded, reload_dispatchers, reload_handlers, reload_schema, state_write_requests, subscriptions_to_restore, tags) -> None: ...
131
131
 
@@ -96,6 +96,7 @@ def _selector_serializer(schema: Any) -> Any: ...
96
96
 
97
97
  class ScriptTool(Tool):
98
98
  name: Incomplete
99
+ _entity_id: Incomplete
99
100
  parameters: Incomplete
100
101
  description: Incomplete
101
102
  def __init__(self, hass: HomeAssistant, script_entity_id: str) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: homeassistant-stubs
3
- Version: 2024.7.3
3
+ Version: 2024.7.4
4
4
  Summary: PEP 484 typing stubs for Home Assistant Core
5
5
  Home-page: https://github.com/KapJI/homeassistant-stubs
6
6
  License: MIT
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Topic :: Software Development
18
18
  Classifier: Typing :: Typed
19
- Requires-Dist: homeassistant (==2024.7.3)
19
+ Requires-Dist: homeassistant (==2024.7.4)
20
20
  Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
21
21
  Project-URL: Repository, https://github.com/KapJI/homeassistant-stubs
22
22
  Project-URL: Release Notes, https://github.com/KapJI/homeassistant-stubs/releases
@@ -1819,7 +1819,7 @@ homeassistant-stubs/components/mqtt/async_client.pyi,sha256=FQ4fFNx21J1UxgvWG3A0
1819
1819
  homeassistant-stubs/components/mqtt/binary_sensor.pyi,sha256=NyKWfyeBeI8pMtBqEr_RI5A7dsE4tLrlFXlstd3zwcw,3032
1820
1820
  homeassistant-stubs/components/mqtt/button.pyi,sha256=nJZOzm9Mcak-8TOyS8f0rmqpAdF3KB_uB8hu5I6H8T8,1901
1821
1821
  homeassistant-stubs/components/mqtt/camera.pyi,sha256=B1Fr4m8_PF7NaSfxyGU07yAfmFqrzcT1MSJImw2mJ3Y,2028
1822
- homeassistant-stubs/components/mqtt/client.pyi,sha256=Za5Ggvn86a2hEqwZpUzSnAt-PP81Gy-vPm1SkoZNly0,9884
1822
+ homeassistant-stubs/components/mqtt/client.pyi,sha256=ea9uiTfO7KBN7HqZ0BxMQ8F_zSbkVt-HGzWClfhs6_k,9882
1823
1823
  homeassistant-stubs/components/mqtt/climate.pyi,sha256=rUvxh0hu2ECqD-Nld8D7zEZGypByB7yrshu_QGZ75aU,8523
1824
1824
  homeassistant-stubs/components/mqtt/config.pyi,sha256=ZzcogEgaXfMFwZIYMPiIpTSMnuMKx6Xsvv30vbB8iXw,721
1825
1825
  homeassistant-stubs/components/mqtt/config_flow.pyi,sha256=Ba0IozITsckpJY_1gezkqo3hfyILbkmI9CGiOb5X-y0,5365
@@ -1844,7 +1844,7 @@ homeassistant-stubs/components/mqtt/light/schema_json.pyi,sha256=vd6CrZXlNuz5LiP
1844
1844
  homeassistant-stubs/components/mqtt/light/schema_template.pyi,sha256=7qVliwHK78jym8m3Cxki8Aztng3ymkoyE7yjbUUT-L8,3555
1845
1845
  homeassistant-stubs/components/mqtt/lock.pyi,sha256=gCV6Q-UfRtTtJg3X16htAhbFOO8GZfpy02Vv3lygvnc,3596
1846
1846
  homeassistant-stubs/components/mqtt/mixins.pyi,sha256=R9jrDka_agvmlD3t4QDIBCt1wY0r92p-c42neAhov4U,13573
1847
- homeassistant-stubs/components/mqtt/models.pyi,sha256=SoYUDZ8C0O7kX_vzGUWtzhzYXJvO8IFhT9YDoHkD5Oc,6039
1847
+ homeassistant-stubs/components/mqtt/models.pyi,sha256=lPiG9LdR9-ySwHS3lEqtVDJmAeVF8qDnRIoXKM7tp0o,6038
1848
1848
  homeassistant-stubs/components/mqtt/notify.pyi,sha256=gHJYA4TgHbJZt3TVIZ-7mfdd3IKys-6dKLQcHMbSsaY,1774
1849
1849
  homeassistant-stubs/components/mqtt/number.pyi,sha256=uzIAAkkhXdA6WZOc3nywwHqKEHzmPxr19RhU7VWdSTI,3151
1850
1850
  homeassistant-stubs/components/mqtt/scene.pyi,sha256=-MJ7K1ILn8WJey50udZhxsx99BA_k51fVQJ5UlnF6O8,1650
@@ -3345,7 +3345,7 @@ homeassistant-stubs/helpers/intent.pyi,sha256=I_6DMw_urO5uMNtGBOGkA4udNdjFJO4Yvp
3345
3345
  homeassistant-stubs/helpers/issue_registry.pyi,sha256=-nFO9SpW-rNL8DusXkjktFMFpN2PwdQpGPBQM36ecDo,4115
3346
3346
  homeassistant-stubs/helpers/json.pyi,sha256=tCdDyP3NYTF3Jb6cASWYnepzie6YLlD0ikMPW7wevKQ,1452
3347
3347
  homeassistant-stubs/helpers/label_registry.pyi,sha256=fDg71PDb5lXKPPZZ0c85retuA53X_YWvkdNlHW1tVI8,2846
3348
- homeassistant-stubs/helpers/llm.pyi,sha256=xp2RYLQrkQ0fa23gImczv5aKTIJuLs_VIypN3PrXPbI,4890
3348
+ homeassistant-stubs/helpers/llm.pyi,sha256=lGZOMlGGQQae3okS4lE_bP8k4z3qIqBvouGIs2fp5HU,4917
3349
3349
  homeassistant-stubs/helpers/location.pyi,sha256=ynZlBZv3LuyphX4B28y2n2V4IHtJ6ETkUnqOlSYM1FM,655
3350
3350
  homeassistant-stubs/helpers/network.pyi,sha256=34Qq5-Y8aevzqp_21b7L2Woqn-8dOunSTm7uML0_ty0,1773
3351
3351
  homeassistant-stubs/helpers/normalized_name_base_registry.pyi,sha256=LoqQgtUt36e2EvYZisNHOydbZWGIRRSsuGNA01agMVg,704
@@ -3431,7 +3431,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=uQjW0KuME-gXVWgYJLNLoRDwDzVhhhgg
3431
3431
  homeassistant-stubs/util/yaml/input.pyi,sha256=wuxpKYTXZL4MujFhqjHnRLv4VPYY6QPYd-Zji-Lz9Mo,383
3432
3432
  homeassistant-stubs/util/yaml/loader.pyi,sha256=RTT2312P0TB9bA-rj3xdQK_J6sqVQE4LBJozgLH3oao,4621
3433
3433
  homeassistant-stubs/util/yaml/objects.pyi,sha256=YUlr0nf9ugzJT9J2YHaGV2fXu5opuyNvvHPqNW46m5I,707
3434
- homeassistant_stubs-2024.7.3.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3435
- homeassistant_stubs-2024.7.3.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3436
- homeassistant_stubs-2024.7.3.dist-info/METADATA,sha256=sAKEHvHVmyrJ9pr9LfGa9fl9-t5AE0vfbeJHpEIg_hc,3011
3437
- homeassistant_stubs-2024.7.3.dist-info/RECORD,,
3434
+ homeassistant_stubs-2024.7.4.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
3435
+ homeassistant_stubs-2024.7.4.dist-info/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
3436
+ homeassistant_stubs-2024.7.4.dist-info/METADATA,sha256=DePZbO5hxtlaE_J2BoDdYASbVGw8FrbV8tnrk8hxAsM,3011
3437
+ homeassistant_stubs-2024.7.4.dist-info/RECORD,,