Add automations and scripts to group.all_automations and group.all_scripts (#3664)
* Add automations to group.all_automations * Add scripts to group.all_scripts
This commit is contained in:
1 parent
0bf8bb62ad
commit
d2d393feb5
4 files changed
+15
-2
No files matched your search
@@ -82,6 +82,10 @@ class TestScriptComponent(unittest.TestCase):
|
||||
self.hass.block_till_done()
|
||||
self.assertEqual(0, len(events))
|
||||
|
||||
state = self.hass.states.get('group.all_scripts')
|
||||
assert state is not None
|
||||
assert state.attributes.get('entity_id') == (ENTITY_ID,)
|
||||
|
||||
def test_toggle_service(self):
|
||||
"""Test the toggling of a service."""
|
||||
event = 'test_event'
|
||||
|
||||
Reference in new issue
Block a user