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
@@ -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__(
|
||||
|
||||
Reference in new issue
Block a user