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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 82 additions and 57 deletions

View file

@ -3,7 +3,7 @@ import logging
import voluptuous as vol
from homeassistant.components.lock import DOMAIN, LockDevice
from homeassistant.components.lock import DOMAIN, LockEntity
from homeassistant.core import callback
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.dispatcher import async_dispatcher_connect
@ -239,7 +239,7 @@ def get_device(node, values, **kwargs):
return ZwaveLock(values)
class ZwaveLock(ZWaveDeviceEntity, LockDevice):
class ZwaveLock(ZWaveDeviceEntity, LockEntity):
"""Representation of a Z-Wave Lock."""
def __init__(self, values):