mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Patch Z-Wave platforms in event tests (#141209)
This commit is contained in:
parent
703848766a
commit
fdaba003ce
@ -3,11 +3,12 @@
|
||||
from datetime import timedelta
|
||||
|
||||
from freezegun import freeze_time
|
||||
import pytest
|
||||
from zwave_js_server.event import Event
|
||||
|
||||
from homeassistant.components.event import ATTR_EVENT_TYPE
|
||||
from homeassistant.components.zwave_js.const import ATTR_VALUE
|
||||
from homeassistant.const import STATE_UNKNOWN
|
||||
from homeassistant.const import STATE_UNKNOWN, Platform
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
@ -15,6 +16,12 @@ BASIC_EVENT_VALUE_ENTITY = "event.honeywell_in_wall_smart_fan_control_event_valu
|
||||
CENTRAL_SCENE_ENTITY = "event.node_51_scene_002"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def platforms() -> list[str]:
|
||||
"""Fixture to specify platforms to test."""
|
||||
return [Platform.EVENT]
|
||||
|
||||
|
||||
async def test_basic(
|
||||
hass: HomeAssistant, client, fan_honeywell_39358, integration
|
||||
) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user