Rename CoverDevice to CoverEntity (#34595)

This commit is contained in:
Erik Montnemery 2020-04-25 18:07:15 +02:00 committed by GitHub
parent 6f7f5b4034
commit 8c5c963b96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 139 additions and 116 deletions

View file

@ -8,7 +8,7 @@ from homeassistant.components.cover import (
PLATFORM_SCHEMA,
SUPPORT_CLOSE,
SUPPORT_OPEN,
CoverDevice,
CoverEntity,
)
from homeassistant.const import (
CONF_PASSWORD,
@ -59,7 +59,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
)
class AladdinDevice(CoverDevice):
class AladdinDevice(CoverEntity):
"""Representation of Aladdin Connect cover."""
def __init__(self, acc, device):