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:
parent
0bf8bb62ad
commit
d2d393feb5
4 changed files with 15 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue