mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Merge pull request #405 from balloob/automation-event
Event automation fuzzy matches on data
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user