1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-25 06:07:17 +00:00

5 Commits

Author SHA1 Message Date
Jan Bouwhuis
1cb9690001
Cleanup unused hass_storage mocks in mqtt tests () 2024-08-29 10:52:57 +02:00
Jan Bouwhuis
b74aced6f3
Subscribe per component for MQTT discovery ()
* Subscribe per component for MQTT discovery

* Use single assignment

* Handle wildcard subscriptions first

* Split subsRecription handling, update helper

* Fix help_all_subscribe_calls

* Fix import

* Fix test

* Update import order

* Undo move self._last_subscribe

* Recover removed test

* Revert not needed changes to binary_sensor platform tests

* Revert line removal

* Rework interation of discovery topics

* Reduce

* Add comment

* Move comment

* Chain subscriptions
2024-08-20 17:02:48 +02:00
Jan Bouwhuis
21987a67e7
Cleanup unneeded assignment of hass property on MQTT Template objects ()
* Cleanup unneeded assignment of hass property on MQTT Template objects

* Commented out code and unneeded checks

* Consistent assign hass to Template in mqtt tests

* Remove unused hass attribute

* Missed line
2024-08-12 19:20:21 +02:00
J. Nick Koston
8f98fb2ec4
Fix publish cancellation handling in MQTT () 2024-06-29 11:06:56 -05:00
Jan Bouwhuis
f3c76cd698
Split mqtt client tests () 2024-06-27 19:37:43 +02:00