core/homeassistant/components/mqtt
dreizehnelf 73034c933e Add discovery support to mqtt climate component. (#15085)
* Add discovery support to mqtt climate component.

* - Fix flake8 error (./homeassistant/components/climate/mqtt.py:130:1: D202 No blank lines allowed after function docstring)
- Fix test error (since climate component was expected not to work - changed it to "lock" component, which also does not have MQTT discovery support yet)

* Fix old assert statement to reflect new lock component usage

* Change invalid MQTT discovery component type from 'lock' to 'timer', since contrary to the documentation the lock component is properly supported when using MQTT discovery.

* Make configuration of invalid MQTT config component a single point of entry to prevent missing the assertion later in the code when changing.

* Add new testcases to cover not-yet-covered code paths in https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/climate/mqtt.py
2018-06-25 15:13:19 +02:00
..
__init__.py Improve MQTT topic validation (#14099) 2018-04-27 13:15:45 +02:00
addtrustexternalcaroot.crt
discovery.py Add discovery support to mqtt climate component. (#15085) 2018-06-25 15:13:19 +02:00
server.py fix(hbmqtt): partial packets breaking hbmqtt (#14329) 2018-05-07 09:52:33 -04:00
services.yaml