Migrate light component to async (#4635)

This commit is contained in:
Pascal Vizeli 2016-11-30 22:33:38 +01:00 committed by Paulus Schoutsen
parent 4c03d670c1
commit bde7176b3c
11 changed files with 99 additions and 88 deletions

View file

@ -271,8 +271,7 @@ class TestLight(unittest.TestCase):
user_file.write('I,WILL,NOT,WORK\n')
self.assertFalse(setup_component(
self.hass, light.DOMAIN, {light.DOMAIN: {CONF_PLATFORM: 'test'}}
))
self.hass, light.DOMAIN, {light.DOMAIN: {CONF_PLATFORM: 'test'}}))
def test_light_profiles(self):
"""Test light profiles."""