Bug fixes related to entity_ids being lowercase

This commit is contained in:
Paulus Schoutsen committed 2015-02-08 22:18:54 -08:00
1 parent f5084a5f70
commit ce39a6fb18
5 files changed
+81 -52

No files matched your search

+2 -2
View File
@@ -39,11 +39,11 @@ class TestComponentsCore(unittest.TestCase):
call = ha.ServiceCall('light', 'turn_on',
{ATTR_ENTITY_ID: 'light.Bowl'})
self.assertEqual(['light.Bowl'],
self.assertEqual(['light.bowl'],
extract_entity_ids(self.hass, call))
call = ha.ServiceCall('light', 'turn_on',
{ATTR_ENTITY_ID: 'group.test'})
self.assertEqual(['light.Ceiling', 'light.Kitchen'],
self.assertEqual(['light.ceiling', 'light.kitchen'],
extract_entity_ids(self.hass, call))