Patch Z-Wave platforms in climate tests (#141204)

This commit is contained in:
Martin Hjelmare 2025-03-23 14:15:09 +01:00 committed by GitHub
parent 798ee60ae5
commit 34504f45a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,7 @@ from homeassistant.const import (
ATTR_TEMPERATURE,
SERVICE_TURN_OFF,
SERVICE_TURN_ON,
Platform,
)
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ServiceValidationError
@ -56,6 +57,12 @@ from .common import (
)
@pytest.fixture
def platforms() -> list[str]:
"""Fixture to specify platforms to test."""
return [Platform.CLIMATE]
async def test_thermostat_v2(
hass: HomeAssistant,
client,