mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Clean up device update, add via-hub (#16659)
* Clean up device update, add via-hub * Test loading/saving data * Lint * Add to Hue" * Lint + tests
This commit is contained in:
@@ -182,7 +182,7 @@ async def test_config_passed_to_config_entry(hass):
|
||||
|
||||
assert len(mock_registry.mock_calls) == 1
|
||||
assert mock_registry.mock_calls[0][2] == {
|
||||
'config_entry': entry.entry_id,
|
||||
'config_entry_id': entry.entry_id,
|
||||
'connections': {
|
||||
('mac', 'mock-mac')
|
||||
},
|
||||
@@ -192,7 +192,7 @@ async def test_config_passed_to_config_entry(hass):
|
||||
'manufacturer': 'Signify',
|
||||
'name': 'mock-name',
|
||||
'model': 'mock-modelid',
|
||||
'sw_version': 'mock-swversion'
|
||||
'sw_version': 'mock-swversion',
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user