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

+2 -2
View File
@@ -17,7 +17,7 @@ from homeassistant.components.cover import (
SUPPORT_SET_TILT_POSITION,
SUPPORT_STOP,
SUPPORT_STOP_TILT,
CoverDevice,
CoverEntity,
)
from homeassistant.const import (
CONF_DEVICE_CLASS,
@@ -161,7 +161,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
async_add_entities(covers)
class CoverTemplate(CoverDevice):
class CoverTemplate(CoverEntity):
"""Representation of a Template cover."""
def __init__(