Erik Montnemery
4e49bd0596
Correct handling of existing MQTT subscriptions ( #43056 )
2020-11-10 21:55:26 +01:00
Tim Werner
e5aa5e2c35
rewrite mqtt unittest tests to pytest style ( #42122 )
2020-10-20 16:35:49 +02:00
Erik Montnemery
280f49540e
Drop use of async_mock_mqtt_component ( #37011 )
2020-06-22 23:59:50 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Erik Montnemery
a89c7f8feb
Improve MQTT tests ( #23296 )
...
* Improve MQTT tests
* Tweak
2019-04-22 08:48:50 -04:00
Erik Montnemery
2c42e1a5cb
Drop unnecessary block_till_done for MQTT tests ( #23254 )
...
* Drop unnecessary block_till_done
* Drop unnecessary block_till_done
2019-04-19 14:59:16 -07:00
emontnemery
5957e4b75b
Pass Message object to MQTT message callbacks ( #21959 )
...
* Pass Message object to MQTT message callbacks
* Improve method of detecting deprecated msg callback
* Fix mysensors
* Fixup
* Review comments
* Fix merge error
2019-03-13 12:58:20 -07:00
emontnemery
648adcc708
Small cleanup of MQTT platforms ( #20503 )
...
* Move CONF_UNIQUE_ID to init
* Sort imports
* Update ordering
2019-01-27 18:54:52 +01:00
emontnemery
368682647d
Log exceptions thrown by MQTT message callbacks ( #19977 )
...
* Log exceptions thrown by MQTT message callbacks
* Fix tests
* Correct method for skipping wrapper in traceback
* Lint
* Simplify traceback print
* Add test
* Move wrapper to common helper function
* Typing
* Lint
2019-01-16 13:50:21 -08:00
emontnemery
de9bac9ee3
Reconfigure MQTT binary_sensor component if discovery info is changed ( #18169 )
...
* Recreate component if discovery info is changed
* Update component instead of remove+add
* Set name and unique_id in __init__
* Update unit test
* Cleanup
* More cleanup
* Refactor according to review comments
* Change discovery_hash
* Review comments, add tests
* Fix handling of value_template
2018-11-19 16:49:04 +01:00