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