Patch Z-Wave platforms in fan tests (#141591)

This commit is contained in:
Martin Hjelmare 2025-03-27 20:40:39 +01:00 committed by GitHub
parent 51db140aed
commit 52f7bdeb5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: