mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Patch Z-Wave platforms in fan tests (#141591)
This commit is contained in:
parent
51db140aed
commit
52f7bdeb5d
@ -29,12 +29,19 @@ from homeassistant.const import (
|
|||||||
STATE_ON,
|
STATE_ON,
|
||||||
STATE_UNAVAILABLE,
|
STATE_UNAVAILABLE,
|
||||||
STATE_UNKNOWN,
|
STATE_UNKNOWN,
|
||||||
|
Platform,
|
||||||
)
|
)
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.exceptions import HomeAssistantError
|
from homeassistant.exceptions import HomeAssistantError
|
||||||
from homeassistant.helpers import entity_registry as er
|
from homeassistant.helpers import entity_registry as er
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def platforms() -> list[str]:
|
||||||
|
"""Fixture to specify platforms to test."""
|
||||||
|
return [Platform.FAN]
|
||||||
|
|
||||||
|
|
||||||
async def test_generic_fan(
|
async def test_generic_fan(
|
||||||
hass: HomeAssistant, client, fan_generic, integration
|
hass: HomeAssistant, client, fan_generic, integration
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user