Patch Z-Wave platforms in humidifier tests (#141732)

This commit is contained in:
Martin Hjelmare 2025-03-29 15:59:13 +01:00 committed by GitHub
parent b15fa81a44
commit 2549e2cc0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
"""Test the Z-Wave JS humidifier platform."""
import pytest
from zwave_js_server.const import CommandClass
from zwave_js_server.const.command_class.humidity_control import HumidityControlMode
from zwave_js_server.event import Event
@ -22,12 +23,19 @@ from homeassistant.const import (
STATE_OFF,
STATE_ON,
STATE_UNKNOWN,
Platform,
)
from homeassistant.core import HomeAssistant
from .common import DEHUMIDIFIER_ADC_T3000_ENTITY, HUMIDIFIER_ADC_T3000_ENTITY
@pytest.fixture
def platforms() -> list[str]:
"""Fixture to specify platforms to test."""
return [Platform.HUMIDIFIER]
async def test_humidifier(
hass: HomeAssistant, client, climate_adc_t3000, integration
) -> None: