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

@ -1,6 +1,6 @@
"""Support for MySensors covers."""
from homeassistant.components import mysensors
from homeassistant.components.cover import ATTR_POSITION, DOMAIN, CoverDevice
from homeassistant.components.cover import ATTR_POSITION, DOMAIN, CoverEntity
from homeassistant.const import STATE_OFF, STATE_ON
@ -15,7 +15,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
)
class MySensorsCover(mysensors.device.MySensorsEntity, CoverDevice):
class MySensorsCover(mysensors.device.MySensorsEntity, CoverEntity):
"""Representation of the value of a MySensors Cover child node."""
@property