Event automation fuzzy matches on data
This commit is contained in:
parent
6c1f44242c
commit
9019d654d7
2 changed files with 5 additions and 3 deletions
|
@ -98,7 +98,8 @@ class TestAutomationEvent(unittest.TestCase):
|
|||
}
|
||||
}))
|
||||
|
||||
self.hass.bus.fire('test_event', {'some_attr': 'some_value'})
|
||||
self.hass.bus.fire('test_event', {'some_attr': 'some_value',
|
||||
'another': 'value'})
|
||||
self.hass.pool.block_till_done()
|
||||
self.assertEqual(1, len(self.calls))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue