Remove str from cover device class (#83396)
* Remove str from cover device class * Fix tests
This commit is contained in:
parent
ba0d6fe611
commit
c507ad86d1
6 changed files with 15 additions and 18 deletions
|
@ -99,7 +99,7 @@ class NetatmoCover(NetatmoBase, CoverEntity):
|
|||
await self._cover.async_set_target_position(kwargs[ATTR_POSITION])
|
||||
|
||||
@property
|
||||
def device_class(self) -> str:
|
||||
def device_class(self) -> CoverDeviceClass:
|
||||
"""Return the device class."""
|
||||
return CoverDeviceClass.SHUTTER
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue