1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-27 12:14:35 +01:00

Rename LockDevice to LockEntity (#34594)

This commit is contained in:
Erik Montnemery
2020-04-25 18:02:41 +02:00
committed by GitHub
parent 62bc02fdda
commit b30d117e7d
30 changed files with 82 additions and 57 deletions

View File

@@ -3,7 +3,7 @@ Provide a mock lock platform.
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.lock import SUPPORT_OPEN, LockDevice
from homeassistant.components.lock import SUPPORT_OPEN, LockEntity
from tests.common import MockEntity
@@ -41,7 +41,7 @@ async def async_setup_platform(
async_add_entities_callback(list(ENTITIES.values()))
class MockLock(MockEntity, LockDevice):
class MockLock(MockEntity, LockEntity):
"""Mock Lock class."""
@property