mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Patch Z-Wave platforms in humidifier tests (#141732)
This commit is contained in:
parent
b15fa81a44
commit
2549e2cc0f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user