Small fix to be able to use mac and vendor in "device_tracker_new_device" event. (#10537)
* Small fix to be able to use mac and vendor in EVENT_NEW_DEVICE event * Missed device_tracker test
This commit is contained in:
1 parent
e20fd3b973
commit
f494c32866
2 files changed
+10
-5
No files matched your search
@@ -481,6 +481,8 @@ class TestComponentsDeviceTracker(unittest.TestCase):
|
||||
assert test_events[0].data == {
|
||||
'entity_id': 'device_tracker.hello',
|
||||
'host_name': 'hello',
|
||||
'mac': 'MAC_1',
|
||||
'vendor': 'unknown',
|
||||
}
|
||||
|
||||
# pylint: disable=invalid-name
|
||||
|
||||
Reference in new issue
Block a user