From 0c52b143ae22f79e57f1c3a6b98d1276b7ba401a Mon Sep 17 00:00:00 2001 From: hexxter Date: Wed, 11 Nov 2015 12:38:10 +0100 Subject: [PATCH] now saved --- tests/components/light/test_mqtt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/components/light/test_mqtt.py b/tests/components/light/test_mqtt.py index d1678f8cee1..cb7b0a97f8e 100644 --- a/tests/components/light/test_mqtt.py +++ b/tests/components/light/test_mqtt.py @@ -106,7 +106,9 @@ class TestLightMQTT(unittest.TestCase): light_state.attributes['brightness']) self.assertEqual([0, 0], light_state.attributes['xy_color']) - xy = color_util.color_RGB_to_xy(125,125,125) + + xy = color_util.color_RGB_to_xy(125,125,125) + fire_mqtt_message(self.hass, 'test_light_rgb/rgb/status', '125,125,125') self.hass.pool.block_till_done()