Restore history from bluetooth stack at startup (#78612)
This commit is contained in:
parent
13d3f4c3b2
commit
18eef5da1f
16 changed files with 151 additions and 55 deletions
|
@ -991,6 +991,8 @@ def mock_bluetooth_adapters():
|
|||
"""Fixture to mock bluetooth adapters."""
|
||||
with patch(
|
||||
"homeassistant.components.bluetooth.util.platform.system", return_value="Linux"
|
||||
), patch(
|
||||
"bluetooth_adapters.BlueZDBusObjects", return_value=MagicMock(load=AsyncMock())
|
||||
), patch(
|
||||
"bluetooth_adapters.get_bluetooth_adapter_details",
|
||||
return_value={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue