Rename LockDevice to LockEntity (#34594)
This commit is contained in:
1 parent
62bc02fdda
commit
b30d117e7d
30 files changed
+82
-57
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user