Patch Z-Wave platforms in cover tests (#141205)

pull/141208/head
Martin Hjelmare 2025-03-23 14:35:29 +01:00 committed by GitHub
parent c7d1e5a28c
commit 588d6ad4cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,7 @@
import logging
import pytest
from zwave_js_server.const import (
CURRENT_STATE_PROPERTY,
CURRENT_VALUE_PROPERTY,
@ -35,6 +36,7 @@ from homeassistant.const import (
ATTR_ENTITY_ID,
ATTR_SUPPORTED_FEATURES,
STATE_UNKNOWN,
Platform,
)
from homeassistant.core import HomeAssistant
@ -50,6 +52,12 @@ FIBARO_FGR_223_SHUTTER_COVER_ENTITY = "cover.fgr_223_test_cover"
LOGGER.setLevel(logging.DEBUG)
@pytest.fixture
def platforms() -> list[str]:
"""Fixture to specify platforms to test."""
return [Platform.COVER]
async def test_window_cover(
hass: HomeAssistant, client, chain_actuator_zws12, integration
) -> None: