mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Fix UniFi Protect test warning (#64650)
This commit is contained in:
parent
3899600771
commit
8fb4e0934e
@ -51,6 +51,10 @@ class MockBootstrap:
|
||||
self.liveviews = {}
|
||||
self.events = {}
|
||||
|
||||
def process_ws_packet(self, msg: WSSubscriptionMessage) -> None:
|
||||
"""Fake process method for tests."""
|
||||
pass
|
||||
|
||||
|
||||
@dataclass
|
||||
class MockEntityFixture:
|
||||
|
@ -40,6 +40,7 @@ from .conftest import (
|
||||
assert_entity_counts,
|
||||
enable_entity,
|
||||
ids_from_device_description,
|
||||
time_changed,
|
||||
)
|
||||
|
||||
|
||||
@ -569,3 +570,4 @@ async def test_sensor_update_alarm(
|
||||
state = hass.states.get(entity_id)
|
||||
assert state
|
||||
assert state.state == "smoke"
|
||||
await time_changed(hass, 10)
|
||||
|
Loading…
x
Reference in New Issue
Block a user