Patch Z-Wave platforms in api tests (#140988)

This commit is contained in:
Martin Hjelmare 2025-03-20 12:54:40 +01:00 committed by GitHub
parent d8a4a97ee0
commit df0125abdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,6 +103,12 @@ from tests.typing import ClientSessionGenerator, WebSocketGenerator
CONTROLLER_PATCH_PREFIX = "zwave_js_server.model.controller.Controller"
@pytest.fixture
def platforms() -> list[str]:
"""Fixture to specify platforms to test."""
return []
def get_device(hass: HomeAssistant, node):
"""Get device ID for a node."""
dev_reg = dr.async_get(hass)