mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Restore history from bluetooth stack at startup (#78612)
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user