Rename CoverDevice to CoverEntity (#34595)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-04-25 18:07:15 +02:00
1 parent 6f7f5b4034
commit 8c5c963b96
53 files changed
+139 -116

No files matched your search

@@ -16,7 +16,7 @@ from homeassistant.components.cover import (
SUPPORT_CLOSE,
SUPPORT_OPEN,
SUPPORT_SET_POSITION,
CoverDevice,
CoverEntity,
)
from homeassistant.const import ATTR_BATTERY_LEVEL
@@ -61,7 +61,7 @@ def get_capabilities(capabilities: Sequence[str]) -> Optional[Sequence[str]]:
return None
class SmartThingsCover(SmartThingsEntity, CoverDevice):
class SmartThingsCover(SmartThingsEntity, CoverEntity):
"""Define a SmartThings cover."""
def __init__(self, device):