Allow groups to be used as views
This commit is contained in:
parent
e541b9ba77
commit
f6c53896e3
10 changed files with 256 additions and 67 deletions
|
@ -74,7 +74,7 @@ class TestServiceHelpers(unittest.TestCase):
|
|||
self.hass.states.set('light.Ceiling', STATE_OFF)
|
||||
self.hass.states.set('light.Kitchen', STATE_OFF)
|
||||
|
||||
loader.get_component('group').setup_group(
|
||||
loader.get_component('group').Group(
|
||||
self.hass, 'test', ['light.Ceiling', 'light.Kitchen'])
|
||||
|
||||
call = ha.ServiceCall('light', 'turn_on',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue