mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +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."""
|
"""Test the Z-Wave JS humidifier platform."""
|
||||||
|
|
||||||
|
import pytest
|
||||||
from zwave_js_server.const import CommandClass
|
from zwave_js_server.const import CommandClass
|
||||||
from zwave_js_server.const.command_class.humidity_control import HumidityControlMode
|
from zwave_js_server.const.command_class.humidity_control import HumidityControlMode
|
||||||
from zwave_js_server.event import Event
|
from zwave_js_server.event import Event
|
||||||
@ -22,12 +23,19 @@ from homeassistant.const import (
|
|||||||
STATE_OFF,
|
STATE_OFF,
|
||||||
STATE_ON,
|
STATE_ON,
|
||||||
STATE_UNKNOWN,
|
STATE_UNKNOWN,
|
||||||
|
Platform,
|
||||||
)
|
)
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
|
|
||||||
from .common import DEHUMIDIFIER_ADC_T3000_ENTITY, HUMIDIFIER_ADC_T3000_ENTITY
|
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(
|
async def test_humidifier(
|
||||||
hass: HomeAssistant, client, climate_adc_t3000, integration
|
hass: HomeAssistant, client, climate_adc_t3000, integration
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user