Patch Z-Wave platforms in cover tests (#141205)
parent
c7d1e5a28c
commit
588d6ad4cf
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue