Add support for USB dongles to the hardware integration (#76795)
* Add support for USB dongles to the hardware integration * Update hardware integrations * Adjust tests * Add USB discovery for SkyConnect 1.0 * Improve test coverage * Apply suggestions from code review Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Fix frozen dataclass shizzle * Adjust test Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
fb5a67fb1f
commit
bb74730e96
23 changed files with 581 additions and 28 deletions
14
tests/components/homeassistant_sky_connect/conftest.py
Normal file
14
tests/components/homeassistant_sky_connect/conftest.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
"""Test fixtures for the Home Assistant Sky Connect integration."""
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_zha():
|
||||
"""Mock the zha integration."""
|
||||
with patch(
|
||||
"homeassistant.components.zha.async_setup_entry",
|
||||
return_value=True,
|
||||
):
|
||||
yield
|
Loading…
Add table
Add a link
Reference in a new issue