Files
core/tests/components
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
..
2018-05-29 23:14:58 +02:00
2018-06-13 11:14:52 -04:00
2017-11-05 13:51:52 +01:00
2018-05-01 18:20:41 +02:00
2018-04-12 14:28:54 +02:00
2018-04-18 15:46:44 -04:00
2018-06-03 23:01:48 +02:00
2016-03-09 10:25:50 +01:00
2018-01-29 23:37:19 +01:00
2018-01-27 11:58:27 -08:00
2017-09-24 15:48:45 -07:00
2018-06-14 11:57:09 -04:00
2018-01-29 23:37:19 +01:00
2018-03-30 21:33:30 +02:00
2018-06-07 15:58:54 +02:00
2017-10-27 10:15:47 +02:00
2018-06-01 10:06:17 -04:00
2018-01-29 23:37:19 +01:00
2018-02-17 10:29:14 +01:00
2017-03-30 00:50:53 -07:00
2018-05-14 09:13:59 +02:00
2018-04-13 00:22:52 +02:00
2018-01-05 16:34:03 -08:00