mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
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:
committed by
Paulus Schoutsen
parent
e20fd3b973
commit
f494c32866
@@ -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