Commit graph

4 commits

Author SHA1 Message Date
Jan Harkes
8cca2bb344 Config validation for MQTT 2016-04-06 22:51:38 -04:00
Jan Harkes
9ce2081110 Coerce ascii flags in MQTT publish service call.
Also fixes a bug where the test when no payload is given succeeds only

because we run the jinja templating out of memory. Sending an empty

payload instead of trying to fix it through validation for now.
2016-04-03 00:54:05 -07:00
Jan Harkes
5c753f8ffd Service validation for MQTT component.
* Service validation for MQTT component.

* Fixes for failing mqtt tests.

- Changed behaviour when both 'payload' and 'payload_template' are provided
  instead of silently ignoring the payload_template value.
- Have validation accept any type of payload and leave encoding to paho-mqtt.
2016-04-02 08:46:09 -07:00
Paulus Schoutsen
8386bda4e4 MQTT: Start embedded server if no config given 2016-03-12 21:42:47 -08:00
Renamed from tests/components/test_mqtt.py (Browse further)