Rename CoverDevice to CoverEntity (#34595)
This commit is contained in:
1 parent
6f7f5b4034
commit
8c5c963b96
53 files changed
+139
-116
No files matched your search
@@ -27,7 +27,7 @@ from homeassistant.components.cover import (
|
||||
SUPPORT_SET_TILT_POSITION,
|
||||
SUPPORT_STOP,
|
||||
SUPPORT_STOP_TILT,
|
||||
CoverDevice,
|
||||
CoverEntity,
|
||||
)
|
||||
from homeassistant.const import (
|
||||
ATTR_ASSUMED_STATE,
|
||||
@@ -66,7 +66,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
||||
async_add_entities([CoverGroup(config[CONF_NAME], config[CONF_ENTITIES])])
|
||||
|
||||
|
||||
class CoverGroup(CoverDevice):
|
||||
class CoverGroup(CoverEntity):
|
||||
"""Representation of a CoverGroup."""
|
||||
|
||||
def __init__(self, name, entities):
|
||||
|
||||
Reference in new issue
Block a user