Axis devices support device registry (#22367)
* Add support for device registry * Fix test
This commit is contained in:
1 parent
646c4a7137
commit
52437f6246
5 files changed
+44
-1
No files matched your search
@@ -53,6 +53,7 @@ async def test_setup_entry(hass):
|
||||
|
||||
mock_device = Mock()
|
||||
mock_device.async_setup.return_value = mock_coro(True)
|
||||
mock_device.async_update_device_registry.return_value = mock_coro(True)
|
||||
mock_device.serial.return_value = '1'
|
||||
|
||||
with patch.object(axis, 'AxisNetworkDevice') as mock_device_class, \
|
||||
|
||||
Reference in new issue
Block a user